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
MessageBoxprovides, it's way simpler to useDialogBoxParam. However, if want do this exactly withMessageBox, you could useSetWindowsHookExWto take control insideMessageBoxcall and then subclass its window.