Mouse Move Capture
-
Hi All,i want to capture mouse move over a CButton(Button Controls) in a dialog.Whenever i move mouse over a button i want to change the button properties eg : button color, button picture(Bitmap). Please any one have any idias or any examples, which helps me. Thanks in Advance
-
Hi All,i want to capture mouse move over a CButton(Button Controls) in a dialog.Whenever i move mouse over a button i want to change the button properties eg : button color, button picture(Bitmap). Please any one have any idias or any examples, which helps me. Thanks in Advance
hapyy coding with TRACKMOUSEEVENT tme;//class member !!! tme.cbSize = sizeof(tme); tme.dwFlags = TME_LEAVE|TME_HOVER; tme.dwHoverTime = 1; _TrackMouseEvent(&tme);// and ON_MESSAGE(WM_MOUSELEAVE, OnMouseLeave) ON_MESSAGE( WM_MOUSEHOVER, OnMouseHover ) Press F1 for help or google it. Greetings from Germany