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

C / C++ / MFC

 
GeneralRe: Must a view be derived from CWnd when... ? Pin
jhwurmbach11-Nov-02 3:38
jhwurmbach11-Nov-02 3:38 
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 
Can we get a little more help on this issue. I have been trying to do this for the past week but no luck...I have four ownerdrawn windows on my main window for which I would like to use the hand cursor like in internet explorer but all I get is the stinken' arrow. Here is the code that I use.

WM_MOUSEMOVE:

x = LOWORD (lParam);
y = HIWORD (lParam);

RECT rect;

GetWindowRect(hwndView, &rect); // Handle to one of the owner drawn buttons

if ( ( x >= rect.left && x <= rect.right ) &&
( y >= rect.bottom && y <= rect.top )
)
ShowCursor(hCursor);

break;

All with no luck...Is there a difference in the coordinates of the mouse and the ones received by GetWindowRect? If so shouldn't the mouse cursor appear somewhere else on the window...for me, just the stinken' arrow Cry | :((
GeneralRe: Cursor change Pin
jhwurmbach11-Nov-02 22:14
jhwurmbach11-Nov-02 22:14 
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 

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.