Print Page | Close Window

What does "SetMDIClient" do?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1091
Printed Date: 12 December 2024 at 5:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: What does "SetMDIClient" do?
Posted By: Andrew
Subject: What does "SetMDIClient" do?
Date Posted: 20 August 2004 at 8:49am

I'm having problems docking a picture box to the right of an MDI window when using the command windows....the SetMDIClient looks usefull, what does it do?

I can not find any documentation on it!!




Replies:
Posted By: SuperMario
Date Posted: 20 August 2004 at 12:16pm
SetMDIClient is only used in .NET.  It is used in .NET to set the handle to the MDI client window.  Don't worry about this if you aren't programming in .NET.

Try addeing the following code to the RepositionAlignedControls event assuming you name your picture box "myPicBox":

Private Sub CommandBars_RepositionAlignedControls(Left As Long, Top As Long, Right As Long, Bottom As Long)

    CommandBars.MoveAlignedControl myPicBoxl, Left, Top, Right, Bottom

End Sub



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net