Click here to Skip to main content
15,915,703 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help with device context please => Pin
loket28-Jul-02 5:16
loket28-Jul-02 5:16 
Questionhow to do it Pin
Anonymous28-Jul-02 2:00
Anonymous28-Jul-02 2:00 
AnswerRe: how to do it Pin
Stan Shannon28-Jul-02 3:51
Stan Shannon28-Jul-02 3:51 
Generalcomctl32.dll crashes Pin
Rakushkin27-Jul-02 22:22
sussRakushkin27-Jul-02 22:22 
GeneralRe: comctl32.dll crashes Pin
Anonymous28-Jul-02 5:48
Anonymous28-Jul-02 5:48 
GeneralA stupid Win32 UI question - mouse tracking Pin
Anonymous27-Jul-02 21:44
Anonymous27-Jul-02 21:44 
GeneralRe: A stupid Win32 UI question - mouse tracking Pin
l a u r e n28-Jul-02 0:31
l a u r e n28-Jul-02 0:31 
GeneralRe: A stupid Win32 UI question - mouse tracking Pin
Jay Beckert28-Jul-02 4:08
Jay Beckert28-Jul-02 4:08 
Anonymous wrote:
I'm trying to create a dialog window, that becomes opaque when a mouse hovers over it and when

the mouse leaves the window, it should become transparent again.
My problem here is that when a mouse is over a control in the dialog window, it doesn't work the

way I want - the dialog does not recognize that the mouse is hovering over it.
What should I do?


You should check for the mouse hover in the controls also. Derive a class fromm your controls and override the mouse events you need to.
Anonymous wrote:
I actually would like

to do it a little bit more different: when I move the mouse over the upper-left corner of the

client area of a window the buttons should appear.


Define a rectangle with in your view in the upper-left corner of the client area and use that rectangle to test if the mouse is over it and act accordingly. Off the top of my head I can't remember the mouse event, on mouse move? Use the point you get to see if that point is in your rectangle and if so, draw your controls.Smile | :)
GeneralRe: A stupid Win32 UI question - mouse tracking Pin
Anonymous28-Jul-02 17:53
Anonymous28-Jul-02 17:53 
GeneralRe: A stupid Win32 UI question - mouse tracking Pin
Peter Occil28-Jul-02 9:22
Peter Occil28-Jul-02 9:22 
GeneralDirectX Pin
Selevercin27-Jul-02 18:16
Selevercin27-Jul-02 18:16 
GeneralRe: DirectX Pin
sultan_of_6string28-Jul-02 4:10
sultan_of_6string28-Jul-02 4:10 
GeneralRe: DirectX Pin
Mike Nordell28-Jul-02 22:23
Mike Nordell28-Jul-02 22:23 
GeneralRe: DirectX Pin
Selevercin29-Jul-02 8:09
Selevercin29-Jul-02 8:09 
QuestionWhat did I do? Pin
JohnnyG27-Jul-02 16:44
JohnnyG27-Jul-02 16:44 
GeneralSTL error handling Pin
peterchen27-Jul-02 10:36
peterchen27-Jul-02 10:36 
GeneralRe: STL error handling Pin
Alexandru Savescu27-Jul-02 20:39
Alexandru Savescu27-Jul-02 20:39 
GeneralRe: STL error handling Pin
peterchen27-Jul-02 21:35
peterchen27-Jul-02 21:35 
GeneralRe: STL error handling Pin
Mike Nordell28-Jul-02 22:28
Mike Nordell28-Jul-02 22:28 
QuestionCan a CEdit control do this?..... Pin
nss27-Jul-02 10:01
nss27-Jul-02 10:01 
AnswerRe: Can a CEdit control do this?..... Pin
peterchen27-Jul-02 10:40
peterchen27-Jul-02 10:40 
GeneralTask Bar Funtionality Replication Pin
gekoscan27-Jul-02 9:57
gekoscan27-Jul-02 9:57 
GeneralRe: Task Bar Funtionality Replication Pin
Michael P Butler27-Jul-02 10:16
Michael P Butler27-Jul-02 10:16 
Generalmessage encapsulation Pin
detect27-Jul-02 8:16
detect27-Jul-02 8:16 
GeneralRe: message encapsulation Pin
detect29-Jul-02 4:35
detect29-Jul-02 4:35 

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.