Click here to Skip to main content
16,005,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: A Stupid doubt???? Pin
RChin8-Dec-03 23:01
RChin8-Dec-03 23:01 
AnswerRe: A Stupid doubt???? Pin
Michael Pauli9-Dec-03 5:22
Michael Pauli9-Dec-03 5:22 
GeneralPrinting trouble Pin
El'Cachubrey8-Dec-03 22:23
El'Cachubrey8-Dec-03 22:23 
GeneralRe: Printing trouble Pin
Roger Allen9-Dec-03 4:24
Roger Allen9-Dec-03 4:24 
Generalaccessing the base class Pin
satadru8-Dec-03 21:28
satadru8-Dec-03 21:28 
GeneralRe: accessing the base class Pin
Antti Keskinen8-Dec-03 21:49
Antti Keskinen8-Dec-03 21:49 
GeneralRe: accessing the base class Pin
satadru9-Dec-03 0:30
satadru9-Dec-03 0:30 
GeneralRe: accessing the base class Pin
Antti Keskinen9-Dec-03 2:27
Antti Keskinen9-Dec-03 2:27 
What is this 'viz' ? "Which is" ?

The error you are describing is related to the CMainDlg itself. You are referring to a member classCMainDlg somewhere in your code, and this member is not declared in the header file of the class. See the header file of CMainDlg for details, especially check the line where the error is.

The case #2 I posted back in my previous message did not tell you to add any member to the parent (CMainDlg) class. If you added members there, then you have done something wrong yourself.

In conclusion: this error has nothing to do with the method I described. It is happening because a) you have done something wrong yourself or b) have not understood my description properly.

I would ask you to post the line where this error is happening and the context where it is in. I believe that it might be in the line where you create the modeless dialog box. Remember, that the 'this' pointer always points to the current object that is executing a method. For example, if you had an object of a class created, returning 'this' from a function would return the address of the object.

Check your code and post the line where the error is happening. You probably have just mistyped something.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: accessing the base class Pin
satadru10-Dec-03 0:30
satadru10-Dec-03 0:30 
GeneralRe: accessing the base class Pin
Antti Keskinen10-Dec-03 8:04
Antti Keskinen10-Dec-03 8:04 
GeneralRe: accessing the base class Pin
El'Cachubrey8-Dec-03 21:54
El'Cachubrey8-Dec-03 21:54 
GeneralTo develop a Fake USB port (or) a Dummy Device Pin
abhiram8-Dec-03 21:01
abhiram8-Dec-03 21:01 
GeneralRe: To develop a Fake USB port (or) a Dummy Device Pin
Prakash Nadar8-Dec-03 21:13
Prakash Nadar8-Dec-03 21:13 
GeneralRe: To develop a Fake USB port (or) a Dummy Device Pin
abhiram8-Dec-03 22:00
abhiram8-Dec-03 22:00 
GeneralRe: To develop a Fake USB port (or) a Dummy Device Pin
Prakash Nadar8-Dec-03 22:25
Prakash Nadar8-Dec-03 22:25 
GeneralRe: To develop a Fake USB port (or) a Dummy Device Pin
abhiram8-Dec-03 23:41
abhiram8-Dec-03 23:41 
GeneralRe: To develop a Fake USB port (or) a Dummy Device Pin
Prakash Nadar9-Dec-03 0:06
Prakash Nadar9-Dec-03 0:06 
QuestionGDI+ question: How to get a path from a region ? Pin
OKN8-Dec-03 20:55
OKN8-Dec-03 20:55 
GeneralSimple question -Urgent!- Pin
Ernesto D.8-Dec-03 20:37
Ernesto D.8-Dec-03 20:37 
GeneralRe: Simple question -Urgent!- Pin
Ilamparithi9-Dec-03 0:34
Ilamparithi9-Dec-03 0:34 
GeneralRe: Simple question -Urgent!- Pin
Steve S9-Dec-03 0:45
Steve S9-Dec-03 0:45 
QuestionWhat message is sended when a window is minimized? Pin
yeetang8-Dec-03 20:23
yeetang8-Dec-03 20:23 
AnswerRe: What message is sended when a window is minimized? Pin
Fredrik Skog8-Dec-03 20:34
Fredrik Skog8-Dec-03 20:34 
GeneralRe: What message is sended when a window is minimized? Pin
yeetang9-Dec-03 15:28
yeetang9-Dec-03 15:28 
QuestionHow to get the document file name associated with a MSWord process? Pin
George28-Dec-03 18:58
George28-Dec-03 18:58 

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.