H
hileyj
I see some strange behaviour enabling and disabling the SIP in WM6. In my
application, I am enabling the SIP for input when a text box gets focus and
disabling it when focus is lost. The SIP state changed events are handled to
resize or move controls if necessary. Pretty standard I think.
This all works as expected if the controls are clicked on. The SIP gets
enabled and we can resize things properly. However, if the textboxes get
focus through pressing tab on the keyboard I see the following:
1. The SIP gets enabled and we see the event. However, the VisibleDesktop
height property reports 588 instead of the 376 it should be when the SIP is
enabled.
2. The SIP is quickly hidden again (even though the textbox still has
focus), and we don't get an event here.
This causes some annoyance where things may get resized improperly, and also
causes the annoying 'blink' of the SIP. Two questions:
1. Am I missing something here with the way this should be done?
2. Is it even considered good practice anymore to automatically enable the
SIP when textboxes get focus? I noticed none of boxes in the control panel or
other built in apps seem to do this.
Thanks,
Jon
application, I am enabling the SIP for input when a text box gets focus and
disabling it when focus is lost. The SIP state changed events are handled to
resize or move controls if necessary. Pretty standard I think.
This all works as expected if the controls are clicked on. The SIP gets
enabled and we can resize things properly. However, if the textboxes get
focus through pressing tab on the keyboard I see the following:
1. The SIP gets enabled and we see the event. However, the VisibleDesktop
height property reports 588 instead of the 376 it should be when the SIP is
enabled.
2. The SIP is quickly hidden again (even though the textbox still has
focus), and we don't get an event here.
This causes some annoyance where things may get resized improperly, and also
causes the annoying 'blink' of the SIP. Two questions:
1. Am I missing something here with the way this should be done?
2. Is it even considered good practice anymore to automatically enable the
SIP when textboxes get focus? I noticed none of boxes in the control panel or
other built in apps seem to do this.
Thanks,
Jon