home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.msdos.programmer
- Path: 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
-
- 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.
-