I use:
MessageBox(nullptr, "Hello, World!", "Test", MB_OK);
But I need to use SetCursor function (my abstract task).
For example:
SetCursor(LoadCursor(nullptr, IDC_NO));
Is it possible for MessageBox?
Or any primitive implementation with a window will do...
If you need more functional than what the
MessageBox
provides, it's way simpler to useDialogBoxParam
. However, if want do this exactly withMessageBox
, you could useSetWindowsHookExW
to take control insideMessageBox
call and then subclass its window.