Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: scrolling in dailog boxes Pin
Cool Ju19-Apr-06 23:04
Cool Ju19-Apr-06 23:04 
AnswerRe: scrolling in dailog boxes Pin
David Crow20-Apr-06 3:51
David Crow20-Apr-06 3:51 
GeneralRe: scrolling in dailog boxes Pin
thathvamasi20-Apr-06 17:34
thathvamasi20-Apr-06 17:34 
Questionprogramatically launching menu item and submenu items using short cut keys only Pin
giftsana19-Apr-06 16:25
giftsana19-Apr-06 16:25 
Questiondisplaying dialog in MDIParent when it's loaded Pin
venadder19-Apr-06 15:44
venadder19-Apr-06 15:44 
AnswerRe: displaying dialog in MDIParent when it's loaded Pin
kiran janaswamy19-Apr-06 19:43
kiran janaswamy19-Apr-06 19:43 
GeneralRe: displaying dialog in MDIParent when it's loaded Pin
venadder21-Apr-06 6:24
venadder21-Apr-06 6:24 
GeneralRe: displaying dialog in MDIParent when it's loaded Pin
venadder21-Apr-06 7:19
venadder21-Apr-06 7:19 
I did that man. here is the problem

first if i get rid of the startup child form, the CGUIView OnInitialUpdate does not even get called, so that code do nothing.

Second i have no idea how to use SendMessage

but this is what i did:
void CQCProGUIView::OnInitialUpdate( )
{
LoadLaunchBar( );

}

int CQCProGUIView::LoadLaunchBar( )
{
m_launchbar = new CLaunchBar( );
m_launchbar->DoModal( );
return 0;
}


now this what this does is basically the application runs, but i don't seee anything at all( not even main MDi form ).

if i replace that with:

m_launchbar->ShowWindow( SW_NORMAL);

the following assertion fails:
BOOL CWnd::ShowWindow(int nCmdShow)
{
ASSERT(::IsWindow(m_hWnd) || (m_pCtrlSite != NULL));

if (m_pCtrlSite == NULL)
return ::ShowWindow(m_hWnd, nCmdShow);
else
return m_pCtrlSite->ShowWindow(nCmdShow);
}


Confused | :confused:
AnswerRe: displaying dialog in MDIParent when it's loaded Pin
Cool Ju19-Apr-06 21:39
Cool Ju19-Apr-06 21:39 
GeneralRe: displaying dialog in MDIParent when it's loaded Pin
venadder21-Apr-06 6:10
venadder21-Apr-06 6:10 
GeneralRe: displaying dialog in MDIParent when it's loaded Pin
Cool Ju23-Apr-06 17:15
Cool Ju23-Apr-06 17:15 
GeneralRe: displaying dialog in MDIParent when it's loaded Pin
venadder24-Apr-06 6:37
venadder24-Apr-06 6:37 
GeneralRe: displaying dialog in MDIParent when it's loaded Pin
Cool Ju24-Apr-06 19:15
Cool Ju24-Apr-06 19:15 
GeneralRe: displaying dialog in MDIParent when it's loaded Pin
venadder25-Apr-06 5:30
venadder25-Apr-06 5:30 
QuestionConditionals and RC files Pin
rentzk19-Apr-06 15:14
rentzk19-Apr-06 15:14 
AnswerRe: Conditionals and RC files Pin
Stephen Hewitt19-Apr-06 15:37
Stephen Hewitt19-Apr-06 15:37 
GeneralRe: Conditionals and RC files Pin
Bram van Kampen19-Apr-06 16:14
Bram van Kampen19-Apr-06 16:14 
GeneralRe: Conditionals and RC files Pin
Stephen Hewitt19-Apr-06 17:39
Stephen Hewitt19-Apr-06 17:39 
GeneralRe: Conditionals and RC files Pin
David Crow20-Apr-06 3:54
David Crow20-Apr-06 3:54 
GeneralRe: Conditionals and RC files Pin
kiran janaswamy19-Apr-06 19:02
kiran janaswamy19-Apr-06 19:02 
GeneralRe: Conditionals and RC files Pin
Stephen Hewitt19-Apr-06 20:38
Stephen Hewitt19-Apr-06 20:38 
QuestionRe: Conditionals and RC files Pin
David Crow20-Apr-06 3:59
David Crow20-Apr-06 3:59 
AnswerRe: Conditionals and RC files Pin
rentzk20-Apr-06 5:48
rentzk20-Apr-06 5:48 
QuestionMFC, DLL's Pin
Bram van Kampen19-Apr-06 14:37
Bram van Kampen19-Apr-06 14:37 
AnswerRe: Forwarding API's Pin
Bram van Kampen19-Apr-06 16:02
Bram van Kampen19-Apr-06 16:02 

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.