LoadCursor 系统默认的光标为如下 Value Description IDC_APPSTARTING Standard arrow and small hourglass IDC_ARROW Standard arrow IDC_CROSS Crosshair IDC_HAND Windows NT 5.0 and later: Hand IDC_HELP Arrow and question IDC_IBEAM I-beam IDC_ICON Obsolete for applications ed version 4.0 or later. IDC_NO Slashed circle IDC_SIZE Obsolete for applications ed version 4.0 or later. Use IDC_SIZEALL. IDC_SIZEALL Four-pointed arrow pointing north, south, east, and west IDC_SIZENESW Double-pointed arrow pointing northeast and southwest IDC_SIZENS Double-pointed arrow pointing north and south IDC_SIZENWSE Double-pointed arrow pointing northwest and southeast IDC_SIZEWE Double-pointed arrow pointing west and east IDC_UPARROW Vertical arrow IDC_WAIT Hourglass
::SetClassLong(GetSafeHwnd(),GCL_HCURSOR,(LONG)hcur);
系统默认的光标为如下
Value Description
IDC_APPSTARTING Standard arrow and small hourglass
IDC_ARROW Standard arrow
IDC_CROSS Crosshair
IDC_HAND Windows NT 5.0 and later: Hand
IDC_HELP Arrow and question
IDC_IBEAM I-beam
IDC_ICON Obsolete for applications ed version 4.0 or later.
IDC_NO Slashed circle
IDC_SIZE Obsolete for applications ed version 4.0 or later. Use IDC_SIZEALL.
IDC_SIZEALL Four-pointed arrow pointing north, south, east, and west
IDC_SIZENESW Double-pointed arrow pointing northeast and southwest
IDC_SIZENS Double-pointed arrow pointing north and south
IDC_SIZENWSE Double-pointed arrow pointing northwest and southeast
IDC_SIZEWE Double-pointed arrow pointing west and east
IDC_UPARROW Vertical arrow
IDC_WAIT Hourglass