Advertisement

Trapping Messages

Started by May 07, 2000 06:30 AM
0 comments, last by xstreme2000 24 years, 7 months ago
Can anybody please tell me how I would trap a message (WM_PAINT) for a button on a dialog created with a resource file.
tom.oram@vodafone.net
I take it you want to draw your own buttons? There should be an owner-draw flag in the VC dialog editor (if you''re using VC), and I think a corresponding WM_DRAWITEM message to go with it. To get to the owner-draw flag, click on the button in the editor to select it, and then hit ALT+ENTER or right-click and select properties. It''s probably on the second tab. You can look up the message by typing WM_DRAWITEM into the index of the help file.


- null_pointer
Sabre Multimedia

This topic is closed to new replies.

Advertisement