Command line params to MFC Dialog
Iam tring to pass a command line string to a MFC dialog edit box, I can
assign the m_lpCmdLine variable within the initinstance() of the app.cpp but
how to I get it into the dialog.cpp.
Ive tried defined the class and pulling the variable but get a "cannot
access member variable...." error
Any help greatly appreciated
Re: Command line params to MFC Dialog
"Ian Flack" <Flack@ntlworld.com> wrote in message
> assign the m_lpCmdLine variable within the initinstance() of the app.cpp[/color]
> how to I get it into the dialog.cpp.[/color]
Put it into your dialog class before DoModal call. i.e. create CString
member inside dialog class.
best regards !