Solved

TListview Column Resize event

Posted on 1997-04-10
1
250 Views
Last Modified: 2008-03-17
How do I capture the column resizing for a TListWindow (or ListView control under Windows?)  
0
Comment
Question by:rlayton
1 Comment
 
LVL 3

Accepted Solution

by:
gaohong earned 50 total points
Comment Utility
Hell, Microsoft!  You guys try to get Column Resize message, however, there is
no such thing. But there is something worth trying.

Here is my agorithm to capture the column resizing:

remember the initial column width, IniColumnWidth;

add WM_LBUTTONUP, in LButtonUp handler, get current column width
compare with initial column width, if not same, then resized, do what you want,
after that, call default handler for LButtonup.

Hope this solves your problem
good luck

gaohong (gary) Xie

0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now