🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
2 messages
2 total messages Started by Eric Trepanier Fri, 10 Apr 1992 22:31
Borland Buttons in TPW?
#297
Author: Eric Trepanier
Date: Fri, 10 Apr 1992 22:31
29 lines
1455 bytes
Hello,

I have a small problem.  I want to draw "Borland Buttons" in my Window,
in a TPW/OWL program.  I can do it easily in Turbo C++ because the type
TBButton is defined, which represents a Borland Button.

Thus the following call in my window's constructor:

new TBButton(this, ID_SYSMENU, "&S", -1, -1, WTBBUTTON, HTBBUTTON, TRUE);

will create a default push button, Borland Style.

However, the object TBButton is not defined in Turbo Pascal's OWL library.
If I use a TButton instead, it dosn't show up with the associated bitmaps,
it's just a plain'ol button.  Can someone tell me how to draw Borland
Buttons in a window?  I can do it fine in a dialog, but I need to have
some in a window as well.

Many thanks in advance,


Eric
PS: Please mail replies at eric@tgm.Sherb.CAM.ORG
-- 
class TSignature : public TUsefulInfo { public:
  TSignature (LPSTR Name, LPSTR Address) : 
    TUsefulInfo ("Eric Trepanier", "trepe00@dmi.usherb.ca") {} ;
  void virtual Disclaimer (LPSTR LegalStuff) } ;
Re: Borland Buttons in TPW?
#327
Author: Zen [Stuart Bishop]
Date: Mon, 13 Apr 1992 18:57
20 lines
1402 bytes
trepe00@terre.DMI.USherb.CA (Eric Trepanier) writes:


:)new TBButton(this, ID_SYSMENU, "&S", -1, -1, WTBBUTTON, HTBBUTTON, TRUE);

:)will create a default push button, Borland Style.

If you are trying to do what I think you are trying to do (ie. Use those
pretty ticks and crosses for buttons) then I suggest you look at one of the
demos that came with TPW. I can't remember the exact name, sorry, but 
Borland have kindly provided a nice TPW unit to help you :-)
-- 

 _____                                                                
//  //    __                Two elephants fell off a cliff. Boom Boom.   //
   //    /  \   I\ I                                                    //
  //    (--     I \I  alias            for a good time call            //
 //      \__/   I  I  Stuart Bishop     s902114@minyos.xx.rmit.oz.au  //
((___________________________________________________________________//
                  This Student's Views, Not My Uni's
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads