Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

WM_SIZING & WS_TOOLBAR WIndow Class

Posted on 1997-04-04
1
Medium Priority
?
366 Views
Last Modified: 2011-09-20
I am trying to create an IDE like the Visual C++ IDE, and
I have a docking controlbar window derived from CDialogBar that contains a few controls that I want to dynamically size AFTER I undock the DialogBar(I derived a class that allows it to be resized, scarfed from the MS Developers Network).  This is much like the file/class/resource/info list on the left of the Visual C++ IDE.  The problem is, it never gets WM_SIZING messages, unlike the VC++ window, which does get them.  Why not?  Our window styles(via spy++) are exactly the same, save for a 0x001000 addition on mine, and a 0x03300 on theirs(I dont know why).  I need the WM_SIZING message to know what end is being drawn out, so I can resize my TreeView controls appropriately.  Help.
0
Comment
Question by:mpdff
[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 3

Accepted Solution

by:
gaohong earned 200 total points
ID: 1162563
hi:

Subclass or derive your controlbar's parent and handle WM_PARENTNOTIFY message.

ParentNotify is send when child destroyed, created, sized but not moved,

consult help file for details of the message

good luck

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

670 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