Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hide MFC modal dialog on startup Pin
Bill Wilson3-Jul-02 13:28
Bill Wilson3-Jul-02 13:28 
GeneralRe: hide MFC modal dialog on startup Pin
Nish Nishant3-Jul-02 14:45
sitebuilderNish Nishant3-Jul-02 14:45 
GeneralRe: hide MFC modal dialog on startup Pin
Mazdak3-Jul-02 19:53
Mazdak3-Jul-02 19:53 
General"enter" key dismisses modal dialog! Pin
ns3-Jul-02 11:18
ns3-Jul-02 11:18 
GeneralRe: "enter" key dismisses modal dialog! Pin
Chris Losinger3-Jul-02 11:32
professionalChris Losinger3-Jul-02 11:32 
GeneralRe: "enter" key dismisses modal dialog! Pin
ns3-Jul-02 11:40
ns3-Jul-02 11:40 
GeneralRe: "enter" key dismisses modal dialog! Pin
Chris Losinger3-Jul-02 11:43
professionalChris Losinger3-Jul-02 11:43 
GeneralRe: "enter" key dismisses modal dialog! Pin
ns3-Jul-02 11:49
ns3-Jul-02 11:49 
Gosh! Thanks so much! I truly appreciate it.

With all my struggles this afternoon, the best I could do and have the dialog not vanish with "enter" was rename the IDOK with ID_NOTOK, with no code in the click event for the newly named button. Then I put the rest of my stuff in the button called "Login" which dismisses appropriately with EndDialog. This was still going to leave me with a useless OK button which doesnt do anything anymore. So I was thinking of making it invisible when your life saving email arrived!

I'll try it in a few minutes.
Have a fun holiday!
Cheers,
ns
GeneralRe: "enter" key dismisses modal dialog! Pin
Chris Losinger3-Jul-02 11:57
professionalChris Losinger3-Jul-02 11:57 
GeneralA million thanks! Pin
ns3-Jul-02 12:00
ns3-Jul-02 12:00 
GeneralRe: "enter" key dismisses modal dialog! Pin
Christopher Lord3-Jul-02 15:17
Christopher Lord3-Jul-02 15:17 
GeneralRe: "enter" key dismisses modal dialog! Pin
Larry Antram3-Jul-02 16:25
Larry Antram3-Jul-02 16:25 
Generalgetting "System Name" and "User name" in windows xp.. Pin
Speedy3-Jul-02 10:38
Speedy3-Jul-02 10:38 
GeneralRe: getting "System Name" and "User name" in windows xp.. Pin
Jason Henderson3-Jul-02 18:05
Jason Henderson3-Jul-02 18:05 
GeneralVisual Studio .NET Installation Pin
Ryan B.3-Jul-02 9:01
Ryan B.3-Jul-02 9:01 
GeneralRe: Visual Studio .NET Installation Pin
Mazdak3-Jul-02 9:06
Mazdak3-Jul-02 9:06 
GeneralRe: Visual Studio .NET Installation Pin
Ranjan Banerji3-Jul-02 9:40
Ranjan Banerji3-Jul-02 9:40 
GeneralRe: Visual Studio .NET Installation Pin
Ryan B.3-Jul-02 9:55
Ryan B.3-Jul-02 9:55 
GeneralC++ questions Pin
3-Jul-02 6:56
suss3-Jul-02 6:56 
GeneralRe: C++ questions Pin
Hans Ruck3-Jul-02 7:47
Hans Ruck3-Jul-02 7:47 
GeneralRe: C++ questions Pin
Alan Chambers3-Jul-02 9:06
Alan Chambers3-Jul-02 9:06 
GeneralRe: C++ questions Pin
Scott H. Settlemier3-Jul-02 11:17
Scott H. Settlemier3-Jul-02 11:17 
GeneralRe: C++ questions Pin
3-Jul-02 16:56
suss3-Jul-02 16:56 
QuestionFind name of thread only by window handle? Pin
User 66583-Jul-02 6:28
User 66583-Jul-02 6:28 
AnswerRe: Find name of thread only by window handle? Pin
Nish Nishant3-Jul-02 6:42
sitebuilderNish Nishant3-Jul-02 6:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.