[Dev-C++] Issue with tab key in multiline edit control
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Philip B. <ph...@bl...> - 2010-03-04 15:02:35
|
Hi folks, I am having a bit of an issue with a multiline edit control that I am making with the CreateWindow function. I'm basically creating a dialog box with a large multiline edit field and a few buttons, and I want the user to be able to tab between these. If I make it a single line edit field it works fine (e.g. the tabbing behavior is just like in any standard dialog box which is what I want), but as soon as I change it to multiline then it captures the keyboard focus and then won't let go of it. In short, if I set default focus to one of the buttons then I can tab around, but as soon as the edit field gets the keyboard focus then it keeps it exclusively. This, of course, is what one would expect in an application such as notepad where the idea is to be able to do text processing, but this is not what I want in this case; I want standard dialog box tabbing functionality but with the multiline edit field. Any advice would be highly appreciated. Thanks! Kind regards, Philip Bennefall |