Solved

Docking

Posted on 2000-04-28
2
292 Views
Last Modified: 2013-11-20
Is there an easy way to dock two dialog boxes or woudl i have to use some type of GetWindowRect() and then SetWindowPos()? (no detailed answer needed)
0
Comment
Question by:bradsoblesky
2 Comments
 
LVL 10

Accepted Solution

by:
RONSLOW earned 23 total points
ID: 2762056
what do you mean by 'dock two dialog boxes'?

Do you mean you want them side-by-side?  Or do you want both of them docked within some other frame?

To dock within a frame, make then CDialogBar's

To dock side-by-side, you would probably make one dialog always appear next to the other.  I'd respond to the Window pos changed message for the first dialog, and from there update the position of the other dialog.
0
 

Author Comment

by:bradsoblesky
ID: 2762316
Yes lock them side by side, but only when one comes within say 20 or 30 pixels of the other.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need Help INsttalling wget on Mavericks OS X 3 90
only14 challenge 19 68
sumHeights2  challenge 7 87
JQuery serialize and unserialize 8 48
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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…
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.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

932 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

11 Experts available now in Live!

Get 1:1 Help Now