A message has been sent to the nsb-ce group and is awaiting approval. We've
attached this message for your review.
This message requires approval because the message may be spam.
You can approve or reject this message online at:
http://groups.google.com/group/nsb-ce/pendmsg?hl=en
or
You can approve this message by replying to this email.
Thank you,
The Google Groups Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nsb-ce" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---
--- Begin Message ---
A message has been sent to the nsb-ce group and is awaiting approval. We've
attached this message for your review.
This message requires approval because the message may be spam.
You can approve or reject this message online at:
http://groups.google.com/group/nsb-ce/pendmsg?hl=en
or
You can approve this message by replying to this email.
Thank you,
The Google Groups Team
--- Begin Message ---
A message has been sent to the nsb-ce group and is awaiting approval. We've
attached this message for your review.
This message requires approval because the message may be spam.
You can approve or reject this message online at:
http://groups.google.com/group/nsb-ce/pendmsg?hl=en
or
You can approve this message by replying to this email.
Thank you,
The Google Groups Team
--- Begin Message ---
--- In [email protected], "Tim Markoski" <tmarko...@...> wrote:
>
> The first question is how are you storing the current screen status?
Simply as a variable in the program, set at startup to zero for
portrait and one for landscape.
Al
> --- In [email protected], "rmrsoft" <alan@> wrote:
> >
> > I am having a very frustrating with implementing automatic
> > landscape/portrait switching. (Sorry for the long post)
> >
> > To do this I have created an OUTPUT_SIZE routine, and it uses this
> > logic (not the exact code of course)
> >
> > Sub Output_Size
> > If NewFormat=OldFormat then exit sub
> > Check Output_Height and Output_Width
> > Resize and move all screen objects
> > Refresh the screen
> > OldFormat=NewFormat
> > End Sub
> >
> > Now this works perfectly on the emulator and on my WM6 IPAQ. But on
> > these the orientation is changed in software by going into Settings >
> > Screen.
> >
> > One of my BETA testers has one of the latest generation phones where
> > there is a hardware switch to change the orientation or it switches if
> > they pull out a keyboard. Now he is having two major problems with 5
> > out of 6 of my programs (the 6th one works perfectly):
> >
> > 1. The screen does not refresh properly and some of the objects stay
> > in the wrong position.
> >
> > 2. If he switches the orientation and then shuts the program down it
> > will not restart. If he checks the 'Running Programs' he finds the
> > program has shut down but NSBasic is still running in the background.
> >
> > Now, isolating this routine stops Error 2 from happening, so it seems
> > as though an error is being generated during this routine (but not
> > being reported) that is causing NSBasic to hang and not shutdown.
> >
> > Comparing Program 6 to the other 5 programs the only difference was
> > that program 6 was more complex so spent more time doing the routine.
> > And when I added 5 dummy statements to the other 5 programs then
> > Error appeared to be cured and the programs would stop and start
> > correctly. But I still can't cure problem 1.
> >
> > As far as I can see the main difference here is that for the emulator
> > and my machine the NSBasic program is sent to the background while the
> > switching is being carried out. In these new machines the program
> > remains in the foreground while this is happening. Because
> > OUTPUT_SIZE is called independently we are in the situation where 2
> > parts of the program are running at the same time, Could this be
> > confusing the system ? Am I missing something obvious ?
> >
> > Any help would be appreciated.
> >
> > Al
> >
>
--- End Message ---
--- End Message ---
--- End Message ---