>snip
>>
>>
>>Why do you want to frustrate the user? If you need to limit access to the menu, then a modal form is the way to go.
>
>Hi Craig,
>
>The particular form I am dealing with is a login form that is modal. I just put a messagebox() in the dblclick of the form to show the windowtype property for confirmation. However If I hit a menu hot key it tries to run the associated menu option.
Modal forms disable the menu and all other forms. I don't see how you can have a modal form in your case.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer