Originally Posted by
koushal.vv
use the same logic for disabling the MANAGER menu also, Here u r graying it i think this shud also work for MANAGER. i will also try to write a dummy pgm and test this.
I tried it and it doesn't work for me. There must be a different set of code for that. First thing is I don't know the position of the Manager menu item. Second thing is I tried with the MF_BYCOMMAND (you can put IDC instead of position number) instead of MF_BYPOSITION and it still did not work. Hope to find a solution for this soon :-).
Vicky