用 SetClassLong 设定窗体的 HCURSOR ,要不要把类原来的 HCURSOR DeleteObject 了呢?
用 SetClassLong 设定窗体的 HCURSOR ,要不要把类原来的 HCURSOR DeleteObject 了呢?
SetClassLong(hWnd,GCL_HCURSOR,(long)LoadCursor(hInst, MAKEINTRESOURCE(IDC_CROSS)));
大约这样的代码。要不要先用 GetClassLong(hWnd, GCL_HCURSOR); 得到原来的 HCURSOR 再 DeleteObject 掉呢?