Mouse over button
-
Hi all, In a dialog,im having a button.If i move my mouse over that button,I need to open a file.How to find out wther the mouse is over a button.I subclass that CButton class and captured that mouse action over a button using OnMouseMove function.But how can i send this response to parent dialog? Can anyone please help me? Thanks,
-
Hi all, In a dialog,im having a button.If i move my mouse over that button,I need to open a file.How to find out wther the mouse is over a button.I subclass that CButton class and captured that mouse action over a button using OnMouseMove function.But how can i send this response to parent dialog? Can anyone please help me? Thanks,
you could: 1. send a message to the parent CWnd or 2. pass a pointer to the parent to the button on creation, then call a public member on the parent
-
you could: 1. send a message to the parent CWnd or 2. pass a pointer to the parent to the button on creation, then call a public member on the parent