反了!
应该是:
sheet.m_psh.dwFlags &= ~(PSH_HASHELP);
不是:
sheet.m_psh.dwFlags ^= PSH_HASHELP;Help in CPropertySheet is supported by the F1 key and the Help button only. The Help button appears in the application framework by default. No intervention by the user is necessary. When the user adds the help information for each of the pages inside the property sheet, the help mechanism automatically displays the help for that page when the Help button is clicked.You can deactivate the Help button capability by modifying m_psh in the property sheet object as follows:mySheet.m_psh.dwFlags &= ~(PSH_HASHELP);You can activate the Help button again with the following:mySheet.m_psh.dwFlags |= PSH_HASHELP;The m_psh variable is of type PROPSHEETPAGE. The dwFlags field of m_psh determines if the Help button of the property sheet (the parent of the property page) is enabled or disabled.
应该是:
sheet.m_psh.dwFlags &= ~(PSH_HASHELP);
不是:
sheet.m_psh.dwFlags ^= PSH_HASHELP;Help in CPropertySheet is supported by the F1 key and the Help button only. The Help button appears in the application framework by default. No intervention by the user is necessary. When the user adds the help information for each of the pages inside the property sheet, the help mechanism automatically displays the help for that page when the Help button is clicked.You can deactivate the Help button capability by modifying m_psh in the property sheet object as follows:mySheet.m_psh.dwFlags &= ~(PSH_HASHELP);You can activate the Help button again with the following:mySheet.m_psh.dwFlags |= PSH_HASHELP;The m_psh variable is of type PROPSHEETPAGE. The dwFlags field of m_psh determines if the Help button of the property sheet (the parent of the property page) is enabled or disabled.
解决方案 »
- 如何屏蔽鼠标中间键???mfc
- 如何解决fatal error C1004: unexpected end of file found error C2146: syntax error : missing ';' before identifier 'WndProc'问
- 请问在拖动对象时,如何让对象跟着鼠标移动?
- 字段个数和属性不定的记录如何用数据结构来表示?
- 问关于与对话框中控件作用的问题
- USES_CONVERSION和T2OLE宏进行ANSI字符串到Unicode字符串的转换??????????
- 我用SQL做数据库,在客户安装程序的时候一定要配置SQL才可以么?
- 为什么我在DIAG上增加了一个控件,但双击它没反应,不能自动加入代码???
- 预编译文件
- 写个Dos驻留程序的请进。。。。。。。
- 菜鸟问题,如何在普通dll中导出类,在VC++中如何导入?
- 有没有从DNS来得到服务器的IP的方法?
http://codeguru.earthweb.com/propertysheet/move_standard_buttons.shtml
http://codeguru.earthweb.com/propertysheet/move_standard_buttons2.shtml
我不懂,帮你查乐查。