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 Tech Support » I do not understand a setting method of a style value of CExtToolControlBar custom control well. Collapse All
Subject Author Date
tera t May 11, 2007 - 8:22 AM

Hi

I do not understand a setting method of a style value of CExtToolControlBar custom control well.

ttp://profuis0.tripod.com/20070511/WS000001_.jpg

When I make a certain program.
If I do not set 0x50002034 in control bar
Buttons were not displayed.

I ask for detailed explanation.

Thanks,

Technical Support May 13, 2007 - 1:33 PM

The window style for a custom control is a 32-bit value, which contains a set of WS_*** standard window styles and can contain a set of control specific styles. For MFC/Prof_UIS control bars, you can set CBRS_*** MFC styles. Of course, this is not convenient, but you have to compose custom control styles from several WS_*** and CBRS_*** values using Windows Calculator (calc.exe) and looking at definitions of these styles in Win32 SDK and MFC source code.

tera t May 14, 2007 - 12:02 AM

Hi

I am saved in various meanings.

Thanks,