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
Message View Drop Down

Joined: 19 January 2016
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.078 seconds.