Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

WM_SIZE event

Posted on 1998-01-16
1
Medium Priority
?
279 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 150 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

610 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