"(1)How can I fix the backgroundcolor of a dialogbox":
inherite from CDialog and Override CYourDlg::OnPaint() and draw it yourself.
"(2)What must I do, that my dialogbox starts maximized?":
BOOL CMyApp::InitInstance()
{
//.....
//.....
CYourDlg dlg;
m_pMainWnd...
if (argv[1] == 'c') //doesn't work cause'
argv[1] is char*, use: if( !strcmp(argv[1],"c") )
m = atoi(argv[2]); //This works if you send to cmdLine "myProg.exe c 201".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.