home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4822 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.5 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!fuug!kiae!demos!newsserv
  2. From: tim@ipmce.su (Dmitry Ye. Kolosov)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: Borland "BorDlg" button problem
  5. Message-ID: <HAN5LKhCt3@ipmce.su>
  6. Date: 11 Jan 93 10:52:07 GMT
  7. References: <LOUIS.93Jan8221009@obelix.newshost.uwo.ca>
  8. Sender: news-service@newcom.kiae.su
  9. Reply-To: tim@ipmce.su
  10. Distribution: comp.os.ms-windows.programmer.misc
  11. Organization: Inst. of Prec. Mech. & Comp. Equip., Moscow, Russia
  12. Lines: 24
  13.  
  14. In comp.os.ms-windows.programmer.misc article
  15.     <LOUIS.93Jan8221009@obelix.newshost.uwo.ca> Chan Louis writes:
  16.  
  17. >    I am using Borland C++ 3.1 with the Dialog class BorDlg, which is 
  18. >the Borland Window Custom Controls.  I know how to create those Ok, Cancel
  19. >nice looking Custom Control buttons.  My problem is that I also
  20. >want to create the same bitmmaped buttons (New, Change, Delte) as in the
  21. >Resource Workshop.  Is there a way to create those buttons as creating
  22. >those OK, Cancel buttons ?
  23.  
  24. Did you try looking at the file named MANUAL.RW in your BC/DOC
  25. directory? It lists the predefined button controls:
  26. OK, Cancel, Abort, Retry, Ignore, Yes, No.
  27. The file BWCCAPI.RW gives you guidelines to create new buttons.
  28. The summary follows:
  29.  - Add new Button from tools palette ( that with no OK in it ).
  30.  - Note its Control ID
  31.  - Add 3 bitmaps to your resource with ID + 1000, 3000, 5000
  32.    for normal, pressed and focused VGA-resolution images.
  33.  - The next time you edit dialogue the buttons will have the look
  34.    you want.
  35.  
  36. Hope this helps.
  37.    Dmitry - tim@ipmce.su
  38.