Solved

WM_NCPAINT in a CDialog?

Posted on 1997-12-27
2
1,105 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
Strange date stored 22 175
windows 10 how make picture as desktop background 2 66
sum67 challenge 35 116
firstChar challenge 13 133
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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