Window handle of a process-code required
-
Hello friends , I am doin a MFC project .In that i launch an application using shellexecute () ...NOw i have a question . 1.If i use ShellExecuteEx ,i can get the handle of the process .But how do i get the handle of that window associated with the process....for example if i launch a mpeg file ,the windows media player opens.Now how do i get the handle of the media player window????
-
Hello friends , I am doin a MFC project .In that i launch an application using shellexecute () ...NOw i have a question . 1.If i use ShellExecuteEx ,i can get the handle of the process .But how do i get the handle of that window associated with the process....for example if i launch a mpeg file ,the windows media player opens.Now how do i get the handle of the media player window????