ok

On Jan 27, 5:31 pm, Google Groups <nsb-ce
+msgappr-670261817757...@googlegroups.com> wrote:
>  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
>
>
>
> [ Attached Message ]From:Google Groups 
> <nsb-ce+msgappr-047701613613...@googlegroups.com>To:nsb-ce+ow...@googlegroups.comdate:Tue,
>  27 Jan 2009 22:31:26 +0000Local:Tues, Jan 27 2009 5:31 pmSubject:nsb-ce - 
> Google Groups: Message Pending
>
>  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
>
>
>
> [ Attached Message ]From:Google Groups 
> <nsb-ce+msgappr-67216546059...@googlegroups.com>To:nsb-ce+ow...@googlegroups.comdate:Tue,
>  27 Jan 2009 22:24:13 +0000Local:Tues, Jan 27 2009 5:24 pmSubject:nsb-ce - 
> Google Groups: Message Pending
>
>  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
>
>
>
> [ Attached Message ]From:"rmrsoft" 
> <a...@rmrsoft.com>To:nsbasic...@yahoogroups.comdate:Tue, 27 Jan 2009 22:24:04 
> -0000Local:Tues, Jan 27 2009 5:24 pmSubject:[nsbasic-ce] problem with 
> orientation switching
>
> 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  
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to