Print Page | Close Window

Please mirror SetViewDivider with a Get..

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=268
Printed Date: 03 May 2024 at 11:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Please mirror SetViewDivider with a Get..
Posted By: ddyer
Subject: Please mirror SetViewDivider with a Get..
Date Posted: 04 December 2003 at 12:26pm

Currently the only way to access the divider property is to reverse-engineer the formula:

// Mimic one propertyGrid's viewDivider with another
CXTPWindowRect rcWindow(&curr->GetGridView());
next->SetViewDivider((DOUBLE)curr->GetGridView().GetDi viderPos() / (DOUBLE)rcWindow.Width());

 

It would be much nicer if we could do:

next->SetViewDivider(curr->GetViewDivider());




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