Click here to Skip to main content
16,016,489 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ newbie here, some help is needed. Pin
C_Zealot23-May-07 12:47
C_Zealot23-May-07 12:47 
AnswerRe: C++ newbie here, some help is needed. [modified] Pin
Michael Sadlon23-May-07 8:33
Michael Sadlon23-May-07 8:33 
GeneralRe: C++ newbie here, some help is needed. Pin
C_Zealot23-May-07 12:46
C_Zealot23-May-07 12:46 
Questionloop help Pin
klutez12323-May-07 3:06
klutez12323-May-07 3:06 
AnswerRe: loop help Pin
David Crow23-May-07 3:54
David Crow23-May-07 3:54 
QuestionCREATESTRUCT& cs problem Pin
prithaa23-May-07 1:48
prithaa23-May-07 1:48 
AnswerRe: CREATESTRUCT& cs problem Pin
Arman S.23-May-07 3:48
Arman S.23-May-07 3:48 
AnswerRe: CREATESTRUCT& cs problem Pin
Mark Salsbery23-May-07 5:45
Mark Salsbery23-May-07 5:45 
prithaa wrote:
Can I change the CREATESTRUCT& cs without calling PreCreateWindow function in the ChildFrame


Do you mean without calling the base class PreCreateWindow()?

If so, then yes. If you want to use a different window class than the default MFC class then
you'll want to call AfxRegisterWndClass() sometime before you create the window (I personally
do this in the constructor). In your PreCreateWindow() override, set the class name in the
createstruct to the name of the class you registered.

Mark




"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: CREATESTRUCT& cs problem Pin
prithaa23-May-07 18:15
prithaa23-May-07 18:15 
GeneralRe: CREATESTRUCT& cs problem Pin
Mark Salsbery24-May-07 4:51
Mark Salsbery24-May-07 4:51 
QuestionMy class wizard is empty Pin
garfield18523-May-07 1:36
garfield18523-May-07 1:36 
AnswerRe: My class wizard is empty Pin
Cedric Moonen23-May-07 1:42
Cedric Moonen23-May-07 1:42 
GeneralRe: My class wizard is empty Pin
garfield18523-May-07 1:47
garfield18523-May-07 1:47 
Questionissues with Vista / VS 2005? Pin
ldsdbomber23-May-07 1:14
ldsdbomber23-May-07 1:14 
AnswerRe: issues with Vista / VS 2005? Pin
JudyL_MD23-May-07 2:24
JudyL_MD23-May-07 2:24 
GeneralRe: issues with Vista / VS 2005? Pin
ldsdbomber30-May-07 17:05
ldsdbomber30-May-07 17:05 
GeneralRe: issues with Vista / VS 2005? Pin
ldsdbomber30-May-07 23:58
ldsdbomber30-May-07 23:58 
QuestionLinker : ERROR.....??? Pin
Thoyib Bustomi23-May-07 1:06
Thoyib Bustomi23-May-07 1:06 
AnswerRe: Linker : ERROR.....??? Pin
Rage23-May-07 1:23
professionalRage23-May-07 1:23 
GeneralRe: Linker : ERROR.....??? Pin
David Crow23-May-07 3:59
David Crow23-May-07 3:59 
QuestionRe: Linker : ERROR.....??? Pin
Hamid_RT23-May-07 1:31
Hamid_RT23-May-07 1:31 
AnswerRe: Linker : ERROR.....??? Pin
Naveen23-May-07 1:37
Naveen23-May-07 1:37 
QuestionOnActivateApp -> fails sometimes... Pin
Joan M23-May-07 0:42
professionalJoan M23-May-07 0:42 
AnswerRe: OnActivateApp -> fails sometimes... Pin
Rage23-May-07 1:19
professionalRage23-May-07 1:19 
AnswerRe: OnActivateApp -> fails sometimes... Pin
Arman S.23-May-07 3:26
Arman S.23-May-07 3:26 

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.