Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Suppressing Panel Input on OpenFileDialog class

2 views
Skip to first unread message

Beorne

unread,
Sep 9, 2011, 5:04:04 AM9/9/11
to
I'm working on winCE 5.0 with .NET CF.
I'd like to suppress the automatic appearance of the input panel when
I open a new openFileDialog and the edit box automatically takes the
focus (I have an usb keyboard and I don't need the input panel).
My function is something like:
private void button_Click(object sender, EventArgs e)
{
if (openFileDialog.ShowDialog() != DialogResult.OK)
return;
// ....
}
I've seen that the right function (that I have wrapped with pinvoke)
is:
BOOL SHSipPreference ( HWND hwnd, SIPSTATE st );
but I can't use it on openFileDialog, I don't know how to extract the
dialog window handler in cf and I don't know where to put the
instruction.
Some help?
Thanks
0 new messages