Print Page | Close Window

Missing GRIPPER when add CXTDialogBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=846
Printed Date: 24 December 2024 at 8:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Missing GRIPPER when add CXTDialogBar
Posted By: Daniel Strigl
Subject: Missing GRIPPER when add CXTDialogBar
Date Posted: 16 June 2004 at 6:34am

I have a simple SDI application and added a CXTDialogBar to my main frame window. When this bar is docked to one of the sides of the frame window the gripper are missed!

I have created the CXTDialogBar the following way (IDD_DIALOGBAR1 is the dialog I have created with the resource editor):

// Create the dialog bar using one of its Create() methods

if( !m_wndToolbox.Create(this,

IDD_DIALOGBAR1,

CBRS_RIGHT | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_FIXED))

{

TRACE0(_T("Failed to create the toolbox\n"));

return -1;

}

// When the dialog bar is undocked, display a caption on its title bar

m_wndToolbox.SetWindowText("Toolbox");

...

m_wndToolbox.EnableDockingEx(CBRS_ALIGN_LEFT | CBRS_ALIGN_RIGHT, CBRS_XT_ALL_FLAT);

EnableDockingEx(CBRS_ALIGN_ANY, CBRS_XT_ALL_FLAT);

DockControlBar(&m_wndToolbox, AFX_IDW_DOCKBAR_RIGHT);




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