Print Page | Close Window

Please make GetControlsFileName() method virtual

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=23590
Printed Date: 28 March 2024 at 4:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Please make GetControlsFileName() method virtual
Posted By: gregnis@yahoo.com
Subject: Please make GetControlsFileName() method virtual
Date Posted: 26 February 2018 at 7:59pm
I'd like to be able to force saving of control bars to the Registry instead of the file if the size of data is larger than hard-coded 16000 bytes (in CXTPCommandBars::SaveBarState()). 

You could virtualize this number via a method (like IsLargeData(DWORD dwCount) or something, or make GetControlsFileName() virtual, so it could be overridden. I did this in my copy of the source code but it would be better not to have to do it every time a new release is installed.

Thanks.



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