BR> Help! Borland C++ OWL
BR> I am a raw Borland C++ Object Windows programmer
BR> with some Pascal experience.
BR>
BR> I used a Borland example program TRANSTEST.CPP which creates BR> a main
window and then executes a dialog to produce a POPUP style BR> dialog window.
The dialog window has edit boxes and push buttons. BR>
BR> To gain access to the main window menu while in the dialog, I replaced
BR> execution of the dialog with creation of the dialog. No problems. BR>
BR> Then to glue the dialog to the main window, I changed the style of the
BR> dialog in the resource file from POPUP to CHILD. The gluing was BR>
effective and the dialog worked fine for mouse operation and for data BR>
entry into the edit boxes and for data transfer in and out, but tabbing BR>
between edit boxes was now disabled and keyboard selection of BR> push
buttons was also disabled. Now pressing of Tab or keyboard operation BR> of a
push button produced a beep. Also focus could no longer shifted BR> from the
main window to the dialog window, ie the main window title bar BR> remained
highlighted when the dialog window title bar was clicked. BR>
BR> I have tried (1) loading accelerators (2) using SetFocus() BR> (3) using
SetKBHandler() to try to get keyboard operation fully BR> functional, but
without success. I may not have implemented these BR> correctly.
BR>
BR> Please, can anyone advise what should work.
---
---------------
* Origin: Melbourne PC User Group BBS (3:632/309)
|