🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2074

Listbox help needed

#2074
From: Mike Boucher
Date: Mon, 16 Nov 1992 22:42
16 lines
1031 bytes
Hey there,

I've got a few listbox questions...

1) I have defined a listbox in a dialog resource file, using courier 9 as the
  font.  When I GetTextMetrics, I get the information for the system font.
  Any ideas why? What do I have to do to get the right font info?
2) Any ideas on how to get the maximum number of items which would be VISIBLE
  in the list box?

any help would be appreciated.  Thanx.
Mike
-- 
Mike Boucher			mboucher@cortex.prospect.com
Cortex Corp			"Don't take life too seriously, you'll never
Waltham, MA, USA		 get out of it alive!"
Technical Details
Message-ID: <1992Nov16.174241.1@cortex>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!sol.ctr.columbia.edu!cortex.prospect.com!mboucher

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!sol.ctr.columbia.edu!cortex.prospect.com!mboucher
From: mboucher@cortex.prospect.com (Mike Boucher)
Subject: Listbox help needed
Sender: nobody@ctr.columbia.edu
Organization: Cortex Corporation, Waltham, MA, USA
Date: Mon, 16 Nov 1992 22:42:41 GMT
Message-ID: <1992Nov16.174241.1@cortex>
Lines: 16
X-Posted-From: cortex.prospect.com
NNTP-Posting-Host: sol.ctr.columbia.edu