Solved

WM_SIZE event

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

13 Experts available now in Live!

Get 1:1 Help Now