Click here to Skip to main content
15,907,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Finding if an app is running, not using FindWindow Pin
Atlantys10-Apr-02 11:12
Atlantys10-Apr-02 11:12 
GeneralRe: Finding if an app is running, not using FindWindow Pin
Joaquín M López Muñoz10-Apr-02 11:49
Joaquín M López Muñoz10-Apr-02 11:49 
GeneralProgrammatically setting IE's homepage (how?) Pin
Oz Ben Eliezer10-Apr-02 10:36
Oz Ben Eliezer10-Apr-02 10:36 
GeneralRe: Programmatically setting IE's homepage (how?) Pin
Joaquín M López Muñoz10-Apr-02 10:59
Joaquín M López Muñoz10-Apr-02 10:59 
GeneralRe: Programmatically setting IE's homepage (how?) Pin
Oz Ben Eliezer11-Apr-02 2:39
Oz Ben Eliezer11-Apr-02 2:39 
GeneralModeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:15
Derek Lakin10-Apr-02 10:15 
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 10:15
Joaquín M López Muñoz10-Apr-02 10:15 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:25
Derek Lakin10-Apr-02 10:25 
I've tried it out a couple of times (simplified and from scratch).

If the dialog is shown using DoModal then hitting the Enter button calls OnOK. If the dialog is created as modeless and shown using ShowWindow then OnOK doesn't get call, my PC just beeps Frown | :(

I'm writing a Messenger type app. The user types some text into an edit control. When they hit the enter key the message should be sent (Enter triggering the OnOK function to send the message). That way they don't have to use the mouse to click on the send button.

Derek Lakin.

I wish I was what I thought I was when I wished I was what I am.

Salamander Software Ltd.
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 10:29
Joaquín M López Muñoz10-Apr-02 10:29 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:33
Derek Lakin10-Apr-02 10:33 
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 10:36
Joaquín M López Muñoz10-Apr-02 10:36 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:40
Derek Lakin10-Apr-02 10:40 
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 10:43
Joaquín M López Muñoz10-Apr-02 10:43 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:45
Derek Lakin10-Apr-02 10:45 
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 10:48
Joaquín M López Muñoz10-Apr-02 10:48 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 11:08
Derek Lakin10-Apr-02 11:08 
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 12:11
Joaquín M López Muñoz10-Apr-02 12:11 
GeneralRe: Modeless dialogs and OnOK Pin
Shog910-Apr-02 12:58
sitebuilderShog910-Apr-02 12:58 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 19:45
Derek Lakin10-Apr-02 19:45 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin11-Apr-02 7:38
Derek Lakin11-Apr-02 7:38 
GeneralRe: Modeless dialogs and OnOK Pin
Shog911-Apr-02 9:46
sitebuilderShog911-Apr-02 9:46 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin11-Apr-02 10:38
Derek Lakin11-Apr-02 10:38 
GeneralRe: Modeless dialogs and OnOK Pin
Shog911-Apr-02 10:40
sitebuilderShog911-Apr-02 10:40 
GeneralRe: Modeless dialogs and OnOK Pin
JT Anderson10-Apr-02 14:07
JT Anderson10-Apr-02 14:07 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin11-Apr-02 1:18
Derek Lakin11-Apr-02 1:18 

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.