Hello.
made a bitmap button (3 states up down and focus)
default is up.
using tab I can focus on the button.
disabled TAB,
I want to focus on mouse over or on mouse hover.
why does the following not work?
regardsCode:void C_MAINMENU_DIALOG::OnMouseHover(UINT nFlags, CPoint point) { btnBmpCOD1.SetBitmap(::LoadBitmap(NULL, MAKEINTRESOURCE(IDB_COD1_FOCUS))); // TODO: Add your message handler code here and/or call default // CDialog::OnMouseHover(nFlags, point); }
gerwin




Reply With Quote