Windows C++ Library
|
#include <Cursor.hpp>
Public Member Functions | |
CCursor () | |
~CCursor () | |
void | LoadRsc (uint nRscID) |
void | LoadRsc (const tchar *pszRsc) |
HCURSOR | Handle () const |
void | Release () |
Release the resource. | |
Static Public Member Functions | |
static CPoint | CurrentPos () |
Get the current cursor postion in screen co-ordinates. | |
static CPoint | CurrentPos (HWND hWnd) |
Get the current cursor postion in window co-ordinates. | |
Protected Attributes | |
HCURSOR | m_hCursor |
bool | m_bOwner |
Private Member Functions | |
CCursor (const CCursor &) | |
CCursor & | operator= (const CCursor &) |
CCursor::CCursor | ( | ) |
CCursor::CCursor | ( | const CCursor & | ) | [private] |
void CCursor::LoadRsc | ( | uint | nRscID | ) |
void CCursor::LoadRsc | ( | const tchar * | pszRsc | ) |
HCURSOR CCursor::Handle | ( | ) | const [inline] |
void CCursor::Release | ( | ) |
Release the resource.
CPoint CCursor::CurrentPos | ( | ) | [static] |
Get the current cursor postion in screen co-ordinates.
CPoint CCursor::CurrentPos | ( | HWND | hWnd | ) | [static] |
Get the current cursor postion in window co-ordinates.
Get the current cursor postion in screen co-ordinates.
HCURSOR CCursor::m_hCursor [protected] |
bool CCursor::m_bOwner [protected] |