Click here to Skip to main content
15,917,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting what's been clicked in a CTreeCtrl Pin
Sumit Kapoor13-Jun-04 20:32
Sumit Kapoor13-Jun-04 20:32 
GeneralCreating Access file with the password Pin
Anonymous13-Jun-04 5:35
Anonymous13-Jun-04 5:35 
QuestionHow can I use and compile my project that contain 16 bit API? Pin
Behzad Ebrahimi13-Jun-04 4:26
Behzad Ebrahimi13-Jun-04 4:26 
AnswerRe: How can I use and compile my project that contain 16 bit API? Pin
John R. Shaw13-Jun-04 11:04
John R. Shaw13-Jun-04 11:04 
Generalmfc: load a cursor resource Pin
kfaday13-Jun-04 4:19
kfaday13-Jun-04 4:19 
GeneralRe: mfc: load a cursor resource Pin
Dominik Reichl13-Jun-04 5:04
Dominik Reichl13-Jun-04 5:04 
GeneralRe: mfc: load a cursor resource Pin
kfaday13-Jun-04 5:24
kfaday13-Jun-04 5:24 
GeneralRe: mfc: load a cursor resource Pin
Dominik Reichl13-Jun-04 5:59
Dominik Reichl13-Jun-04 5:59 
The remarks section of SetCursor in MSDN:

The cursor is set only if the new cursor is different from the previous cursor; otherwise, the function returns immediately.

The cursor is a shared resource. A window should set the cursor shape only when the cursor is in its client area or when the window is capturing mouse input. In systems without a mouse, the window should restore the previous cursor before the cursor leaves the client area or before it relinquishes control to another window.

If your application must set the cursor while it is in a window, make sure the class cursor for the specified window's class is set to NULL. If the class cursor is not NULL, the system restores the class cursor each time the mouse is moved.

The cursor is not shown on the screen if the internal cursor display count is less than zero. This occurs if the application uses the ShowCursor function to hide the cursor more times than to show the cursor.

Windows CE: Use the cursor component when targeting a platform that does not support mouse cursors. The only cursor this component supports is the wait cursor. Use the following code to set the wait cursor:

SetCursor(LoadCursor(NULL, IDC_WAIT));
Use the mcursor component when targeting a platform that does support mouse cursors. This component does not support color cursors.

Best regards,
Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)
(doesn't work on NT)

GeneralRe: mfc: load a cursor resource Pin
kfaday13-Jun-04 7:08
kfaday13-Jun-04 7:08 
GeneralRe: mfc: load a cursor resource Pin
Johan Rosengren13-Jun-04 9:55
Johan Rosengren13-Jun-04 9:55 
GeneralRe: mfc: load a cursor resource Pin
kfaday13-Jun-04 10:29
kfaday13-Jun-04 10:29 
GeneralRe: mfc: load a cursor resource Pin
Johan Rosengren13-Jun-04 19:46
Johan Rosengren13-Jun-04 19:46 
QuestionDebug Assertion Failed, what the f****???? Pin
Anonymous13-Jun-04 3:43
Anonymous13-Jun-04 3:43 
AnswerRe: Debug Assertion Failed, what the f****???? Pin
valikac13-Jun-04 5:53
valikac13-Jun-04 5:53 
GeneralRe: Debug Assertion Failed, what the f****???? Pin
Anonymous13-Jun-04 6:54
Anonymous13-Jun-04 6:54 
GeneralRe: Debug Assertion Failed, what the f****???? Pin
Tim Smith13-Jun-04 9:58
Tim Smith13-Jun-04 9:58 
GeneralRe: Debug Assertion Failed, what the f****???? Pin
Johan Rosengren13-Jun-04 10:00
Johan Rosengren13-Jun-04 10:00 
AnswerRe: Debug Assertion Failed, what the f****???? Pin
John R. Shaw13-Jun-04 11:16
John R. Shaw13-Jun-04 11:16 
AnswerRe: Debug Assertion Failed, what the f****???? Pin
Michael Dunn13-Jun-04 20:58
sitebuilderMichael Dunn13-Jun-04 20:58 
GeneralActivex controls (i'm getting nuts) Pin
Nitro_gen13-Jun-04 3:41
Nitro_gen13-Jun-04 3:41 
GeneralRe: Activex controls (i'm getting nuts) Pin
GermanGeorge14-Jun-04 0:32
GermanGeorge14-Jun-04 0:32 
GeneralRe: Activex controls (i'm getting nuts) Pin
Nitro_gen14-Jun-04 0:55
Nitro_gen14-Jun-04 0:55 
GeneralChat bots Pin
jimmydown13-Jun-04 3:12
jimmydown13-Jun-04 3:12 
GeneralRe: Chat bots Pin
toxcct13-Jun-04 3:29
toxcct13-Jun-04 3:29 
GeneralRe: Chat bots Pin
gamitech13-Jun-04 9:54
gamitech13-Jun-04 9:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.