Auto adjust screens on SIP invokation

H

Harsh Trivedi

Hi,

I am developing application in .NET CF 2.0 + C#, VS .NET 2005. The default
resolution of my application is 320*240. I am facing a problem in deploying
that application on device like Treo 700w. The screen size of this device is
240*240. The control at the botton of the form is not getting displayed.

The other problem is at the time when SIP is enabled. When SIP is enabled,
I am not able to view values in my textboxes, because the invokation of SIP
make them invisible.

Can anyone pl help me.... :(



With Best Regards,

Harsh Trivedi
 
B

Bipin_Expert

Hi,
You can try following trick to overcome your first problem:
1) Set AutoScroll property of form to true, so that form can be
scrolled if height of form is greater than screen height.
2) Another approach can be to use panel and put controls inside it as
explained in the below post:
Please refer to following post for your 2nd problem related to
SIP enabled event:
http://groups.google.com/group/micr...veloper/browse_thread/thread/8545b22d41720af8

Regards,
Bipin Kesharwani
(Developer)

Palewar Techno Solutions
Windows Mobile & Palm Development
Nagpur, India

www.palewar.com
 
H

Harsh Trivedi

Thanks Bipin.... It WORKED!!!!
I have adopt second approach. And add just few things....

private void textBox1_GotFocus(object sender, EventArgs e){

inputPanel1.Enabled = true;

}

private void textBox1_LostFocus(object sender, EventArgs e){

inputPanel1.Enabled = false;

}

Thank you very much
 

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