Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Missing GRIPPER when add CXTDialogBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Missing GRIPPER when add CXTDialogBar

 Post Reply Post Reply
Author
Message
Daniel Strigl View Drop Down
Newbie
Newbie


Joined: 16 May 2004
Location: Austria
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Daniel Strigl Quote  Post ReplyReply Direct Link To This Post Topic: Missing GRIPPER when add CXTDialogBar
    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);

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