Advertisement

07.26.2007 at 05:46AM PDT, ID: 22722505
[x]
Attachment Details

Adding OnPaint to a dialog class in WTL

Asked by yossikally in Windows ATL / WTL / COM Programming

Tags: , ,

The class is declared as
class CMainDlg : public CDialogImpl<CMainDlg>
I want to handle WM_PAINT at the dialog, but I can't have the parent version run as well if I just put the handler in the message map, so the controls don't get drawn.  Unlike MFC where I call CDialog::OnPaint,
If I call CDialogImpl<CMainDlg>::OnPaint, the compiler dosn't like it at all.

10xStart Free Trial
[+][-]08.04.2007 at 09:19PM PDT, ID: 19633104

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2007 at 10:06PM PDT, ID: 19633206

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2007 at 05:46AM PDT, ID: 19633978

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2007 at 06:13AM PDT, ID: 19634049

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.07.2007 at 10:12AM PDT, ID: 19647821

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.07.2007 at 11:00AM PDT, ID: 19648205

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.07.2007 at 11:01AM PDT, ID: 19648210

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.08.2007 at 06:05AM PDT, ID: 19653675

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.08.2007 at 08:33PM PDT, ID: 19659567

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Windows ATL / WTL / COM Programming
Tags: wtl, onpaint, dialog
Sign Up Now!
Solution Provided By: Anthony2000
Participating Experts: 1
Solution Grade: C
 
 
[+][-]08.21.2007 at 05:12AM PDT, ID: 19737052

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.21.2007 at 05:57AM PDT, ID: 19737343

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32