🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #509

Resizing a list box within a resource

#509
From: George Mills
Date: Tue, 06 Oct 1992 22:52
13 lines
946 bytes
I have an application in which there is a "resourced" dialogbox.
I would like to resize a listbox within the dialbox according
to how the user resizes the dialogbox window. I know how to catch
the resize events and what the new window size is but I know how
to resize a lisbox within a resourced dialbox.

In other words what message do I send to the listbox to resize it.

Is it possible? Am I missing something? Are resources always fixed?

I'm using Turbo C++, if that matters.

Thanks for any help.
Technical Details
Message-ID: <mills.718411958@dialup.athena.lkg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!att-out!pacbell.com!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!amber!dialup.athena.lkg.dec.com!mills

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!att-out!pacbell.com!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!amber!dialup.athena.lkg.dec.com!mills
From: mills@athena.lkg.dec.com (George Mills)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Resizing a list box within a resource
Keywords: listbox resource
Message-ID: <mills.718411958@dialup.athena.lkg.dec.com>
Date: 6 Oct 92 22:52:38 GMT
Distribution: usa
Lines: 13