Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Working with screen resolutions


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2007, 05:01 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default Working with screen resolutions



Hi all, just wondering if some experienced PPC developers can shed some light on screen resolutions?

I have a Dell AXIM X51v, and the first app I compiled and tested appeared in a very small section of the screen. So, I adjusted the screen size to 480 x 640, and it looked much better. However, this has some other problems:

A) The SIP line is no longer accurate, as the SIP comes up over the top of the bottom of the screen.

B) Does this mean I have to create multiple versions of the app, so I can support different screen resolutions?

Any advice would be gratefully received.

Cheers,
Andrew.
Reply With Quote
  #2 (permalink)  
Old 11-06-2007, 05:59 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,973
Default

How did you change the screen size?
The settings on the desktop IDE only affect desktop applications.
High resolution screens use double pixeling method to stretch the form to the whole screen.
Reply With Quote
  #3 (permalink)  
Old 11-06-2007, 07:52 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

Thanks for your help Erel.

It's really strange though as I'm definitely seeing the IDE setting impact the device screen size. For example, if I change the screen size in the IDE back to 240 x 320 by selecting Tools --> Screensize (from the designer window), and then if I recompile the app for Device.exe, the controls appear very small. Moreover, the default screen size is appearing really tiny on the Axim.

I don't know if the way I'm installing it is making a difference... because I'm using Vista (no activesync), I'm copying across the ARMV4 Cab file directly to the device and then running it on the device - this installs the application.

Any thoughts?
Reply With Quote
  #4 (permalink)  
Old 11-06-2007, 07:57 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,973
Default

How do you see Basic4ppc IDE on the device?
Reply With Quote
  #5 (permalink)  
Old 11-06-2007, 08:00 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

I'm using the IDE only on the desktop at the moment. I compile on the desktop, and then copy the CAB to the PPC using the Windows file explorer. Should I be trying the IDE on the PPC device?
Reply With Quote
  #6 (permalink)  
Old 11-06-2007, 08:05 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,973
Default

Just to test if it shows correctly or not.
It will help me understand the problem.
Reply With Quote
  #7 (permalink)  
Old 11-06-2007, 08:17 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

Actually, that in itself is a problem. When I run the setup program to install the device IDE, it fails because ActiveSync is not installed (I can't install ActiveSync on Vista I don't think). Is there a CAB download for the IDE? Should I be using Basic4PPC on a non-vista PC?

Last edited by Nycran : 11-06-2007 at 08:20 AM.
Reply With Quote
  #8 (permalink)  
Old 11-06-2007, 09:21 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,473
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by Nycran View Post
I can't install ActiveSync on Vista I don't think
The ActiveSync equivalent for Vista is Windows Mobile Center 6. Works much the same as ActiveSync for installing programs on the device.

http://www.microsoft.com/windowsmobi...icecenter.mspx
Reply With Quote
  #9 (permalink)  
Old 11-06-2007, 10:14 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,973
Default

If you don't succeed, send me an email to erel@basic4ppc.com and I'll send you the Cab file.
Reply With Quote
  #10 (permalink)  
Old 11-06-2007, 12:36 PM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

Thanks for that guys. I installed the Windows Mobile Center 6 software and now I can install programs onto the device.



Ok, moving on. The IDE on the device works fine, and if I write a new test application on the device then the form appears as you would expect. I dragged a button and a list box onto a new form, and checked the width of the listbox which was about 200px.

So, it seems my problem only occurs when I make an application via the desktop IDE.

To confirm the issue, I made a brand new application using the desktop that simply had a button and a listbox. I've attached a couple of screenshots to this post.

Designer.jpg is the design of the form on the desktop. form_on_axim.jpg is a screen shot taken on the device itself.. you can see how the controls are almost half the size they should be.

Hope that helps.
Thanks!
Andrew.
Attached Images
File Type: jpg designer.jpg (33.7 KB, 67 views)
File Type: jpg form_on_axim.jpg (5.7 KB, 55 views)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with VGA screens Erel Tutorials 18 06-01-2008 02:08 PM
working with date gjoisa Questions & Help Needed 3 03-29-2008 09:40 AM
working with FormExDesktop_1.2 Cableguy Questions & Help Needed 20 01-28-2008 06:02 PM
desktop ide quit working dennishea Questions & Help Needed 5 01-06-2008 07:31 PM
Supporting multiple resolutions davidmw Basic4ppc Wishlist 2 07-24-2007 11:34 AM


All times are GMT. The time now is 10:13 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0