🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2675

Re: Borland "BorDlg" button problem

#2675
From: Dmitry Ye. Kolosov
Date: Mon, 11 Jan 1993 10:52
24 lines
1615 bytes
In comp.os.ms-windows.programmer.misc article
    <LOUIS.93Jan8221009@obelix.newshost.uwo.ca> Chan Louis writes:

>	I am using Borland C++ 3.1 with the Dialog class BorDlg, which is 
>the Borland Window Custom Controls.  I know how to create those Ok, Cancel
>nice looking Custom Control buttons.  My problem is that I also
>want to create the same bitmmaped buttons (New, Change, Delte) as in the
>Resource Workshop.  Is there a way to create those buttons as creating
>those OK, Cancel buttons ?

Did you try looking at the file named MANUAL.RW in your BC/DOC
directory? It lists the predefined button controls:
OK, Cancel, Abort, Retry, Ignore, Yes, No.
The file BWCCAPI.RW gives you guidelines to create new buttons.
The summary follows:
 - Add new Button from tools palette ( that with no OK in it ).
 - Note its Control ID
 - Add 3 bitmaps to your resource with ID + 1000, 3000, 5000
   for normal, pressed and focused VGA-resolution images.
 - The next time you edit dialogue the buttons will have the look
   you want.

Hope this helps.
   Dmitry - tim@ipmce.su
Technical Details
Message-ID: <HAN5LKhCt3@ipmce.su>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!fuug!kiae!demos!newsserv
References: <LOUIS.93Jan8221009@obelix.newshost.uwo.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!fuug!kiae!demos!newsserv
From: tim@ipmce.su (Dmitry Ye. Kolosov)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Borland "BorDlg" button problem
Message-ID: <HAN5LKhCt3@ipmce.su>
Date: 11 Jan 93 10:52:07 GMT
References: <LOUIS.93Jan8221009@obelix.newshost.uwo.ca>
Sender: news-service@newcom.kiae.su
Reply-To: tim@ipmce.su
Distribution: comp.os.ms-windows.programmer.misc
Organization: Inst. of Prec. Mech. & Comp. Equip., Moscow, Russia
Lines: 24