Too small CXTPTaskDialog buttons |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 19 June 2008 at 12:45pm |
Check out this weird OK-button:
It works correctly in debug-mode, dynamically linked to MFC 9.0 (SP1) and dynamically linking to ToolkitPro1121vc90D.dll.
The buttons are screwed up in release-mode, statically linked to MFC 9.0 (SP1) and statically linked to ToolkitPro1121vc90S.lib. Both with Classic and skinned Windows.
Windows XP SP3
Visual Studio 2008 SP1
Xtreme ToolkitPro 11.2.1
These are the calls made in the constructor of my task dialog:
m_config.dwCommonButtons = TDCBF_OK_BUTTON;
SetContent("This is the default look!");
EnableMessageBoxStyle();
EnableCancellation();
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You need add toolkit resources when link statically.
add
#include "XTToolkitPro.rc"
in res\app.rc2 file.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Aaah, sorry (I know you're tired of RC-related questions, hehe) Thanks! |
|
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 |