Skip to main content
GameDev.net gamedev.net
🔒 Locked

Edit Box small problem

Started by White Rabbit Jan 23, 2003 at 1:16 AM 0 replies 300+ views
Original Post
White Rabbit
White Rabbit
Hi there, I've looked on a complete win32 api reference and a win32 api book and i can't seem to find a solution for this, i want to make a edit box similiar to those found on mIRC, you write whatever you want, you press enter, the info is processed and the text field clear. Now, the problem is, i can get the text inside the edit box just fine, but i can't capture the enter keypress, i also can't capture the tab and the escape, i tryed to do this by capturing the WM_KEYDOWN message on the main window peocedure, and it didn't work, i'm a bit confused i don't know what's wrong, some of what i read on source, on my book and my reference sugest this should be correct. Can someone show me some light? What's wrong? Do i need a separate procedure to capture the edit box messages? How do i capture the enter key in a single line edit box using c/c++? [edited by - white rabbit on January 23, 2003 2:23:47 AM]
"Follow the white rabbit."

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.