nav-left cat-right
cat-right
Matthias Pospiech > Programming > C++ > MFC > changing of the mouse cursor

changing of the mouse cursor

The following code sets the mouse cursor to the waiting state and back to its default before:

	HCURSOR hCursorWait;
	HCURSOR hCursorDefault;
	hCursorWait = LoadCursor(NULL,IDC_WAIT);
	hCursorDefault = ::SetCursor(hCursorWait);
 
	::SetCursor(hCursorDefault);

Einen Kommentar schreiben

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

*

This blog is kept spam free by WP-SpamFree.