TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: BRIAN ROBINSON
date: 1997-08-17 13:58:00
subject: Help! Borland C++ OWL

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.