Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dlg Resizing through EN_SETFOCUS
#2
To remove focus from a control, use SetFocus hDlg.

Can also use WM_SETCURSOR instead of EN_SETFOCUS.
Function DashBoard
Code:
Copy      Help
,case WM_COMMAND goto messages2
,case WM_CTLCOLORDLG
,,ret hb
,case WM_SETCURSOR
,if lParam>>16=WM_LBUTTONDOWN and GetWinId(wParam)=67
,,if GetFocus!wParam
,,,out "expand"
,,else
,,,out "shrink"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)