Print Page | Close Window

Removing static edge from PropertyGrid

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5165
Printed Date: 08 November 2024 at 10:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Removing static edge from PropertyGrid
Posted By: Tomasz
Subject: Removing static edge from PropertyGrid
Date Posted: 28 September 2006 at 7:49am
Hello,
 
I am using:
 
 grid.GetGridView().ModifyStyleE( WS_EX_STATICEDGE, 0 );
to remove static edge from property grid control. Unfortunatelly it works fine only when help part is not shown (ShowHelp(False)).
Otherwise, help part draws static edge anyway and there is no control over it, other than re-writing CXTPPropertyGridPaintManager::FillPropertyGrid(CDC* pDC) method.
 
Is it possible to fix that in next version of XTP?
 
Regards,
Tomasz



Replies:
Posted By: Tomasz
Date Posted: 07 October 2006 at 6:58pm
Is it possible to fix that in next version of XTP?


Posted By: Oleg
Date Posted: 16 October 2006 at 7:34am

Hello,

for next release we added
 
 xtpGridBorderNone,  // Without borders
 xtpGridBorderFlat,  // Black flat borders
 xtpGridBorderStaticEdge,// Static edge
 xtpGridBorderClientEdge
 
enumerators.


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


Posted By: Tomasz
Date Posted: 16 October 2006 at 3:39pm
Thanks a lot !



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