Print Page | Close Window

Question about CXTCBarDialog

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=332
Printed Date: 23 December 2024 at 7:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Question about CXTCBarDialog
Posted By: netman
Subject: Question about CXTCBarDialog
Date Posted: 05 January 2004 at 1:09am

When I run  a CXTCBarDialog-based application(eg. ControlBarDialog Sample Project). I can not enable the tooltips for the toolbar. I have set the CBRS_TOOLTIPS  flag when creating the toolbar object as following.

For example: I set ID_FILE_OPEN 's text to "open a new diskfile\nOpen"

It will display followling message in the statusbar.

"open a new diskfile  Open" --

 if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
  | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
  !m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
 {
  TRACE0("Failed to create toolbar\n");
  return -1;      // fail to create
 }
Could someone here tell me how to solve this problem?




Replies:
Posted By: netman
Date Posted: 05 January 2004 at 7:34pm

To make my problem clear , I upload a sample program afflicated with xtreme toolkit 2.0. It worked the sample(not show tooltips on the toolbar).

http://forum.codejock.com/uploads/netman/975_ControlBarDialog.rar - 975_ControlBarDialog.rar




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