![]() |
Creating Docking Pane with buttons |
Post Reply ![]() |
Author | |
Lucien ![]() Newbie ![]() ![]() Joined: 21 May 2004 Location: Canada Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() Posted: 27 May 2004 at 9:13am |
I'm using Xtreme toolkit standard edition. I want to create manually a dockable pane with 4 buttons in it. What is the code I need to include these four buttons in the pane? I want to avoid purchasing the toolkit professionnal only for that purpose. Thanks. |
|
![]() |
|
Lucien ![]() Newbie ![]() ![]() Joined: 21 May 2004 Location: Canada Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
To be more exact, I need to implement buttons in the CLIENT AREA using the standard edition. |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
So where is the problem? What do you try and what don't work?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Lucien ![]() Newbie ![]() ![]() Joined: 21 May 2004 Location: Canada Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
Well, I didn't find no example in the standard edition that uses buttons in the client area in a dockable view. My code for creating the dockable view in mainFrm.h CQuickAction m_wndQuickAction; in mainFrm.cpp m_wndQuickAction.Create(this, IDC_QUICK_ACTION, _T("Quick"), CSize(150, 150), CBRS_LEFT)) in quickAction.h class CQuickAction : public CXTDockWindow ... So after creating that dockable window, how do I create buttons inside that window using direct coding or using a resource dialog? |
|
![]() |
|
laughrain ![]() Newbie ![]() Joined: 03 June 2004 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
It is also my question. (with xtreme toolkit pro8.51)
|
|
![]() |
|
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() |
Do you guys just mean creating CButton's dynamically? That doesn't seem like anything specific to codejock... |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
CButton m_wndButton; m_wndButton.Create(...) |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Lucien ![]() Newbie ![]() ![]() Joined: 21 May 2004 Location: Canada Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
So I added to my code the following lines after the example shown earlier: in mainFrm.h: CButton theButton; in mainFrm.cpp: theButton.Create(_T("allo"),WS_CHILD|WS_VISIBLE|BS_PUSHBUTTO N,CRect(5,5,50,50),&m_wndQuickAction,10); And it works! Thanks for the help. |
|
![]() |
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 |