Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-09-03
3
Medium Priority
?
374 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
[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
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

721 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