Print Page | Close Window

Docking State

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=5662
Printed Date: 20 June 2025 at 5:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking State
Posted By: cj_user
Subject: Docking State
Date Posted: 01 December 2006 at 4:01pm

Sorry but I cant seem to find a method to check if one toolbar docks on the left, right, top, bottom of another toolbar.

If there's none -- can you suggest a good way to achieve it?  Right now Im just saving the previous toolbar and compare their rect positions to identify if its on the right of another toolbar.
 
Thanks



Replies:
Posted By: Oleg
Date Posted: 02 December 2006 at 4:34am
Hi,
You can get positions of toolbars using GetWindowRect method, and compare positions.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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