|
-
May 17th, 1999, 12:21 PM
#1
GetButtonStyle() return incorrect values
Hi,
I'm writing a new CButton owner draw class which I can
use with push button and radio buttons / check boxes, too.
Therefor I read out the button style whith the GetButtonStyle()
function and check the flags BS_CHECKBOX and BS_RADIOBUTTON to
realize which kind of button I have to draw.
The problem now is that this function still returns the same
values for all kind of buttons (push buttons, default push buttons,
radio buttons and check buttons).
The same happens when I try to use the GetWindowLong function.
Exist there another way to check out the kind of button I have to
draw?
Hope someone can help.
Thanks in advance.
Martin Horst
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|