Solved

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

Posted on 2004-09-03
3
367 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 40 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 88
Define unique primary key 9 81
tripleUp challenge 7 65
Annoying "thing" blocks my view 4 49
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

18 Experts available now in Live!

Get 1:1 Help Now