CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Disable Status Bar Command Tips

    Hi,
    I'm writing an SDI program that displays a file path in the status bar at the bottom of the window. I'm able to fill the bar with the desired text but it gets erased as soon as I move the cursor to the application tool bar. The "command tips" in the status bar get written over my text. Hwo do I disable those command tips?


  2. #2
    Guest

    Re: Disable Status Bar Command Tips

    You will find the style setting in the OnCreate function of your CFrameWnd-derived class (usually CMainFrame). The style setting to remove is CBRS_FLYBY.

    The code will like 'm_wndToolbar.SetBarStyle( m_wndToolbar.GetBarStyle() | CBRS_TOOLTIPS | CBRS_FLYBY );'


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured