WinCE 4.2 FullScreen Issue

Xeniczone

Member
Licensed User
I seem to be having a problem with Windows CE 4.2 and using the the form in FullScreen Mode.

I bought a GPS with WinCE on it and I'm trying to build a launcher shell for it so it would look like it came with the car.

I decided to run a little test and while using this code:
B4X:
Sub App_Start
   FormLib1.New1("Form1", B4PObject(1))
   FormLib1.FullScreen(cPPC)
   Form1.Image=AppPath&"\BMWLauncher.jpg"
   Form1.Show
End Sub
A gap appears at the bottom of the screen, instead of being full screen.

Here is a pic.
img0323z.jpg


If anybody could help fix the problem, it would be greatly appreciated.

EDIT: Forgot to mention that the screens res is 480x234
 

mjcoon

Well-Known Member
Licensed User
I don't have a full explanation (you'll have to wait for that until an expert comes along), but... the fact that the file name with ".sbp" appears on the screen suggests that you are running under the IDE, not "freestanding". So does the lack of stars under your name on this forum which I gather means that you are not registered as a purchaser of Basic4PPC and thus cannot compile and thus run an .EXE.

Because you are running under the IDE it may limit your use of the screen.

HTH, Mike.
 

Xeniczone

Member
Licensed User
I don't have a full explanation (you'll have to wait for that until an expert comes along), but... the fact that the file name with ".sbp" appears on the screen suggests that you are running under the IDE, not "freestanding". So does the lack of stars under your name on this forum which I gather means that you are not registered as a purchaser of Basic4PPC and thus cannot compile and thus run an .EXE.

Because you are running under the IDE it may limit your use of the screen.

HTH, Mike.

You are correct, this isn't a compiled application. Since this is the only project I plan on using basic4ppc for, I didn't want to buy it until I was sure I could use it. It's been a while since I have programmed in Basic, and this is quite a bit different from VisualBasic 3 :p. Basically I built the program and my computer and moved it to the device and ran it under IDE.

Though I don't think the fact that it isn't a EXE would explain why the screen size is incorrect. It seems to be an error in the program or on my half. Just wanted to see if their was a solution to buy pass the problem.

If that would be the problem, I don't suppose someone would mind compiling a sample of a fullscreen app to prove it. Basically a blank form with an exit button.
 

Xeniczone

Member
Licensed User
Alright, All this is, is a Full screen form with a picture on it. I kind of stopped developing it after I found this problem. I will happily buy a license if the program works, but if it doesn't I really don't want to buy something I will probably never use again.

I uploaded the files. It contains the .sbp, .bmp, and formlib.dll. Thanks.
 

Xeniczone

Member
Licensed User
The good news is the form is full screen the bad news is the picture doesn't show up, but it is my code because I can still exit out of the program with the menu button.

So all this program does is paint the screen that light brown color of the form.

Thanks for your help. You don't think I could buy the software and try some stuff on my own, then if I can't get it to work, I could return it?
 
Last edited:

Xeniczone

Member
Licensed User
Alright, I may buy the software soon.

Some of the stuff I was going to try is to load the picture into a picture box rather than trying to load it as a background.

Another problem I had was I could use the Shell command to launch EXEs but I assume that has to do with not being compiled as well.
 

Xeniczone

Member
Licensed User
I went ahead and bought it. Had to use some alternatives to get the stuff to work, but I got it to work. Got the logo and got it in full screen. Just wanted to thank you Erel and MJCoon for you assistance.
 
Top