Sorry for my dumb question, but are wndproc and hooks in the main thread (when called)?
If they are does it mean I can not use them for build buffer for keyboard input?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your window procedure (and any subclassed window procedures, hooks, etc) run in the thread which called
CreateWindow(it’s a requirement for that same thread to later process the message queue, window procedures actually run when your main message dispatch loop callsDispatchMessage).Not sure what you mean by “build buffer for keyboard input”.