Move MDI form with no caption

Posted on 2006-11-08
Last Modified: 2010-04-30
Hi folks, I have an MDI form which has no caption and isn't resiable.  If possible I would like it so that if the user clicks and drags on one of the child forms it moves the MDI form.

Hope that make sense,


Question by:ShelfieldCollege
  • 2

Accepted Solution

ShelfieldCollege earned 0 total points
ID: 17899231
Hi all,

I have managed to solve this myself.  I remember that in another project I have a moveable form, by using this code on the child forms but using frmMain.hwnd rather than me.hwnd it allows the dragging of the main form from within in the child forms.


Will post request for this to be closed.


Author Comment

ID: 17920828
Many Thanks :)


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

910 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

23 Experts available now in Live!

Get 1:1 Help Now