Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Please make GetControlsFileName() method virtual
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please make GetControlsFileName() method virtual

 Post Reply Post Reply
Author
Message
gregnis@yahoo.com View Drop Down
Newbie
Newbie


Joined: 19 January 2016
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote gregnis@yahoo.com Quote  Post ReplyReply Direct Link To This Post Topic: Please make GetControlsFileName() method virtual
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.