Re: Mouse clicks in EditText with CWindow as Parent
- Posted by Judith Evans <camping at ccewb.net> Apr 17, 2007
- 629 views
Rad wrote: > The EditText controls do not get focus with mouse clicks when their parent is > ChildWindow control. One can neither click and place the cursor on > them, nor can select a part or full text present in it. One response was that this could be an IDE issue. Here is a sample of what IDE produces.
include Win32Lib.ew without warning -------------------------------------------------------------------------------- -- Window Window1 constant Window1 = createEx( Window, "Window1", 0, Default, Default, 400, 300, 0, 0 ) constant CWindow3 = createEx( Window, "", Window1, 56, 24, 200, 100, w32or_all({WS_CHILD}), 0 ) openWindow(CWindow3, Normal) constant EditText4 = createEx( EditText, "EditText4", CWindow3, 8, 28, 48, 20, 0, 0 ) --------------------------------------------------------- WinMain( Window1,Normal )
I've moved the createEx statements for CWindow3 and the EditText4 as well as the openWindow(CWindow3, Normal) to an w32HOpen event or w32HActivate event and the EditText still does not respond. What needs to be changed in this program or in win32lib for this exw to work?