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

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!riacs!speclab.cr.usgs.gov!ngorelic
  3. From: ngorelic@speclab.cr.usgs.gov.cr.usgs.gov (Noel S. Gorelick)
  4. Subject: Re: HELP with user draw buttons
  5. Message-ID: <1992Nov17.025140.21367@riacs.edu>
  6. Sender: news@riacs.edu
  7. Reply-To: ngorelic@speclab.cr.usgs.gov
  8. Organization: MercWorks, Denver
  9. X-Newsreader: TIN [version 1.1 PL6]
  10. References: <Nov.16.16.15.12.1992.29842@andromeda.rutgers.edu>
  11. Date: Tue, 17 Nov 92 02:51:40 GMT
  12. Lines: 22
  13.  
  14. Talib K. Morgan (tmorgan@andromeda.rutgers.edu) wrote:
  15. : I would like to create a user draw push button that would appear clear to the 
  16. : user of the program until they click on that button.  Could someone tell if 
  17. : this is possible.  The userbutton, to the user, would only appear to contain
  18. : text.  It would be really nice if I could make the pushbutton any color that I
  19. : chose.  Is this possible?
  20. : Talib
  21. : tmorgan@andromeda.rutgers.edu
  22.  
  23. If its not in a dialog box, it is trivial...  Just put up a window where you
  24. want it, with whatever you want in it, and no border...  It can be made
  25. to appear transparent.  Then just process mouse messages.
  26.  
  27. If its in a dialog, you will need a custom control...  Outta my experence.
  28. (If you are using borland, though, their custom controls allow this
  29.  quite easily.)
  30.  
  31. --
  32. "You want it should sing too?"   | /*  Yeah we got dogs and Valvoline
  33.   ngorelic@speclab.cr.usgs.gov   |     Its a pretty damn good time.    */
  34. "Life is pain. Anyone that tells you different is trying to sell you something"
  35.