Click here to Skip to main content
15,891,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Comms Problems Pin
TheFox10-Mar-03 5:29
TheFox10-Mar-03 5:29 
GeneralRe: Comms Problems Pin
Ted Ferenc10-Mar-03 6:09
Ted Ferenc10-Mar-03 6:09 
Generalto put text on a label field into bold Pin
JensB10-Mar-03 1:39
JensB10-Mar-03 1:39 
GeneralRe: to put text on a label field into bold Pin
Brian Shifrin10-Mar-03 2:09
Brian Shifrin10-Mar-03 2:09 
GeneralRe: to put text on a label field into bold Pin
JensB10-Mar-03 2:15
JensB10-Mar-03 2:15 
GeneralRe: to put text on a label field into bold Pin
Iain Clarke, Warrior Programmer10-Mar-03 3:32
Iain Clarke, Warrior Programmer10-Mar-03 3:32 
GeneralRe: to put text on a label field into bold Pin
Alvaro Mendez10-Mar-03 7:39
Alvaro Mendez10-Mar-03 7:39 
GeneralCreate from resource Pin
Zizilamoroso10-Mar-03 1:31
Zizilamoroso10-Mar-03 1:31 
Another newbie question Wink | ;)

I've got a pointer to a custom CWnd derived class, called CMyWnd. This class is created using the vc resource editor, the resourceID is IDC_MY_WND.

CMyWnd* pMyWnd=new CMyWnd(&parent);

How can I attach this CWnd to the parent CDialog, in such a way that the create method uses the data I've declared inside the resource editor?

CWnd::Create(...) asks for a CRect, windowtype and a windowtitle, but I've already declared them in the resource editor. I want to use them here.

How do I do this?


tnx.



using: [VISUAL STUDIO 6.0 sp5] [WIN98/2]

GeneralRe: Create from resource Pin
Baris Kurtlutepe10-Mar-03 5:25
Baris Kurtlutepe10-Mar-03 5:25 
GeneralProblem with the GetCurrentDirectory function !! Pin
Cris10-Mar-03 0:59
Cris10-Mar-03 0:59 
GeneralRe: Problem with the GetCurrentDirectory function !! Pin
Baris Kurtlutepe10-Mar-03 1:08
Baris Kurtlutepe10-Mar-03 1:08 
GeneralRe: Problem with the GetCurrentDirectory function !! Pin
Cris10-Mar-03 1:36
Cris10-Mar-03 1:36 
GeneralRe: Problem with the GetCurrentDirectory function !! Pin
kirk he10-Mar-03 1:09
susskirk he10-Mar-03 1:09 
Questionhow can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 0:23
susskirk he10-Mar-03 0:23 
AnswerRe: how can i use a straight c function in a C++ program? Pin
Christian Graus10-Mar-03 0:27
protectorChristian Graus10-Mar-03 0:27 
GeneralRe: how can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 0:37
susskirk he10-Mar-03 0:37 
GeneralRe: how can i use a straight c function in a C++ program? Pin
Christian Graus10-Mar-03 0:46
protectorChristian Graus10-Mar-03 0:46 
GeneralRe: how can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 0:53
susskirk he10-Mar-03 0:53 
AnswerRe: how can i use a straight c function in a C++ program? Pin
Baris Kurtlutepe10-Mar-03 0:51
Baris Kurtlutepe10-Mar-03 0:51 
GeneralRe: how can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 1:05
susskirk he10-Mar-03 1:05 
GeneralRe: how can i use a straight c function in a C++ program? Pin
Baris Kurtlutepe10-Mar-03 1:13
Baris Kurtlutepe10-Mar-03 1:13 
GeneralCustom Formatting in VC++ Pin
Iain Clarke, Warrior Programmer10-Mar-03 0:09
Iain Clarke, Warrior Programmer10-Mar-03 0:09 
QuestionTree/List Ctrl question? Pin
Preky9-Mar-03 23:31
Preky9-Mar-03 23:31 
AnswerRe: Tree/List Ctrl question? Pin
TomKat14-Mar-03 16:26
TomKat14-Mar-03 16:26 
GeneralRe: Tree/List Ctrl question? Pin
Preky16-Mar-03 20:42
Preky16-Mar-03 20:42 

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.