Jump to content
  • Advertisement
Sign in to follow this  
K-Zodron

Win32 API keypresses

This topic is 4795 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I'm coding some shit with Win32 API, but now I crashed into a problem :'( The prob is that I can't find out how to check for keypresses while "typing" in a textbox. When you are outside the textbox (That is, not clicked on it with your mouse) the keypresses work fine... So..is there anyone out there who maybe knows how these things work? Thanks in advance, K-Zodron Ps. I can give more info if needed ;p

Share this post


Link to post
Share on other sites
Advertisement
More information would be nice. What language are you developing in? What tools are you using? How are you creating your window and textbox? Can you post the code of your window creation (if you are creating it directly with the API and not a dialog-manager tool) and the code of the window's message handler function?

Share this post


Link to post
Share on other sites
Quote:
Original post by ApochPiQ
More information would be nice. What language are you developing in? What tools are you using? How are you creating your window and textbox? Can you post the code of your window creation (if you are creating it directly with the API and not a dialog-manager tool) and the code of the window's message handler function?


I use c++, WINAPI :p

Link to the source code: http://pelikatu.net/lataa/main.cpp (YEs has much useless crap, but mainly a test file :P)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!