SOLVED: Bar Attached Property |
Post Reply |
Author | |
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
Posted: 15 February 2009 at 5:17pm |
Hi All,
Just a "quick question"...
I'm trying to determine if a Command Bar is currently attached / Docked to another Command Bar (ie, is displayed on the same row).
Does anybody know what property would tell me this? I thought 'position' would, but it doesn't.
Thanks in advance.
Regards,
Andy
|
|
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7 Language: Clarion 5.5 -> C8.x ====================================== Andy Wilton |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You can call GetWindowRect for ToolBar to check and for all other ToolBars and check if "Top" or "Left" (for Vertical) value is same.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
Hi Oleg,
I'm a little confused? If I had 3 different CommandBars, each on seperate rows - couldn't they all have a position of "Top"?
Regards,
Andy
|
|
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7 Language: Clarion 5.5 -> C8.x ====================================== Andy Wilton |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
if they are in 3 separate Rows all "Top" positions will be different.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
Hi Oleg,
I've tried the GetWindowRect method in the past and have struggled to get it to work within the Clarion environment. Is there any other way I can get to the positions? or could you explain the GetWindowRect in more detail.
Basically, I've declared 4 long variables and try passing them as parameters but I keep getting 'Type Mismatch' for the parameters.
Regards,
Andy
|
|
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7 Language: Clarion 5.5 -> C8.x ====================================== Andy Wilton |
|
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
Hi Oleg, I've just figured the Clarion 'getWindowRect' interface out (its marvelous what you can accomplish when you're under pressure!) Thanks for help, its much appreciated. Regards, Andy
|
|
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7 Language: Clarion 5.5 -> C8.x ====================================== Andy Wilton |
|
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 |