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
  #11 (permalink)  
Old 11-06-2007, 02:21 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,770
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

It looks like your Axim thinks that the compiled exes are HI_RES_AWARE. - note the large button text. You haven't used a hack to get normal QVGA programs to run non-pixel doubled have you?

Have you seen this thread. It doesn't help your immediate problem but it might be of interest once you have.

True VGA IS POSSIBLE with Basic4Ppc
Reply With Quote
  #12 (permalink)  
Old 11-07-2007, 05:43 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

Nope, I didn't use any hacks. I just compiled normally, used CabWiz to pack the exe and SQLite dll's into an installer and then installed it on the device. Are there any config files perhaps that I need to include in the Cab? Are there any files I should look for in my application direction? Not sure how to solve this.
Reply With Quote
  #13 (permalink)  
Old 11-07-2007, 05:56 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

I don't see this behavior here.
Do other users with VGA devices see this misaligned screen?
Reply With Quote
  #14 (permalink)  
Old 11-18-2007, 02:39 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

Hi Erel, don't mean to be a pain here, but just wondering if you could investigate this further, as in order to support the Axim X51v (and probably other VGA PDAs), I'm going to need to make two versions, which I'd prefer not to have to do.

I'm developing on the desktop, so having the problem go away when I compile it on the device itself isn't going to help me much.

Do you have any suggestions for what I can try to resolve this? Does anyone else here actually have an X51v?
Reply With Quote
  #15 (permalink)  
Old 11-18-2007, 05:47 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

I haven't tested it with an Axim X51v but other VGA devices do show the screen as 240x320 (double pixels).
@RandomCoder, do you have this problem with your Axim X51v?
Reply With Quote
  #16 (permalink)  
Old 11-18-2007, 06:20 AM
Junior Member
 
Join Date: Nov 2007
Posts: 23
Default

Thanks Erel. If it comes down to it, I'll send you my Axim for testing and some money so you can send it back again.
Reply With Quote
  #17 (permalink)  
Old 11-18-2007, 07:07 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Lets try a simple workaround:
Code:
Sub Globals
    'Declare the global variables here.
    Dim controls(0)
End Sub

Sub App_Start
    Form1.Show
    If Form1.Width > 400 Then
        controls() = GetControls("Form1")
        For i = 0 To ArrayLen(controls())-1
            name = controls(i)
            Control(name).Top = 2 * Control(name).Top
            Control(name).Left = 2 * Control(name).Left
            Control(name).Width = 2 * Control(name).Width
            Control(name).Height = 2 * Control(name).Height
            Control(name).FontSize = 2 * Control(name).FontSize
        Next
    End If
End Sub
Reply With Quote
  #18 (permalink)  
Old 11-19-2007, 05:36 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 486
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
I haven't tested it with an Axim X51v but other VGA devices do show the screen as 240x320 (double pixels).
@RandomCoder, do you have this problem with your Axim X51v?
I've created a Form with a Button and Listbox as shown in Nycran's screenshot then transferred it using Window Explorer and it's displayed exactly as it was on the Desktop IDE.

I've had a look at the system settings of my Axim X51v and nothing seems to affect the size of the controls on the Form.
On the device I have WM5 and on my desktop I have XP Media Center.

The only problem I've ever experienced is that font size is displayed slightly larger on the desktop than on the device, but I'm pretty sure this is covered elsewhere in the forum and is to do with the Device fonts being different to the Desktop.

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #19 (permalink)  
Old 11-19-2007, 08:02 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Thank you for your help RandomCoder.
Reply With Quote
  #20 (permalink)  
Old 11-20-2007, 12:27 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 486
Awards Showcase
Beta Tester 
Total Awards: 1
Default

The only suggestion I can offer is that Nycran hard resets his device and then installs B4PPC and .Net Framework to see if the problem still exists.
Hopefully that should work. He will then need to re-install all his other app's (one at a time obviously) and see if the problem returns.

It's a pain, but reverting the device back to factory default should work

Rregards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
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 25 11-21-2008 08:05 AM
Forelayer not working(?) Cableguy Questions & Help Needed 5 08-16-2008 12:52 PM
working with date gjoisa Questions & Help Needed 3 03-29-2008 10:40 AM
working with FormExDesktop_1.2 Cableguy Questions & Help Needed 20 01-28-2008 07:02 PM
Supporting multiple resolutions davidmw Basic4ppc Wishlist 2 07-24-2007 12:34 PM


All times are GMT. The time now is 05:40 AM.


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