Click here to Skip to main content
15,925,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
Saurabh.Garg27-Apr-08 23:31
Saurabh.Garg27-Apr-08 23:31 
GeneralRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
Super Hornet28-Apr-08 0:09
Super Hornet28-Apr-08 0:09 
QuestionRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
CPallini28-Apr-08 0:18
mveCPallini28-Apr-08 0:18 
GeneralRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
Super Hornet28-Apr-08 0:22
Super Hornet28-Apr-08 0:22 
GeneralRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
CPallini28-Apr-08 0:31
mveCPallini28-Apr-08 0:31 
GeneralRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
Super Hornet28-Apr-08 0:36
Super Hornet28-Apr-08 0:36 
GeneralRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
CPallini28-Apr-08 0:50
mveCPallini28-Apr-08 0:50 
GeneralRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
Saurabh.Garg28-Apr-08 0:49
Saurabh.Garg28-Apr-08 0:49 
Okay my bad this function work only if the calling process owns the window. using GetWindowThreadProcessId you can get both thread id and process id. Once you have process id then you can simple compare with your process id to check if window belongs to your application.

-Saurabh
AnswerRe: how to find handle of a window(Hwnd) belongs to particular application? Pin
Hamid_RT29-Apr-08 1:46
Hamid_RT29-Apr-08 1:46 
GeneralPostMessage Mouse clicks [modified] Pin
KarlWF27-Apr-08 23:04
KarlWF27-Apr-08 23:04 
AnswerRe: PostMessage Mouse clicks Pin
James R. Twine28-Apr-08 1:37
James R. Twine28-Apr-08 1:37 
GeneralRe: PostMessage Mouse clicks Pin
KarlWF28-Apr-08 16:41
KarlWF28-Apr-08 16:41 
GeneralRe: PostMessage Mouse clicks Pin
Rajkumar R28-Apr-08 5:09
Rajkumar R28-Apr-08 5:09 
Questionfont problem in vc++ edit control Pin
trioum27-Apr-08 22:04
trioum27-Apr-08 22:04 
GeneralRe: font problem in vc++ edit control Pin
CPallini27-Apr-08 23:11
mveCPallini27-Apr-08 23:11 
GeneralRe: font problem in vc++ edit control Pin
trioum28-Apr-08 0:02
trioum28-Apr-08 0:02 
QuestionRe: font problem in vc++ edit control Pin
CPallini28-Apr-08 0:16
mveCPallini28-Apr-08 0:16 
QuestionRe: font problem in vc++ edit control Pin
trioum28-Apr-08 0:39
trioum28-Apr-08 0:39 
GeneralRe: font problem in vc++ edit control Pin
CPallini28-Apr-08 1:03
mveCPallini28-Apr-08 1:03 
GeneralRe: font problem in vc++ edit control Pin
Hamid_RT29-Apr-08 1:36
Hamid_RT29-Apr-08 1:36 
GeneralRe: font problem in vc++ edit control Pin
CPallini29-Apr-08 1:41
mveCPallini29-Apr-08 1:41 
GeneralRe: font problem in vc++ edit control Pin
Hamid_RT29-Apr-08 1:35
Hamid_RT29-Apr-08 1:35 
GeneralRegarding web page content Pin
H4u3227-Apr-08 21:30
H4u3227-Apr-08 21:30 
GeneralRe: Regarding web page content Pin
Chiew Heng Wah28-Apr-08 16:29
Chiew Heng Wah28-Apr-08 16:29 
GeneralRe: Regarding web page content Pin
Hamid_RT29-Apr-08 1:32
Hamid_RT29-Apr-08 1:32 

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.