Topic: ** HELP, I NEED SOME ANSWERS ON BORLAND'S OWL **


Author: watts@saifr00.ateng.az.honeywell.com (Marshall Watts)
Date: 30 Jan 1995 09:03:34 -0700
Raw View
I'm having some problems with Borland's C++ Ver 2.0 OWL.  For
the most part it's good, but some things seem funny to me. I
have a couple of question that maybe someone can help me with.

1)  I have a TPopupMenu tied to a EvRButtonDown which calls
    a TrackMenu.  This causes the Menu to be displayed as long
    as I hold the right mouse button down.  I want it to popup
    and stay up like it does on the OS/2 desktop.  HOW DO I???

2)  I tried for two hours to get a TInputDialog to work.  Copied
    it right out of the book (pg. 107 OWL Programmer Guide).  It
    keeps throwing and exception!  Step5 from the examples run
    fine.  My code is'nt any different.  Its right before the
    TrackMenu line in problem 1.  BORLAND DID'NT COMPILE THE
    OWL WITH DEBUG so I can't step in to call.  IS THERE ANY
    MAKE FILE OR SOMETHING I CAN USE TO REMAKE THE OWL WITH
    DEBUG and not screw anything up.  I could'nt find any.
    Is there anything I need to know before making it?  I
    would like to make one with debug seperate from my old
    one!!!  But I can re-install.

3)  LAST ONE!!  From the TPopupMenu I tried to exit the program
    but I could'nt make it work!  I tied the popup to CmExit,
    it Did'nt work.  I tied it to a EVCOMMAND(.., ..) and in the
    routine call EmExit,  I tried every thing,  yet nothing
    worked.  The main menu bar is tied ti CM_EXIT and it works.
    Why can't I make a popup do the same thing!!!


Marshall Watts
watts@eli887.ateng.az.honeywell.com     OR
watts@primenet.com