Click to See Complete Forum and Search --> : Custom Caption...


Matt Johnson
April 29th, 1999, 11:17 AM
What message do I need to trap in order to control the drawing of the caption buttons? (ie the close, minimize, maximize, etc. in a frame caption)

Thanks,
Matt Johnson

Paul McKenzie
April 29th, 1999, 01:08 PM
The one's off the top of my head:

WM_NCACTIVATE
WM_SETTEXT
WM_NCPAINT
WM_SYSCOMMAND
WM_SYSCOLORCHANGE
WM_SETTINGCHANGE

There are possibly more.

Regards,

Paul McKenzie

Matt Johnson
April 29th, 1999, 01:12 PM
WM_SYSCOMMAND was the only was I was missing. That should help a lot. Thanks.

Matt Johnson