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

C / C++ / MFC

 
GeneralRe: wait/sleep func for win32 console apps? Pin
Daniel Lohmann23-Jul-02 9:58
Daniel Lohmann23-Jul-02 9:58 
QuestionHow to determine the device? Pin
bigcake22-Jul-02 20:53
bigcake22-Jul-02 20:53 
Generalfopen failes Pin
GBlank22-Jul-02 20:41
sussGBlank22-Jul-02 20:41 
GeneralRe: fopen failes Pin
Stuart Dootson22-Jul-02 20:51
professionalStuart Dootson22-Jul-02 20:51 
GeneralRe: fopen failes Pin
Alexandru Savescu22-Jul-02 21:45
Alexandru Savescu22-Jul-02 21:45 
GeneralControl detection Pin
vikramlinux22-Jul-02 20:03
vikramlinux22-Jul-02 20:03 
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 
I wnat to run another prog. in my prog.
So I need seng messare to the prog.
I have two questions:
1.What's wrong with the following code and How to send message to a check ctrl?
HWND hEditFilter = GetDlgItem(g_hExefile, ID_CHECK_EDIT); // return NULL???
// g_hExefile is the handle of another prog's dialog.
PostMessage(g_hExefile, BM_SETCHECK, ID_CHECK_EDIT, 0); // no respond
// I want to set the check ctrl in FALSE state.
2.How to send message to a commom dialog(like OK button)?

Thanks.

No pains, no gains.
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 
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 

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.