🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #612

Borland C++ OWL question.

#612
From: J. Chris Clark
Date: Mon, 09 Nov 1992 15:50
16 lines
1088 bytes
I'm using OWL with Borland C++ and can't get a modeless dialog to use the
keyboard interface.  I've made my own dialog class descended from TDialog
and have tried both of the following lines in the constructor:

EnableKBHandler();
GetApplication()->SetKBHandler(this);

From the (scarce) docs it looks like either one of these should do the trick,
but neither works, alone or together.
Modal dialogs seem to invoke the keyboard handler automatically, so I don't
have a problem with them, but this modeless one is beginning to get just a
little frustrating!

Anyone have any sugggestions?  Any little tricks that aren't in the docs?
Thanks in advance.
Chris C.
Technical Details
Message-ID: <9NOV199210502726@trentu.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!blaze.trentu.ca!trentu.ca!cclark

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!blaze.trentu.ca!trentu.ca!cclark
From: cclark@trentu.ca (J. Chris Clark)
Subject: Borland C++ OWL question.
Message-ID: <9NOV199210502726@trentu.ca>
News-Software: VAX/VMS VNEWS 1.41    
Sender: news@trentu.ca (USENET News System)
Organization: Trent University Computer Services Department
Date: Mon, 9 Nov 1992 15:50:00 GMT
Lines: 16