Click here to Skip to main content
15,917,177 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Control detection Pin
Aggtaa23-Jul-02 1:32
Aggtaa23-Jul-02 1:32 
QuestionHow to send message to another program? Pin
RichardWdy22-Jul-02 19:20
RichardWdy22-Jul-02 19:20 
AnswerRe: How to send message to another program? Pin
Williams23-Jul-02 4:49
Williams23-Jul-02 4:49 
GeneralRe: How to send message to another program? Pin
RichardWdy23-Jul-02 5:38
RichardWdy23-Jul-02 5:38 
GeneralRe: How to send message to another program? Pin
RichardWdy23-Jul-02 5:52
RichardWdy23-Jul-02 5:52 
GeneralRe: How to send message to another program? Pin
Williams23-Jul-02 6:47
Williams23-Jul-02 6:47 
GeneralRe: How to send message to another program? Pin
RichardWdy23-Jul-02 18:06
RichardWdy23-Jul-02 18:06 
GeneralRe: How to send message to another program? Pin
RichardWdy23-Jul-02 18:06
RichardWdy23-Jul-02 18:06 
Thank you.

I want to run another dialog program. It has several edit controls. I want to fill the edit controls automatically, which requests send message to the edit control.
I tried several ways, but I couldn't get the handle of the edit control.
The following is my code.
HWND h = ::GetDlgItem(hDlg, ID_EDIT_START); // hDlg is the handle of the dialog.
h return NULL.
Could you tell me what's wrong? How can I perform that?

Richard Woo

No pains, no gains.
GeneralRe: How to send message to another program? Pin
Williams24-Jul-02 3:13
Williams24-Jul-02 3:13 
GeneralRe: How to send message to another program? Pin
RichardWdy24-Jul-02 3:32
RichardWdy24-Jul-02 3:32 
GeneralRe: How to send message to another program? Pin
Williams24-Jul-02 3:40
Williams24-Jul-02 3:40 
GeneralRe: How to send message to another program? Pin
RichardWdy24-Jul-02 4:21
RichardWdy24-Jul-02 4:21 
GeneralRe: How to send message to another program? Pin
Williams24-Jul-02 4:48
Williams24-Jul-02 4:48 
GeneralRe: How to send message to another program? Pin
RichardWdy24-Jul-02 4:57
RichardWdy24-Jul-02 4:57 
GeneralRe: How to send message to another program? Pin
Williams24-Jul-02 5:10
Williams24-Jul-02 5:10 
GeneralRe: How to send message to another program? Pin
RichardWdy24-Jul-02 5:46
RichardWdy24-Jul-02 5:46 
GeneralRe: How to send message to another program? Pin
Williams24-Jul-02 7:00
Williams24-Jul-02 7:00 
GeneralRe: How to send message to another program? Pin
RichardWdy24-Jul-02 17:10
RichardWdy24-Jul-02 17:10 
GeneralRe: How to send message to another program? Pin
Williams25-Jul-02 2:25
Williams25-Jul-02 2:25 
GeneralRe: How to send message to another program? Pin
RichardWdy25-Jul-02 18:58
RichardWdy25-Jul-02 18:58 
GeneralRe: How to send message to another program? Pin
Williams26-Jul-02 3:54
Williams26-Jul-02 3:54 
GeneralControl Panel Applet Pin
Manish Wadhera22-Jul-02 18:00
Manish Wadhera22-Jul-02 18:00 
GeneralRe: Control Panel Applet Pin
Ernest Laurentin22-Jul-02 19:04
Ernest Laurentin22-Jul-02 19:04 
Questionwhy message memory leaks? Pin
whelk22-Jul-02 16:09
whelk22-Jul-02 16:09 
AnswerRe: why message memory leaks? Pin
rokia22-Jul-02 16:23
rokia22-Jul-02 16:23 

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.