I am not aware of documentation on _pcceshell_support, and to be honest I only discovered it in the PythonCE source code because you asked the question. Previously I had worked around the problem using SetCursor() but this is a cleaner solution.
Actually this module is designed to be used internally by PythonCE but it could still be useful. For the benefit of the mailing list, I will describe what I can see in the code. It has the following methods: Terminate() - exits PythonCE immediately write(text) - writes a string to the output window flush() - flushes buffered data to the output window Busy(busyFlag) - changes whether the wait cursor is displayed Wait() - waits for either the application to be closed (returns 0) or for console input to become available (returns 1) Get_Input_Text() - returns the text entered at the prompt Character_Input(ordinal) - sends a character to the output window Get_Edit_Window_Line(lineNum) - returns the text on the specified line of the output window As for taking control of the whole screen, I see that there is an API SHFullScreen() described in the Microsoft documentation that probably does what you want. To use this from PythonCE you would need to either use ctypes or write a Python extension module. ctypes was just released: http://sourceforge.net/project/showfiles.php?group_id=71702 I haven't actually tried this release yet but I've used slightly earlier versions of ctypes from CVS so I'm sure it will work (assuming you are using 2.3.5). Luke ----- Original Message ----- From: "Jeffrey Barish" <[EMAIL PROTECTED]> To: <pythonce@python.org> Sent: Friday, February 17, 2006 6:07 AM Subject: Re: [PythonCE] Spinner Your suggestion solved the problem. I am in awe of your erudition. Is there documentation on this module? I am wondering whether it is capable of additional magic about which I should know more. Here are more questions for the list that I think are esoteric: I intend that the PDA run only my application. Is there a way to run a program so that it consumes the entire screen (without all the Microsoft stuff at the top)? Also, what is the best way to get the program to run automatically when the PDA reboots? On Thursday 16 February 2006 04:00, [EMAIL PROTECTED] wrote: > Message: 1 > Date: Wed, 15 Feb 2006 20:24:39 +0800 > From: "Luke Dunstan" <[EMAIL PROTECTED]> > Subject: Re: [PythonCE] Spinner > To: <pythonce@python.org> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > > This happens in GUI applications because the PythonCE shell thinks that > the > program is busy even though it may simply be in a message loop. One way to > get rid of the wait cursor is: > > import _pcceshell_support > _pcceshell_support.Busy(0) > > > Luke > > ----- Original Message ----- > From: "Jeffrey Barish" <[EMAIL PROTECTED]> > To: <pythonce@python.org> > Sent: Wednesday, February 15, 2006 7:42 AM > Subject: [PythonCE] Spinner > > > Does anyone know why I get the spinner over any Python application that > > I > > run? > > The application seems to be running fine even though I am supposed to > > wait for something. > > -- > > Jeffrey Barish > > _______________________________________________ > > PythonCE mailing list > > PythonCE@python.org > > http://mail.python.org/mailman/listinfo/pythonce -- Jeffrey Barish _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce