1,222
社区成员
发帖
与我相关
我的任务
分享
HCURSOR hcursor = ::LoadCursor(HInstance,IDC_CROSS);
SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST + SHCNF_FLUSH, NULL, NULL);
SystemParametersInfo(SPI_SETCURSORS, 0, 0, 0); // 改变鼠标指针以后刷新#define NO_WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料
#include <shlobj.h>
#include <vcl.h>SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST + SHCNF_FLUSH, NULL, NULL);
SystemParametersInfo(SPI_SETCURSORS, 0, 0, 0); // 改变鼠标指针以后刷新#define NO_WIN32_LEAN_AND_MEAN // 从 Windows 头中排除极少使用的资料
#include <shlobj.h>
#include <vcl.h>void __fastcall TForm1::Button1Click(TObject *Sender)
{
Form1->Cursor=crCross;
Button1->Cursor=crCross;
}