954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Win32 - Custom edit controls

Hi guys,

I am trying to create a edit control, with pure win32. When the return key is pressed I would like it to run a section of code. I have tried getting it to handle the return key message through the main windows message handler. Unfortunately that causes it to play a sound every time I press the return key instead of running the code... Would I be right in thinking that I should create a custom control and handle the message through a custom message handler, or is there a better way of doing this entirely?

Thanks for you help.

NubTruck
Newbie Poster
10 posts since Jan 2010
Reputation Points: 25
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: