Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cascade, Tile and arrange by icons feature for a set of dialogs.

Posted on 2004-09-03
3
Medium Priority
?
375 Views
Last Modified: 2013-11-20
Hello,

In a SDI application, I am creating a new dialog whenever I click on FileOpen menu i.e I am overriding the default behavior of creating a new view. Now my requirement is that I need to cascade, tile and arrange by icons all these dialogs when I select on Window -cascade, tile & arrange menu options. I will not get the default behavior for Window menu options since here I am creating a new dialog instead of a new view. Can any one please help me to do this.

Thanks
Madhavi.
0
Comment
Question by:osi-sys
3 Comments
 
LVL 5

Accepted Solution

by:
Nass89 earned 160 total points
ID: 11979585
Hi,
I think, there is no streight way to this.
You must store the coordinates of each dialog in an array and obtain the view dimentions and then use 'SetWindowPos' for each dialog and place them properly.

Good Luck!

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

927 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