In article <#(E-Mail Removed)>,
(E-Mail Removed) says...
Hi, Darren.
Your right, the EnabledChanged event does still fire when the InputPanel
type is Transcriber. However this event does not fire when the
InputPanel is already displayed (Enabled) and the user changes the type
to something else.
So for example the user has the Keyboard displayed (i.e. Enabled) and
then changes the InputPanel type to Transcriber. Because the InputPanel
was already in the Enabled state the EnabledChanged event does not fire
(at least not in our application). However this of course causes us
problems because the Transcriber type InputPanel uses much less space
than the Keyboard type InputPanel, meaning that my forms and their
controls are not updated to accomodate this change.
What I'm hoping to find is someway to determine when the user changes
the InputPanel type.
Thanks for your response.
Kris
> The EnabledChanged event should still fire even with the transcriber.
> Let's say you have a datagrid on your form and need to adjust it's
> size based on the SIP:
>
> grid.Height = Math.Min(this.RectangleToClient( sip.VisibleDesktop ).Bottom,
> this.Bottom - SystemInformation.MenuHeight) - grid.Top;
>
> you can adapt this example for tabcontrols, panels, and other containers of
> controls.
>