Print Page | Close Window

Too small CXTPTaskDialog buttons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=11113
Printed Date: 25 April 2024 at 3:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Too small CXTPTaskDialog buttons
Posted By: znakeeye
Subject: Too small CXTPTaskDialog buttons
Date 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();



Replies:
Posted By: Oleg
Date Posted: 19 June 2008 at 2:03pm
Hi,
You need add toolkit resources when link statically.
 
add
#include "XTToolkitPro.rc"
in res\app.rc2 file.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 22 June 2008 at 4:43pm

Aaah, sorry  (I know you're tired of RC-related questions, hehe)

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