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

C / C++ / MFC

 
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 
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 
Hi
You should pass a pointer on the main window on constuctor of child dlg.

//Forward declaration
class CMainDlg;

class CChildDlg : public CDialog{
CChildDlg(CMainDlg* p_main_dlg):CDialog(...){
this->p_main_dlg = p_main_dlg;
//Now throught this->p_main_dlg you can get
//allother public members of main dlg
}
private:
CMainDlg* p_main_dlg;
};

class CMainDlg : public CDialog{
...
paublic:
int var;
void CraeteChild(){
CChildDlg dlg(this);
dlg.DoModal();
}
};
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 
AnswerRe: How to get the document file name associated with a MSWord process? Pin
Peter Molnar9-Dec-03 12:37
Peter Molnar9-Dec-03 12:37 
Generalcode help Pin
Rob Tomson8-Dec-03 18:01
Rob Tomson8-Dec-03 18:01 
GeneralRe: code help Pin
Antti Keskinen8-Dec-03 22:06
Antti Keskinen8-Dec-03 22:06 

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.