Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - how floating first and with 2 columns?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how floating first and with 2 columns?

 Post Reply Post Reply
Author
Message
yaoxiaowei View Drop Down
Newbie
Newbie
Avatar

Joined: 27 April 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote yaoxiaowei Quote  Post ReplyReply Direct Link To This Post Topic: how floating first and with 2 columns?
    Posted: 08 May 2006 at 2:32am
I want to create floating CXTPToolBar with 2 columns of buttons and floating first ,How can I do it in a easy way?

Best regards

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: 08 May 2006 at 8:36am
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
yaoxiaowei View Drop Down
Newbie
Newbie
Avatar

Joined: 27 April 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote yaoxiaowei Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2006 at 4:42am

Thanks a lot for your reply.
But I have puzzle still,how can I make the toobox floating when user first use it?


Best regards
xiaowei yao

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: 09 May 2006 at 8:42am

Hello,

Add it as floating

pCommandBars->Add(_T("ToolBox"), xtpBarFloating

and reposition:

pToolBox->MoveWindow(100, 200, 0, 0);

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
yaoxiaowei View Drop Down
Newbie
Newbie
Avatar

Joined: 27 April 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote yaoxiaowei Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2006 at 10:28am
thank you
Back to Top
yaoxiaowei View Drop Down
Newbie
Newbie
Avatar

Joined: 27 April 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote yaoxiaowei Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2006 at 11:30pm

matter still comes!

if I use

 pToolBox->MoveWindow

the layout is not 2 columns

how to meet the conditions in the same time

1.2 columns

2.floating

regards

Back to Top
Dmitry View Drop Down
Groupie
Groupie


Joined: 28 November 2004
Location: Australia
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmitry Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2011 at 9:29pm

Hello,

The sample in https://forum.codejock.com/forum_posts.asp?TID=2124 is no longer available.

Could you please show how to have a 2-column toolbar (like the toolbox in MSPaint)?

Thanks,

Dmitry

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