Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » how could i make a plain Button like a CExtButton? Collapse All
Subject Author Date
violet zhu Apr 7, 2005 - 3:18 AM

i create a CExtResizeableDialog from a Dialog template .there are some Buttons on it.how can i make them to be CExtButton?

Technical Support Apr 7, 2005 - 9:26 AM

One of the ways is to subclass them in OnInitDialog like as follows:

m_wndButton1.SubclassDlgItem( IDC_BUTTON1, this );