caption bar
-
Can i add both bitmap buttons and background color to a caption bar.As a whole can i customize the caption bar.
-
Hi, Yes you can. You can do any painting in non-client area with help of WM_NCPAINT (MFC's OnNcPaint) message. Regards
-
ya i have no doubt with adding back ground color to the title bar.But i am not able to add bitmap button to the title bar(coding).Can you help me out in this?
Instead of creating a button control, you can use
DrawFrameControl(...)
to draw a button in its various states and react to the cursor position to determine if the user is attempting to click that button. Peace!-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!)