- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Recently I found that when I added some new items to my menu my tool bar buttons would disapear after clicking on them.
I got round this by calling
lret=ShowWindow(hWndToolBar,SW_HIDE) and
lret=ShowWindow(hWndToolBar,SW_SHOW)
after a call to a toolbar button.
I am running Windows NT4.0 with service pack 6, but when I install the program on a Windows 2000 with service pack 2 - when I click on some tool bar buttons- the whole tool bar dispears.
If I remove the recently added menu items from the menu and from the WM_COMMAND case statement, the toolbar buttons are OK.
Is there a workaround/soloution to this problem?
I think this is a bug with Visual Fortran as it should work the same on different operating systems.
Regards,
David
I got round this by calling
lret=ShowWindow(hWndToolBar,SW_HIDE) and
lret=ShowWindow(hWndToolBar,SW_SHOW)
after a call to a toolbar button.
I am running Windows NT4.0 with service pack 6, but when I install the program on a Windows 2000 with service pack 2 - when I click on some tool bar buttons- the whole tool bar dispears.
If I remove the recently added menu items from the menu and from the WM_COMMAND case statement, the toolbar buttons are OK.
Is there a workaround/soloution to this problem?
I think this is a bug with Visual Fortran as it should work the same on different operating systems.
Regards,
David
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page