Forms in Compact Framework

D

David

Hello.
I have some questions about forms in Compact Framework :

I have two forms in my device application, one main form and second login
form, the second form contains some textboxes for input text information.
When I want show my second form from my main form I call ShowDialog method
of second form, it shows the form on screen but it also hides the PPC
keyboard and it hides the little key on bottom right corner of PPC screen
too (the key of show/hide PPC keyboard), but I don't want to hide keyboard
button when I show my second form, how can I solve this problem?

Also I have one more question.
When I show second form from my main form in has "OK" icon on top right
comer, how can I make it show "X" icon on top right comer?
 
P

Peter Foot [MVP]

Add a MenuBar to your second form, you don't need to add any items to it but
this will enable the grey toolbar at the bottom of the screen including the
SIP (Soft Input Panel) button.

The Ok button is shown whenever you launch a form with ShowDialog or when
the MinimizeBox property is set to false. With a dialog box called with
Show() the X button will not close the form but will minimize it - so it
will still be running in the background.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top