天天看点

VC++6.0中注释多行代码的快捷键

第一步:工具栏上右键选择Customize(自定义),选择“Add-ins and Macro Files(附加项和宏文件)”页,把SAMPLE前面打上钩。

第二步:选择“Commands(命令)”页,Category(类别)选Macros,然后在Commands中把CommentOut(注释)拖曳到工具栏快捷方式。

第三步:选择“Keyboard”tab页,还是Category选Macros,选中CommentOut,然后换到“Press new shortcut key”,设置快捷键ALT+/,如下图所示,单击分配后确认即完成设置。

继续阅读