Solved

WM_SIZE event

Posted on 1998-01-16
1
265 Views
Last Modified: 2013-11-20
I have created a MDI application. In one child scrollview, I have a property sheet. This property sheet have one property page and this property page contain a list box.

My question is :

How can I resize the property sheet, the property page with the list box by resizing the scrollview ?

The WM_SIZE only arrive in the Scrollview

I have try to post the WM_SIZE message to the property page
but the value (cx and cy) must be different. How it is possible to have correct cx and cy values ?
0
Comment
Question by:mike_marquet
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1314198
In the WM_SIZE handler for the scroll view, you need to call the base class to make sure your scroll view is still working and you need to use MoveWindow on the property sheet to resize that. Then the property sheet should have the right logic to resize your property pages. However, you need to have a WM_SIZE handler in your property page to size your list box correctly.

There's a library that supports these features. It is from Nanosoft and they are located at http://www.special-events.com/.

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create frequencies of a variable from SAS dataset? 10 125
How to know only "File created" with EventLog 3 34
twoTwo  challenge 35 103
wordcount challenge 11 121
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

803 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