Information on Dockable Forms

  • Thread starter Thread starter Neil Guyette
  • Start date Start date
N

Neil Guyette

Hello, All,

I'm looking for information on how to create dockable
forms. Basically, I'm writing a .NET application and
instead of using C# (I want to refresh my C++ skills) I'm
going to use C++. It would be greatly appreciated if
anyone can direct me to online resources or even a good
book that gives an overview on how to create dockable
forms.

Thanks,

-Neil
 
Hi Neil,

Thanks for you posting in the group!

I have found 2 stuffs about create dockable controls using MFC, maybe you
can dig out some useful information from them:

"Automatic Tab Bar for MDI Frameworks"
http://www.codeproject.com/docview/mditab.asp?target=dockable

"Professional User Interface Suite"
http://www.codeproject.com/docking/prod_profuis.asp?target=dockable#_Toc2003
3387


Best regards,
Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Third-Party Link Disclaimer

This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.
 
Hi Neil,

I found a article: <<How to implement dockable forms>>(By Xin Zhou, from
<<Programmer>> magazine 2002.1, written in Chinese). The following info is
from that article:

To implement dockable forms basically has 2 steps:
1: To stick two forms when they move closely to a specific distance.
2: To move the docked forms together when one of them is being moved.

First step's tech note:
When Form1 moves closely to Form1, you can trap Form1's WM_MOVING message
to evaluate whether to stick From1 with Form2 based on the distance between
the two forms.

Second step's tech note:
When one of the docked forms is moving, you can also trap its WM_MOVING
message, within that message handle function, use SetWindowPos(¡­) to
adjust the other docked forms' position.


Hope it helps!

Best regards,
Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
Back
Top