Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Question about  CXTCBarDialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Question about CXTCBarDialog

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

Joined: 05 January 2004
Location: China
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote netman Quote  Post ReplyReply Direct Link To This Post Topic: Question about CXTCBarDialog
    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?

Back to Top
netman View Drop Down
Newbie
Newbie
Avatar

Joined: 05 January 2004
Location: China
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote netman Quote  Post ReplyReply Direct Link To This Post 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).

975_ControlBarDialog.rar

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