Click here to Skip to main content
15,926,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Controlling powerpoint?! Pin
toxcct10-Mar-06 0:10
toxcct10-Mar-06 0:10 
GeneralRe: Controlling powerpoint?! Pin
markhaslehurst10-Mar-06 0:15
markhaslehurst10-Mar-06 0:15 
GeneralRe: Controlling powerpoint?! Pin
toxcct10-Mar-06 0:20
toxcct10-Mar-06 0:20 
GeneralRe: Controlling powerpoint?! Pin
markhaslehurst10-Mar-06 0:26
markhaslehurst10-Mar-06 0:26 
QuestionSir, I want to know the diffrence between Adding a Virtual Function And Message Handler pls help me. Pin
CodeVarma9-Mar-06 20:44
CodeVarma9-Mar-06 20:44 
AnswerRe: Sir, I want to know the diffrence between Adding a Virtual Function And Message Handler pls help me. Pin
toxcct9-Mar-06 21:13
toxcct9-Mar-06 21:13 
QuestionWindow Handle and Process Handle Pin
Subramaniam s.V.9-Mar-06 19:39
Subramaniam s.V.9-Mar-06 19:39 
AnswerRe: Window Handle and Process Handle Pin
Stephen Hewitt9-Mar-06 19:49
Stephen Hewitt9-Mar-06 19:49 
A window handle (a HWND) identifies a window and a process handle (HANDLE) enables you to monitor/control a process. There is no direct meaningful conversion between them. That said writing code what enumerates all the windows handles in a given process is possible. It is also possible to go from a HWND to a HANDLE for the owning process as follows:
DWORD dwProcessID;
GetWindowThreadProcessId(hWnd, &dwProcessID);
HANDLE hProcessHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, dwProcessID);


Steve
AnswerRe: Window Handle and Process Handle Pin
Monty29-Mar-06 19:49
Monty29-Mar-06 19:49 
GeneralRe: Window Handle and Process Handle Pin
Subramaniam s.V.9-Mar-06 20:00
Subramaniam s.V.9-Mar-06 20:00 
GeneralRe: Window Handle and Process Handle Pin
Monty29-Mar-06 20:03
Monty29-Mar-06 20:03 
GeneralRe: Window Handle and Process Handle Pin
Stephen Hewitt9-Mar-06 20:28
Stephen Hewitt9-Mar-06 20:28 
QuestionInternet Explorer Pin
Subramaniam s.V.9-Mar-06 19:22
Subramaniam s.V.9-Mar-06 19:22 
AnswerRe: Internet Explorer Pin
Monty29-Mar-06 19:44
Monty29-Mar-06 19:44 
GeneralRe: Internet Explorer Pin
Subramaniam s.V.9-Mar-06 20:03
Subramaniam s.V.9-Mar-06 20:03 
GeneralRe: Internet Explorer Pin
Monty29-Mar-06 20:13
Monty29-Mar-06 20:13 
Question3 win32 applications running parallel Pin
BeakX9-Mar-06 18:36
BeakX9-Mar-06 18:36 
AnswerRe: 3 win32 applications running parallel Pin
Monty29-Mar-06 19:05
Monty29-Mar-06 19:05 
GeneralRe: 3 win32 applications running parallel Pin
BeakX9-Mar-06 19:43
BeakX9-Mar-06 19:43 
GeneralRe: 3 win32 applications running parallel Pin
Monty29-Mar-06 20:00
Monty29-Mar-06 20:00 
GeneralRe: 3 win32 applications running parallel Pin
Stephen Hewitt9-Mar-06 20:59
Stephen Hewitt9-Mar-06 20:59 
QuestionStoring Data Pin
Waldermort9-Mar-06 18:33
Waldermort9-Mar-06 18:33 
AnswerRe: Storing Data Pin
Monty29-Mar-06 18:59
Monty29-Mar-06 18:59 
AnswerRe: Storing Data Pin
kakan9-Mar-06 21:16
professionalkakan9-Mar-06 21:16 
AnswerRe: Storing Data Pin
toxcct9-Mar-06 22:02
toxcct9-Mar-06 22:02 

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.