nav-left cat-right
cat-right
Home > Blog > 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 markiert *

*


*

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Spam Protection by WP-SpamFree