_XTP_NO_BINARY_RESOURCES is not enough |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 26 September 2010 at 8:01am |
Please add defines for all types of resources! Sometimes you want the cursors, but not the bitmaps/dialogs and stuff. Each type should have its own define!
Translation soon becomes a problem when there are a bunch of never-used dialogs present in the exe (XTP statically linked).
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Sound strange. when you need only cursor but not bitmaps ? if you don't use some part of library but only want same cursor for some of your own window, I guess better just copy it to your local res folder.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Manually adding certain resources is an option, but too tedious. And I don't believe my request is strange. Consider this:
"Controls resources" are added since I'm using CXTBrowseEdit. Then I get a bunch of toolbars, dialogs and stuff that will never be used!
ImageEditorIcons32.bmp 17 kB <-- I don't want that stuff :(
I believe _XTP_NO_BINARY_RESOURCES should be a union of these values:
_XTP_NO_STRING_RESOURCES
_XTP_NO_DIALOG_RESOURCES
etc
Because if I know for a fact that I will not instantiate these dialogs, then I don't want them in my exe! Like I said, bloating the resources makes localization a lot harder.
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |