HANDLE - what exactly is it ?
-
Hello again :) I have a question : What is a handle ? Is it something like pointer ? What is difference for example between HWND and a Cwnd ? Please give me some explicit explanations. Thank you.
-
Hello again :) I have a question : What is a handle ? Is it something like pointer ? What is difference for example between HWND and a Cwnd ? Please give me some explicit explanations. Thank you.
big_denny_200 wrote:
What is a handle ?
A handle is a unique serial number for Windows (and managed by Windows) to identify an instance (or a system object like a window, an event, a timer, a mutex, ... ).
big_denny_200 wrote:
What is difference for example between HWND and a Cwnd ?
HWND is a handle: the concept to Windows programming. CWnd is a class type: the concept to C++ language. This type is defined in MFC Library. -- modified at 16:58 Friday 2nd June, 2006 class CWnd has a data member of type HWND.
Maxwell Chen