Click here to Skip to main content
15,905,004 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: i want to add installation wizard dialog box in mfc application. Pin
Hamid_RT21-Sep-07 23:42
Hamid_RT21-Sep-07 23:42 
QuestionWhat such code mean? Pin
kcynic21-Sep-07 19:04
kcynic21-Sep-07 19:04 
AnswerRe: What such code mean? Pin
nitin321-Sep-07 19:25
nitin321-Sep-07 19:25 
AnswerRe: What such code mean? Pin
prasad_som21-Sep-07 19:41
prasad_som21-Sep-07 19:41 
GeneralRe: What such code mean? Pin
kcynic21-Sep-07 21:35
kcynic21-Sep-07 21:35 
GeneralRe: What such code mean? Pin
kcynic21-Sep-07 22:03
kcynic21-Sep-07 22:03 
AnswerRe: What such code mean? Pin
John R. Shaw21-Sep-07 21:08
John R. Shaw21-Sep-07 21:08 
QuestionGetting the process that owns the window Pin
Tydia-kun21-Sep-07 10:24
Tydia-kun21-Sep-07 10:24 
Hi,

I've been trying to figure out how to get the owner process or a window.
Basically, I want to use GetForegroundWindow() to identify the current window that has focus and then be able to, from this, get the process that owns the window. It should be possible as it's the very same thing Task Manager does.
If anyone knows how to do it, I'd be grateful.

Thanks.
AnswerRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 11:08
Mark Salsbery21-Sep-07 11:08 
GeneralRe: Getting the process that owns the window Pin
led mike21-Sep-07 11:22
led mike21-Sep-07 11:22 
GeneralRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 11:45
Mark Salsbery21-Sep-07 11:45 
AnswerRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 11:20
Mark Salsbery21-Sep-07 11:20 
GeneralRe: Getting the process that owns the window Pin
led mike21-Sep-07 11:26
led mike21-Sep-07 11:26 
GeneralRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 11:52
Mark Salsbery21-Sep-07 11:52 
GeneralRe: Getting the process that owns the window Pin
Tydia-kun21-Sep-07 11:39
Tydia-kun21-Sep-07 11:39 
GeneralRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 11:49
Mark Salsbery21-Sep-07 11:49 
GeneralRe: Getting the process that owns the window Pin
Tydia-kun21-Sep-07 12:29
Tydia-kun21-Sep-07 12:29 
GeneralRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 12:34
Mark Salsbery21-Sep-07 12:34 
GeneralRe: Getting the process that owns the window Pin
Tydia-kun21-Sep-07 12:44
Tydia-kun21-Sep-07 12:44 
GeneralRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 12:47
Mark Salsbery21-Sep-07 12:47 
GeneralRe: Getting the process that owns the window Pin
Tydia-kun21-Sep-07 12:50
Tydia-kun21-Sep-07 12:50 
GeneralRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 12:53
Mark Salsbery21-Sep-07 12:53 
GeneralRe: Getting the process that owns the window Pin
led mike24-Sep-07 4:40
led mike24-Sep-07 4:40 
GeneralRe: Getting the process that owns the window Pin
Mark Salsbery21-Sep-07 12:37
Mark Salsbery21-Sep-07 12:37 
GeneralRe: Getting the process that owns the window Pin
Tydia-kun21-Sep-07 12:46
Tydia-kun21-Sep-07 12:46 

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.