Click here to Skip to main content
15,911,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to make the border and titlebar dissapear Pin
Christoffer Sandberg20-Nov-01 2:35
Christoffer Sandberg20-Nov-01 2:35 
AnswerRe: How to make the border and titlebar dissapear Pin
Rui Lopes20-Nov-01 7:32
Rui Lopes20-Nov-01 7:32 
GeneralRe: How to make the border and titlebar dissapear Pin
Christoffer Sandberg20-Nov-01 13:36
Christoffer Sandberg20-Nov-01 13:36 
GeneralRe: How to make the border and titlebar dissapear Pin
Rui Lopes20-Nov-01 23:01
Rui Lopes20-Nov-01 23:01 
QuestionPassing Window Handles? Pin
20-Nov-01 2:07
suss20-Nov-01 2:07 
AnswerRe: Passing Window Handles? Pin
Fazlul Kabir20-Nov-01 2:40
Fazlul Kabir20-Nov-01 2:40 
AnswerRe: Passing Window Handles? Pin
luckylourson20-Nov-01 2:54
luckylourson20-Nov-01 2:54 
AnswerRe: Pass the handle in the constructor. Pin
Masaaki Onishi20-Nov-01 4:12
Masaaki Onishi20-Nov-01 4:12 
Hello, the codegurus around the world.;)

GetParent() is one way, but not so much technically.
So, pass the handle of parent of the constructor.
CChildDlg dlg (this);
dlg.DoModal();

And the constructor of CChildDlg;
ChildDlg::ChildDlg (CWnd* pWnd)
{
   ASSERT(pWnd);
   //Declare CWnd* m_pParent as the private member value;
   m_pParent = pWnd;
}

Good Luck!


Have a nice day!

-Masaaki Onishi-


Generalabout Linux Pin
Maer72720-Nov-01 1:41
Maer72720-Nov-01 1:41 
GeneralRe: about Linux Pin
Rassman20-Nov-01 2:00
Rassman20-Nov-01 2:00 
GeneralRe: about Linux Pin
markkuk20-Nov-01 2:47
markkuk20-Nov-01 2:47 
GeneralRe: about Linux Pin
Michael P Butler20-Nov-01 2:54
Michael P Butler20-Nov-01 2:54 
GeneralRe: about Linux Pin
Rassman20-Nov-01 3:29
Rassman20-Nov-01 3:29 
GeneralRe: about Linux Pin
Jason Hihn20-Nov-01 5:30
Jason Hihn20-Nov-01 5:30 
GeneralRe: about Linux Pin
markkuk20-Nov-01 2:44
markkuk20-Nov-01 2:44 
GeneralRe: about Linux Pin
Jason Hihn20-Nov-01 5:50
Jason Hihn20-Nov-01 5:50 
GeneralRe: about Linux Pin
Maer72720-Nov-01 19:59
Maer72720-Nov-01 19:59 
QuestionHow to register a control Pin
20-Nov-01 1:34
suss20-Nov-01 1:34 
QuestionMDI - Is there an other way ?? Pin
Rene D19-Nov-01 23:35
Rene D19-Nov-01 23:35 
AnswerRe: MDI - Is there an other way ?? Pin
Rassman20-Nov-01 2:13
Rassman20-Nov-01 2:13 
AnswerRe: MDI - Is there an other way ?? Pin
Roger Allen20-Nov-01 2:27
Roger Allen20-Nov-01 2:27 
GeneralMoving Child Windows Pin
19-Nov-01 22:54
suss19-Nov-01 22:54 
GeneralRe: Moving Child Windows Pin
19-Nov-01 23:17
suss19-Nov-01 23:17 
GeneralAnimation in VC Pin
19-Nov-01 22:37
suss19-Nov-01 22:37 
GeneralRe: Animation in VC Pin
Rui Lopes20-Nov-01 7:05
Rui Lopes20-Nov-01 7:05 

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.