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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel VBA combine two working workbooks 8 60
MS Access - Capture pressed key onclick 4 41
VBA/SQL - Connect to SQL server and pull data 4 118
VB6 ListBox Question 4 48
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

792 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