◄CWinApp► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── HCURSOR LoadCursor( LPSTR lpCursorName ); HCURSOR LoadCursor( UINT nIDCursor ); Parameter Description <lpCursorName> Points to a null-terminated string that contains the name of the cursor resource. You can use a CString in place of an LPSTR. <nIDCursor> ID number of the resource. Remarks Loads the cursor resource named by <lpCursorName> or specified by <nIDCursor> from the current executable file. LoadCursor loads the cursor into memory only if it has not been previously loaded. Use the ◄LoadStandardCursor► or ◄LoadOEMCursor► member functions to access the predefined Windows cursors. Return Value A handle to a cursor resource. If unsuccessful, returns NULL. See Also ◄CWinApp::LoadStandardCursor►, ◄CWinApp::LoadOEMCursor►, ◄::LoadCursor► -♦-