Until recently, I’ve used only buttons and radio groups to trigger processes within my applications, but now I have an application with a main menu and I’m having two specific problems in trying to get it to behave exactly the way I want:
1. I can disable the menu when a menu item is chosen, as in:
Although this works and the menu item can’t be re-clicked, the menu appearance doesn’t change from black to gray until a subsequent window is activated, which takes some processing time. I’ve tried using a hidden window and Nowait and various other dummy processes, but I can’t seem to find a way to make it go instantly gray without disrupting other parts of the application.
2. When the process triggered by the menu is complete and an action is taken, I reverse the process, as in:
Again, this works, but the menu items remain gray until I hover over them, rather than instantly changing back to black. I’ve tried various forms of SetFocus, Recall, Restore, etc., but I just can’t seem to find anything that works.
Both of these problems are cosmetic, but I would really appreciate it if someone can point me in the right direction.
I’m using HMG 3.1.5 (but same result w/ 3.1.1 and 3.1.3) and XP (SP3)