Hello ragdog,
thank you very much for your reply and for your important help.
I went thrugh the asm code you attached and I found full reconstruction of the buttons behaviours. This is great because I can learn many things about windows controls.
In my simple code I haven't used the dialog window construction but the CreateWindowEx function for the window creation. Attached you can find the source code.
I think that there is a simplest way to obtain the white frame around the XP Style Button to be in the same color of the window background.
Looking to the MSDN I found that when an XP Style Button is being used in a window, the NM_CUSTOMDRAW notification should occurs to the parent window procedure. If this happen then many button behaviours can be controlled.
I have spent a lot of time to find out the way to obtain this notification without result.
I know that I'm making something wrong but I don't understand what.
Can you give me any help about?
Thank you in advance.
Danychip
Attached File ( Number of downloads: 60 )
Login or
Register to download