SHARE
TWEET

Untitled

a guest Aug 13th, 2017 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (IsChild(hwnd, msg.hwnd) && msg.message == WM_KEYDOWN && msg.wParam == VK_TAB && GetKeyState(VK_CONTROL) < 0)
  2. {
  3.     NMHDR nmhdr;
  4.     nmhdr.idFrom = GetDlgCtrlID(hwnd);
  5.     nmhdr.hwndFrom = hwnd;
  6.     nmhdr.code = TCN_SELCHANGE;
  7.     SendMessage(hwnd, WM_NOTIFY, (WPARAM)nmhdr.idFrom, (LPARAM)&nmhdr);
  8. }
RAW Paste Data
Top