Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ListView: Disable Column Resize?

642 views
Skip to first unread message

Jon Little

unread,
Feb 13, 2001, 12:44:05 PM2/13/01
to
Is it possible to stop a user resizing the columns in a ListView control? I
can stop them reordering them, but can't find anything to stop them changing
the width.

Many thanks for your help
Jon


Ken Halter

unread,
Feb 13, 2001, 1:34:41 PM2/13/01
to
See:

Subclassing and Responding to Notifications from the ListView Header
http://www.mvps.org/vbnet/code/subclass/lvheadernotifications.htm

If you put the sample together, you'll notice that one of the headers won't
resize (it's size is locked)...

"Jon Little" <nospam_jona...@sap.com_nospam> wrote in message
news:96brp3$o5c$1...@news1.wdf.sap-ag.de...

Jon Little

unread,
Feb 14, 2001, 3:58:28 AM2/14/01
to
Many thanks Ken. Looks good

"Ken Halter" <KHa...@KHalter.8k.com> wrote in message
news:uDg0fuelAHA.1396@tkmsftngp05...

0 new messages