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

C / C++ / MFC

 
GeneralRe: Must a view be derived from CWnd when... ? Pin
Chen Jiadong11-Nov-02 4:20
Chen Jiadong11-Nov-02 4:20 
GeneralRe: Must a view be derived from CWnd when... ? Pin
jhwurmbach11-Nov-02 4:34
jhwurmbach11-Nov-02 4:34 
GeneralRe: Must a view be derived from CWnd when... ? Pin
Chen Jiadong11-Nov-02 4:47
Chen Jiadong11-Nov-02 4:47 
GeneralCursor change Pin
Dennis L11-Nov-02 1:58
Dennis L11-Nov-02 1:58 
GeneralRe: Cursor change Pin
KarstenK11-Nov-02 2:20
mveKarstenK11-Nov-02 2:20 
GeneralRe: Cursor change Pin
vgkotha11-Nov-02 4:25
vgkotha11-Nov-02 4:25 
GeneralRe: Cursor change Pin
Anonymous11-Nov-02 5:02
Anonymous11-Nov-02 5:02 
GeneralRe: Cursor change Pin
jhwurmbach11-Nov-02 22:14
jhwurmbach11-Nov-02 22:14 
anonymous wrote:
Is there a difference in the coordinates of the mouse and the ones received by GetWindowRect?

Yes! As MSDN clearly states (in the entry for WM_MOUSEMOVE):"The coordinate is relative to the upper-left corner of the client area."

So a simple ClientToScreen() on the mouse coordinates should help.
GeneralRe: Cursor change Pin
georgiek5012-Nov-02 4:02
georgiek5012-Nov-02 4:02 
GeneralAdding a pane to the Status Bar. Pin
WREY11-Nov-02 1:29
WREY11-Nov-02 1:29 
GeneralRe: Adding a pane to the Status Bar. Pin
Anonymous11-Nov-02 1:54
Anonymous11-Nov-02 1:54 
General??? error Pin
Anonymous11-Nov-02 1:19
Anonymous11-Nov-02 1:19 
GeneralRe: ??? error Pin
WREY11-Nov-02 1:34
WREY11-Nov-02 1:34 
GeneralRe: ??? error Pin
Anonymous11-Nov-02 1:46
Anonymous11-Nov-02 1:46 
GeneralRe: ??? error Pin
WREY11-Nov-02 2:33
WREY11-Nov-02 2:33 
GeneralRe: ??? error Pin
Tim Smith11-Nov-02 3:52
Tim Smith11-Nov-02 3:52 
GeneralRe: ??? error Pin
cradle11-Nov-02 1:37
cradle11-Nov-02 1:37 
GeneralRe: ??? error Pin
Anonymous11-Nov-02 2:23
Anonymous11-Nov-02 2:23 
Questionwhat can happen? (Creating controls on the fly with the same resource name...) Pin
Joan M11-Nov-02 1:15
professionalJoan M11-Nov-02 1:15 
AnswerRe: what can happen? (Creating controls on the fly with the same resource name...) Pin
567890123411-Nov-02 3:43
567890123411-Nov-02 3:43 
General_outp problem Pin
viliam11-Nov-02 0:39
viliam11-Nov-02 0:39 
GeneralRe: _outp problem Pin
Daniel Turini11-Nov-02 0:52
Daniel Turini11-Nov-02 0:52 
Generalprocessor usage Pin
Josus10-Nov-02 23:42
Josus10-Nov-02 23:42 
GeneralDLL problem!!!! Pin
cradle10-Nov-02 23:18
cradle10-Nov-02 23:18 
GeneralRe: DLL problem!!!! Pin
Stephane Rodriguez.10-Nov-02 23:28
Stephane Rodriguez.10-Nov-02 23:28 

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.