Software Archive
Read-only legacy content
17061 Discussions

Problem with toolbar buttons & Windows 2000

davidgraham
Beginner
293 Views
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
0 Kudos
0 Replies
Reply