SIP workaround?

  • Thread starter Thread starter Joe Audette
  • Start date Start date
J

Joe Audette

I'm getting a generic Exception right after
setting .Enabled = true on an input panel.

My application has no main menu and I've read a few posts
indicating that not having a main menu is the problem.

How can I workaround this without displaying a menu?

Please help!

Joe Audette
 
I figured out a workaround for my purposes. The main
reason I'm not using a menu is because I need all the
screen real estate most of the time. I don't mind the
menu bar being there while the SIP is displayed so I
instantiate the menu in the InitializeComponent but I
don't assign it to the form until the got focus fires for
the textbox. Then I set the .Enabled to true for the
inputpanel. In the lost focus for the textbox I set the
form menu to null after setting the inputpanel.Enabled =
false.

Hope that helps anyone having the same issue.

Joe
 
Back
Top