Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: HBITMAP Pin
Nishad S21-Sep-07 23:39
Nishad S21-Sep-07 23:39 
Questioni want to add installation wizard dialog box in mfc application. Pin
Dhiraj kumar Saini21-Sep-07 19:28
Dhiraj kumar Saini21-Sep-07 19:28 
AnswerRe: i want to add installation wizard dialog box in mfc application. Pin
prasad_som21-Sep-07 19:39
prasad_som21-Sep-07 19:39 
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 
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 
The link I posted shows a way to do it without enumerating.  The caveat is it's for NT 4+.

For Windows versions back to 95, it seems to me it would be simpler to get the process ID from the window
handle and enumerate the processes until you find the matching ID.

Much less work than enumerating the processes AND enumerating the windows for each process!

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

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 

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.