os_generate_error and postmortems

David J. Ruck druck at druck.org.uk
Tue Aug 24 21:21:24 BST 2004


On 24 Aug 2004 Stefan Bellon <sbellon at sbellon.de> wrote:
> Ok, assuming I have to do this on my own while the BASIC interpreter
> does it for me, how do I find out whether the program got started
> inside a TaskWindow or from the CLI or whether it got started by
> double-clicking it in the Filer?

Wimp+_ReadSysInfo,3 to check if in the desktop, and if you get "Window
manager is currently in use" when calling Wimp_Initialise, you are in a
taskwindow.

I fell this should be heading off to csa.programmer now.

Cheers
---Dave

-- 
____________________________________________________________________________

  David J. Ruck    Phone: +44- (0)7974 108301    Email: druck at druck.org.uk
____________________________________________________________________________



More information about the oslib-user mailing list