Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WM_NCPAINT in a CDialog?

Posted on 1997-12-27
2
Medium Priority
?
1,147 Views
Last Modified: 2013-11-20
How can I succesfully map an OnNcPaint handler to a CDialog class? All attempts at using ON_MESSAGE(WM_NCPAINT,??) and with classwizard have failed. Classwizard does not have an entry for OnNcPaint in a CDialog.

Thanks
0
Comment
Question by:dcramer
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 400 total points
ID: 1313137
You won't be able to use ClassWizard because it won't let you do that. However, you can use

  ON_WM_NCPAINT()

in your message map.

Then have a function call OnNcPaint() in your dialog class.


0
 

Author Comment

by:dcramer
ID: 1313138
Thanks.. That worked great...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa‚Ķ
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Integration Management Part 2
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question