Solved

WM_NCPAINT in a CDialog?

Posted on 1997-12-27
2
1,100 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 100 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
not able to insert into temp table 68 169
Named range not carried over 10 65
Doc'in system (example?) BA 7 115
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 826
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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