|
-
April 26th, 2006, 10:21 PM
#1
ToolTip and owner draw CButtons
Hello,
I have a rather confusing question that I hope someone can give me a clue. I have tried to add tool tips to a derived Groupbox from CButton class. It would be fine if I removed the owner draw flag, then the tooltip gets through, I would get the bulloon tip, but this becomes a problem when I tried to capture the screen, then the window would draw its version of the groupbox along with mine, so the text would be overlapped, not to mention the color is different. I removed BS_OWNERDRAW in the group box's PreSubclassWindow().
I have searched google and codeguru and now I have no clue. Or can I trap the capture screen msg from windows and prevent it from drawing the default group box?
Help help.
Jiac
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
|