Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6905889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:14:21+00:00 2026-05-27T08:14:21+00:00

I have written an MDI app with many child forms, each different. Let’s say

  • 0

I have written an MDI app with many child forms, each different. Let’s say that the user has created three child forms: the first form has its top left hand corner at screen coordinates 0,0; a second form has been dragged to the right hand side of the screen (coordinates 100, 300) and the third form appears at coordinates 20,20. If I use the main form’s cascade command, then the second form will move to 10,10.

I would like the second form to stay where it is and get the third form to move to 10, 10 (ie second place of cascading order). Is there any way of excluding specific MDI child forms from the main form’s ‘Cascade’ command?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:14:21+00:00Added an answer on May 27, 2026 at 8:14 am

    There is no way to influence the behaviour of the Cascade method which is implemented by sending a WM_MDICASCADE message to the MDI container window, ClientHandle.

    Now, looking at WM_MDICASCADE it has an option to skip disabled MDI children from cascading. So you could disable certain child windows, send a WM_MDICASCADE message yourself and then re-enable the child windows. I’ve not attempted to do this but it seems very likely to me that it would work.

    Your other option is to implement your own MDI child positioning method. This is actually relatively easy to do. I would suggest that you consult the source code for the Wine project to get an idea how to do this. The key file is mdi.c in the user32 DLL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written an MDI based application, in which the child forms are of
I have an MDI form and several number of child forms inside that MDI.
I have an MDI app written in Qt. Some of the subwindows include QGLWidget
I have a MDI application written in Delphi 2007. If the user exits a
I have written a WCF service with the REST template that has the defaultOutgoingResponseFormat
I have a .net MDI application written in vb.net. I'm trying to program a
I have written an AIR Application that downloads videos and documents from a server.
I have written a DLL that uses MS Word to spell check the content
I have written a xml/php document that is pulling from a Magento Commerce database,
I have written a Windows Forms application and now I want to write some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.