Each control has special messages/Notification, you should always use those Notifications related to that control, check it in MSDN. WM_KEYDOWN will be posted to windows and you may receive it if you want to get clicks from client area or other sections of that window (except other control sections inside it)