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

x
?
Solved

Docking

Posted on 2000-04-28
2
Medium Priority
?
334 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
[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
2 Comments
 
LVL 10

Accepted Solution

by:
RONSLOW earned 92 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

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