home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3510 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.5 KB  |  44 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!usc!rpi!uwm.edu!spool.mu.edu!sgiblab!cs.uoregon.edu!news.uoregon.edu!news.u.washington.edu!carson.u.washington.edu!bytor
  3. From: bytor@carson.u.washington.edu (Jill Patterson)
  4. Subject: Re: OWL Dialog Bitmaps
  5. Message-ID: <1992Nov18.051346.24337@u.washington.edu>
  6. Keywords: borland c++ owl dialog bitmap
  7. Sender: news@u.washington.edu (USENET News System)
  8. Organization: University of Washington
  9. References: <Bxtu1L.BHA@usenet.ucs.indiana.edu>
  10. Date: Wed, 18 Nov 1992 05:13:46 GMT
  11. Lines: 31
  12.  
  13. ezachris@dakota.ucs.indiana.edu writes:
  14.  
  15. >Howdy!
  16.  
  17. >I'd like to display a .BMP in a dialog box derived from TBDialog or  
  18. >TDialog. I've used the Resource Workshop to design the dialog complete  
  19. >with a bitmap control. 
  20.  
  21. >What's the easiset way to make a pretty picture appear when I open the  
  22. >dialog? 
  23. The Easiest way to do this is to create a bitmap resource,
  24. After you have created it, Rename it using
  25.  
  26. Rename Resource
  27.  
  28. Give it a number for a name in the range of 1200-1899 I believe.  Then
  29. in your dialog resource, give your bitmap control the ID number of your
  30. bitmap resource - 1000.
  31.  
  32. For Example if you created a bitmap with the name of 1888, then you
  33. would give your bitmap control and id of 888,  then simply choose
  34. test dialog, and you should see you bitmap displayed in the Dlg box in
  35. all its beauty!
  36.  
  37. bytor@carson.washington.edu
  38.  
  39. >Many thanks in advance!
  40.  
  41. >Espen Zachrisen
  42. >Indiana University
  43. >ezachris@arapahoe.ucs.indiana.edu
  44.