|
-
May 13th, 1999, 11:14 AM
#1
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?
-
May 13th, 1999, 01:26 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|