- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a toolbar, one of whose buttons is initially disabled with:
AnaTBbutton(20)%fsState = TBSTATE_INDETERMINATE
Later in the program I have tried to enable it with:
AnaTBbutton(20)%fsState = TBSTATE_ENABLED
but this makes no difference to it. I have tried following the last statement with
iret = InvalidateRect(ghWndMain,rect,.false.)
but still no difference.
At present the only way I can get this button to become active is to destroy the toolbar window and recreate it, which seems a bit heavy-handed. Is there a better way?
With many thanks in advance
Mike
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