Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Too small CXTPTaskDialog buttons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Too small CXTPTaskDialog buttons

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Too small CXTPTaskDialog buttons
    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();
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2008 at 4:43pm

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

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.203 seconds.