Solved

WM_SIZE event

Posted on 1998-01-16
1
269 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
[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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Perl Awk Need Help 3 145
Separate files macro - Errors on larger data set 18 76
VBA "SendKeys" Syntax for Multiple Keystrokes 7 133
Smart Camera scanning and reading information 3 126
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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