how to locating the float pane |
Post Reply |
Author | |
jasonjiang9999
Newbie Joined: 29 March 2009 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 14 April 2009 at 10:09pm |
I have several float panes in a the mdi window, how can I know the location of a float pane?
I only can get the height and width. how to get the left and top value of a float pane?
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
There's isn't method in DockingPanes but you could use API GetWindowRect
Declaration:
Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long
Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Get position of Pane:
Dim Rec As RECT
GetWindowRect DockingPane1.FindPane(1).Handle, Rec
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
jasonjiang9999
Newbie Joined: 29 March 2009 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
thank you very much!!! that's very helpful |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |