Solved

Capturing TListWindow Column Resize

Posted on 1997-04-15
2
221 Views
Last Modified: 2012-06-27
I'm with the other guys here, and am willing to add my share of points to the pot for the answer to this question!  I'll donate all 181 points to anyone who can figure out how to capture the column resize event in a TListWindow (or ListView control under MS)!
0
Comment
Question by:ocurance
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:ocurance
ID: 1162738
Adjusted points to 196.5
0
 
LVL 3

Accepted Solution

by:
gaohong earned 190 total points
ID: 1162739
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

688 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