home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!corton!sophia!aldebaran.inria.fr!baillett
- From: baillett@aldebaran.inria.fr (Jean-Francois Baillette)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Need serious help with BC++3.0, WIN3.1 & OWL
- Message-ID: <26960@sophia.inria.fr>
- Date: 14 Aug 92 10:38:55 GMT
- Sender: news@sophia.inria.fr
- Reply-To: ${USER}@sophia.inria.fr
- Organization: Inria Sofia Antipolis
- Lines: 55
-
-
-
- Hello happy(:-)) Windows programmers !
-
-
- I really need HELP for :
-
- (1) I build a Windows application with Borland C++ 3.0 and ObjectWindows
- Library in wich I want to activate buttons when I press function keys.
-
- I tried to load an accelerators table where each virtual function (one by
- function key) called the virtual function of the right button (e.g. virtual
- void CMF1 = [CM_FIRST+ID_BUTTON1] call virtual void HandleBt1Msg =
- [ID_FIRST+ID_BUTTON1]).
- Each accelerator has the same ID as the button it may activate.
-
- But this works one time and that's all (i.e. I press one function key, it
- activates the right processing and after, any function key can be used !).
-
- (2) How can I say to windows that a button is clicked ? I tried to send
- message BM_SETSTATE but nothing happen.
-
- (3) I have dialog boxes with controls (list box, group box and each group box
- contains two radio buttons). When I exec them (with ExecDialog(new
- TMyDialog(this,ID_MYDIALOG))), I want to change the items of the list box
- when I toggle radio buttons. And sometimes it works fine, sometimes it
- never works, sometimes it works when it wants !
-
- I intercept the group box notification message, and I switch on the state
- of the radio buttons of this group box. May I use radio button
- notification messages instead of the group box ones ?
-
-
- I know that I ask a lot of things here but I spent time and time and I didn't
- find the answers.
-
- I'll be pleased to receive examples, I don't have a lot of time more to finish
- my application ... and Windows is only a little part of it !
-
- Thanks by advance (and please answer by email, I'll send the answers I will
- receive to anyone who'll ask it to me).
-
-
- ===============\---------------------------------------------/=================
- INRIA - 2004 Rte\ Lionel AUBERTIN / ESSI - 157 Rue
- des Lucioles \ / A. Einstein
- BP 93 - 06902 \ aubertin@pax.inria.fr (33)93657650 / BP 145 -06109
- Sophia Antipolis \ aubertin@essi.cerisi.fr (33)93954428/ Sophia Antipolis
- ====================\-----------------------------------/======================
- " Pourquoi faire simple quand on peut faire complique ? "
- ===============================================================================
- \____________ ____________/
- \ /
- \ /
- ^
-