Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWinApp::LoadStandardCursor
CWinApp                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  HCURSOR LoadStandardCursor( LPSTR lpCursorName );
 
  Parameter      Description
 
  <lpCursorName> An IDC_ manifest constant identifier that specifies a
                 predefined Windows cursor. These identifiers are defined
                 in WINDOWS.H. The following list shows the possible
                 predefined values for <lpCursorName>:
 
                 Value          Meaning
 
                 IDC_ARROW      Standard arrow cursor
 
                 IDC_IBEAM      Standard text-insertion cursor
 
                 IDC_WAIT       Hourglass cursor used when Windows
                                performs a time-consuming task
 
                 IDC_CROSS      Cross-hair cursor for selection
 
                 IDC_UPARROW    Arrow pointing straight up
 
                 IDC_SIZE       Cursor to use when resizing a window
 
                 IDC_ICON       Cursor to use when dragging a file
 
                 IDC_SIZENWSE   Two-headed arrow with ends at upper left
                                and lower right
 
                 IDC_SIZENESW   Two-headed arrow with ends at upper right
                                and lower left
 
                 IDC_SIZEWE     Horizontal two-header arrow
 
                 IDC_SIZENS     Vertical two-headed arrow
 
  Remarks
 
  Loads the Windows predefined cursor resource specified by
  <lpCursorName>.
 
  Use LoadStandardCursor or the LoadOEMCursor member function to access
  the predefined Windows cursors.
 
  Return Value
 
  A handle to a cursor resource. If unsuccessful, returns NULL.
 
  See Also
 
  CWinApp::LoadOEMCursor, CWinApp::LoadCursor, ::LoadCursor
 
 
                                     -♦-