Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i have created a dialog box using resource editor of vs 2010 using vc++.And i want to change the color of title bar of this dialog box.. i search and found it is possible using the OnNcPaint property but not find good example of this please help
Posted

1 solution

You implement OnNcPaint is a similar way you would do with OnPaint. See, for instance, this Stack Overflow question: "How to draw in the nonclient area?"[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900