
How to Start Dialog App Hidden?
Hiya,
I'm looking to start an MFC dialog-based application in a hidden state (i.e.
same as ShowWindow(SW_HIDE)) but all my efforts have been fruitless. I've
tried...
... OnInitDialog( ... )
{
ShowWindow(SW_HIDE);
...
Quote:
}
... OnInitDialog( ... )
{
CWinApp *pApp = AfxGetApp();
pApp->m_nCmdShow = SW_HIDE;
...
Quote:
}
...and a few other things, but nothing has worked. As you can probably see,
I've only been programming in
Visual C++ for a few days (come from C++
Builder) and the simplest things are confusing me :op
If some kind soul out there can help, I'd be most grateful!
Regards,
Steve