Windows C++ Library
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions
CCursor Class Reference

#include <Cursor.hpp>

List of all members.

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 &)
CCursoroperator= (const CCursor &)

Constructor & Destructor Documentation

CCursor::CCursor ( const CCursor ) [private]

Member Function Documentation

void CCursor::LoadRsc ( uint  nRscID)
void CCursor::LoadRsc ( const tchar *  pszRsc)
HCURSOR CCursor::Handle ( ) const [inline]
void CCursor::Release ( )

Release the resource.

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.

CCursor& CCursor::operator= ( const CCursor ) [private]

Member Data Documentation

HCURSOR CCursor::m_hCursor [protected]
bool CCursor::m_bOwner [protected]

The documentation for this class was generated from the following files: