Re: modeless dialog
"JG" <NoMail@NoSpam> wrote in message news:g0mf8706f6@news4.newsguy.com...
"AliR (VC++ MVP)" replied
Therefore what buttons are on the dialog has nothing to do with whether it
is modeless or not.
So if I delete the DoModal handlers (and the OK and CANCEL buttons)
on the default AppWizard dialog it will still be Modal or Modeless ?
Also having a modeless dialog as the main window does not really buy you
much.
Ok.......
We might be able to help better if you can describe the end results that
you are trying to accomplish. AliR.
Ok you seem to be very helpful oriented which I appreciate. What I
envision
doing (from my amateur point of view) is a single window app with two
edit boxes (and two static labels above each) with possible additions of
both
later on. I will retrieve input from the edit boxes and work with that.
The
default dialog from the AppWizard seemed to be quicker and easier than
writing all the child window creations. This app will be strickly for use
by
myself to process data at work. Appreciate whatever input you can
give me.
What is it about the default App Wizard app that you don't like? It seems
to fit your needs from what you have said. Use the DoModal call that the
wizard puts in. If you don't want the OK button then first add a message
handler for OnOK. Make it an empty function. Then you can delete the
button from the dialog resource.
--
Scott McPhillips [VC++ MVP]