🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #297

Borland Buttons in TPW?

#297
From: 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) } ;
Technical Details
Message-ID: <1992Apr10.223113.13570@DMI.USherb.CA>
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!bonnie.concordia.ca!garrot.DMI.USherb.CA!terre!trepe00

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!bonnie.concordia.ca!garrot.DMI.USherb.CA!terre!trepe00
From: trepe00@terre.DMI.USherb.CA (Eric Trepanier)
Newsgroups: comp.windows.ms.programmer
Subject: Borland Buttons in TPW?
Message-ID: <1992Apr10.223113.13570@DMI.USherb.CA>
Date: 10 Apr 92 22:31:13 GMT
Sender: usenet@DMI.USherb.CA (Pour courrier Usenet)
Organization: Universite de Sherbrooke -- DMI
Lines: 29
Nntp-Posting-Host: terre