给BUTTON定义个变量,想怎么改就怎么改了。
解决方案 »
- 如何获得当前窗口上的控件列表以及控件类型?
- 菜鸟的问题
- 请问有没有办法得到[系统托盘]上其它程序的所显示的Icon??
- 各位的一个project里面最大一般有多大呀?
- 為什麼我使用mediaplayer控件,在非UNICODE下使用正常,但在UNICODE下,create的時候會出錯呢?請各為高手幫幫我吧
- 对话框初始化时如何选中RadioButton???
- 救命!我要受不了了,关于CDatabase的ExecuteSQL问题
- 某处使用InterlockedCompareExchange原子函数,某处直接访问变量,会冲突吗?
- vc++可以开发硬件驱动程序吗?
- CDialog::DoModal()罢工了,windows系统不卖他的帐!
- 在循环里用pmyComboBox->AddString(str)给下拉框增加内容,怎么使显示不以字母排序,而是Add的顺序?
- @@@@@@@@@@@@@@@@@@很简单的问题!!!
void SetState( BOOL bHighlight );CButton::SetButtonStyle
void SetButtonStyle( UINT nStyle, BOOL bRedraw = TRUE );
是个什么鸟?
BS_AUTOCHECKBOX Same as a check box, except that a check appears in the check box when the user selects the box; the check disappears the next time the user selects the box.
BS_AUTORADIOBUTTON Same as a radio button, except that when the user selects it, the button automatically highlights itself and removes the selection from any other radio buttons with the same style in the same group.
BS_AUTO3STATE Same as a three-state check box, except that the box changes its state when the user selects it.
BS_CHECKBOX Creates a small square that has text displayed to its right (unless this style is combined with the BS_LEFTTEXT style).
BS_DEFPUSHBUTTON Creates a button that has a heavy black border. The user can select this button by pressing the ENTER key. This style enables the user to quickly select the most likely option (the default option).
BS_GROUPBOX Creates a rectangle in which other buttons can be grouped. Any text associated with this style is displayed in the rectangle’s upper-left corner.
BS_LEFTTEXT When combined with a radio-button or check-box style, the text appears on the left side of the radio button or check box.
BS_OWNERDRAW Creates an owner-drawn button. The framework calls the DrawItem member function when a visual aspect of the button has changed. This style must be set when using the CBitmapButton class.
BS_PUSHBUTTON Creates a pushbutton that posts a WM_COMMAND message to the owner window when the user selects the button.
BS_RADIOBUTTON Creates a small circle that has text displayed to its right (unless this style is combined with the BS_LEFTTEXT style). Radio buttons are usually used in groups of related but mutually exclusive choices.
BS_3STATE Same as a check box, except that the box can be dimmed as well as checked. The dimmed state typically is used to show that a check box has been disabled.
对不起,我来晚了,有时贴子看多了就找不到了,我给版主提建议添加一个可以删除我参与的问题的方法,他说的等新版本的CSDN,我也搞不清那个贴子还要看一看,下次你发个贴子喊我吧。