Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - What does "SetMDIClient" do?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

What does "SetMDIClient" do?

 Post Reply Post Reply
Author
Message
Andrew View Drop Down
Newbie
Newbie
Avatar

Joined: 20 August 2004
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andrew Quote  Post ReplyReply Direct Link To This Post Topic: What does "SetMDIClient" do?
    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!!

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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

Edited by SuperMario
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.