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.
osi-sysAsked:
Who is Participating?
 
Nass89Connect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.