Solved

Move MDI form with no caption

Posted on 2006-11-08
3
204 Views
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,

Cheers

matt
0
Comment
Question by:ShelfieldCollege
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
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.

magic

Will post request for this to be closed.

Cheers
0
 
LVL 4

Author Comment

by:ShelfieldCollege
ID: 17920828
Many Thanks :)

Matt
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

710 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