Posted by Barbara Brazil on August 26, 2005 at 14:59:43:
In Reply to: Dialog questions posted by Grant Foraker on August 26, 2005 at 13:59:28:
Grant:
1. Yes, SW.NORMAL is used to display the dialog the first time.
2. I believe after that you can either show the dialog or not by issuing SW.SHOW or SW.HIDE.
3. ESC is IDCANCEL. Try handling a BN.CLICKED event on IDCANCEL to trap it. Likewise, if you want to trap ENTER, handle IDOK.
4. Compile is used to compile a single source program, for example your test.cpp file if you were doing development in C++. Build builds the currently selected project. Rebuild all will rebuild all of the projects in the workspace. For your .dll project, I'd suggest just plain ol' Build.
bb