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

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!cortex.prospect.com!mboucher
  3. From: mboucher@cortex.prospect.com (Mike Boucher)
  4. Subject: Listbox help needed
  5. Sender: nobody@ctr.columbia.edu
  6. Organization: Cortex Corporation, Waltham, MA, USA
  7. Date: Mon, 16 Nov 1992 22:42:41 GMT
  8. Message-ID: <1992Nov16.174241.1@cortex>
  9. Lines: 16
  10. X-Posted-From: cortex.prospect.com
  11. NNTP-Posting-Host: sol.ctr.columbia.edu
  12.  
  13. Hey there,
  14.  
  15. I've got a few listbox questions...
  16.  
  17. 1) I have defined a listbox in a dialog resource file, using courier 9 as the
  18.   font.  When I GetTextMetrics, I get the information for the system font.
  19.   Any ideas why? What do I have to do to get the right font info?
  20. 2) Any ideas on how to get the maximum number of items which would be VISIBLE
  21.   in the list box?
  22.  
  23. any help would be appreciated.  Thanx.
  24. Mike
  25. -- 
  26. Mike Boucher            mboucher@cortex.prospect.com
  27. Cortex Corp            "Don't take life too seriously, you'll never
  28. Waltham, MA, USA         get out of it alive!"
  29.