• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

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

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
osi-sys
Asked:
osi-sys
1 Solution
 
Nass89Commented:
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

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now