Click here to Skip to main content
15,908,274 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why canot disable the popup menu item? Pin
Roger Allen26-Nov-02 4:50
Roger Allen26-Nov-02 4:50 
GeneralInput validation Pin
Andy H26-Nov-02 3:17
Andy H26-Nov-02 3:17 
GeneralRe: Input validation Pin
roel_26-Nov-02 4:04
roel_26-Nov-02 4:04 
GeneralRe: Input validation Pin
Roger Stewart26-Nov-02 4:58
professionalRoger Stewart26-Nov-02 4:58 
GeneralRe: Input validation Pin
perlmunger26-Nov-02 7:08
perlmunger26-Nov-02 7:08 
GeneralRe: Input validation Pin
valikac26-Nov-02 8:09
valikac26-Nov-02 8:09 
GeneralRe: Input validation Pin
Mike Eriksson26-Nov-02 23:52
Mike Eriksson26-Nov-02 23:52 
GeneralCDialog::OnPaint() doesn't get called Pin
User 665826-Nov-02 3:15
User 665826-Nov-02 3:15 
Hi
I added the OnPaint() function to my CDialog-based app via the class-wizard. But for some reason it does not get called, why? Confused | :confused:
As far as I can see classwizard set up everyhting correctly:
//{{AFX_MSG(CMyDlg)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
//}}AFX_MSG

//{{AFX_MSG_MAP(CMyDlg)
ON_WM_ERASEBKGND()
ON_WM_PAINT()
//}}AFX_MSG_MAP

void CMyDlg::OnPaint() 
{
        CPaintDC dc(this); // device context for painting
	
        // Kein Aufruf von CDialog::OnPaint() für Zeichnungsnachrichten
}


What's going wrong?
thanks in advance,
Greg

modified 12-Sep-18 21:01pm.

GeneralRe: CDialog::OnPaint() doesn't get called Pin
Jeff Patterson26-Nov-02 3:44
Jeff Patterson26-Nov-02 3:44 
GeneralOOPS Re: CDialog::OnPaint() doesn't get called Pin
Jeff Patterson26-Nov-02 3:51
Jeff Patterson26-Nov-02 3:51 
GeneralEmbeded Object Pin
millertm26-Nov-02 2:58
millertm26-Nov-02 2:58 
QuestionHow to create thread ? Pin
rrrado26-Nov-02 2:45
rrrado26-Nov-02 2:45 
AnswerRe: How to create thread ? Pin
Joaquín M López Muñoz26-Nov-02 2:58
Joaquín M López Muñoz26-Nov-02 2:58 
GeneralRe: How to create thread ? Pin
rrrado26-Nov-02 3:38
rrrado26-Nov-02 3:38 
GeneralRe: How to create thread ? Pin
Alexandru Savescu26-Nov-02 6:16
Alexandru Savescu26-Nov-02 6:16 
GeneralRe: How to create thread ? Pin
valikac26-Nov-02 8:11
valikac26-Nov-02 8:11 
Generalplease give me guidlines Pin
vgkotha26-Nov-02 2:39
vgkotha26-Nov-02 2:39 
GeneralRe: please give me guidlines Pin
Michael P Butler26-Nov-02 3:45
Michael P Butler26-Nov-02 3:45 
GeneralRe: please give me guidlines Pin
vgkotha26-Nov-02 4:04
vgkotha26-Nov-02 4:04 
Generaldll hell - pls help Pin
Chris Eatough26-Nov-02 2:06
Chris Eatough26-Nov-02 2:06 
GeneralRe: dll hell - pls help Pin
roel_26-Nov-02 4:08
roel_26-Nov-02 4:08 
GeneralDifference in size of MFC and ASNI C Pin
Tili26-Nov-02 1:58
Tili26-Nov-02 1:58 
GeneralRe: Difference in size of MFC and ASNI C Pin
roel_26-Nov-02 4:10
roel_26-Nov-02 4:10 
GeneralAbstract class as interface Pin
s o v a n n26-Nov-02 1:27
s o v a n n26-Nov-02 1:27 
GeneralRe: Abstract class as interface Pin
Roman Fadeyev26-Nov-02 2:11
Roman Fadeyev26-Nov-02 2:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.