|
-
May 11th, 1999, 09:51 PM
#1
How to control WM_COMMAND message in owner-draw button
I have a group of four owner-draw stand-alone child window buttons. The group functions as a group of radio buttons would. In my handlers for the buttons I set the state accordingly, setting the state of the selected button to TRUE and the other three to FALSE. As the message is not sent until I release the mouse button, the program draws the buttons "up" state before drawing the "down" state. Occasionally this causes noticible flicker in the button. Is there any way around this? Also, I am not familiar with applying a bitmask. Exactly how do I apply the bitmask to obtain the state of a button using CButton::GetState()?
TIA
Thomas
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
|