Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Problems with CXTPToolbar in a dialog...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problems with CXTPToolbar in a dialog...

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

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post Topic: Problems with CXTPToolbar in a dialog...
    Posted: 25 October 2008 at 4:34pm
I have created a dialog application similar to DialogSample, but without a statusbar and the toolbar is not showing...
 
I don't know what I am missing....here is attached the sample project in which the toolbar is not showing.
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: 27 October 2008 at 3:22am

Hi,

OnSize handler missed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
evoX View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2008 at 4:01pm

Thanks Oleg,

I have added OnSize with RepositionControls like in the DialogSample, but the toolbar is still not showing, what I am missing?

Here is the project with OnSize uploads/20081027_160126_testx_with_onsi.rar
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: 28 October 2008 at 3:08am
Hi,
 
Add
 
 m_bInitDone = TRUE;
 RepositionControls();
in the end of OnInitDialog();
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
evoX View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post Posted: 28 October 2008 at 6:42am
Thanks !, now it works
 
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.172 seconds.