home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4838 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.5 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!uwm.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: Icons in the title bar (a la EPM in ring enabled mode)
  5. Message-ID: <1992Sep9.132808.5880@njitgw.njit.edu>
  6. Date: 9 Sep 92 13:28:08 GMT
  7. References: <h1qn40+.msmith@netcom.com>
  8. Sender: news@njit.edu
  9. Distribution: comp.os.os2.programmer
  10. Organization: New Jersey Institute of Technology, Newark, N.J.
  11. Lines: 20
  12. Nntp-Posting-Host: hertz.njit.edu
  13.  
  14. In article <h1qn40+.msmith@netcom.com> msmith@netcom.com (Martin P. Smith) writes:
  15. >The subject pretty much says it for me. How can I create icons in the title
  16. >bar. I would really like to build this capability into a product I am
  17. >developing. I have looked through the programmers guide volume two but
  18. >cannot seem to find the relevant info.       
  19.  
  20. You may not be able to do it with WinCreateStdWindow.  You may have to
  21. do a WinCreateWindow, and create the elemnts by hand.  Then when you
  22. get to the titlebar, you can slip in your own window class.  Perhaps
  23. simply a title bar with an OWNERDRAW characteristic (can you do that?)
  24.  
  25. But I've no experience with this, so there may be an easier way.
  26.  
  27.  
  28.  
  29. -- 
  30.    |)  David Charlap           "TELEPHONE, n.  An Invention of the devil which
  31.   /|_  dic5340@hertz.njit.edu   abrogates some of the advantages of making a
  32.  ((|,)                          disagreeable person keep his distance."
  33.   ~|~                              --- Ambrose Bierce, The Devil's Dictionary
  34.