AminetAminet
Search:
84734 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/basic/ActiveWindow.lha

Mirror:Random
Showing: generic icon
No screenshot available
Short:Sample code for auto activating window
Author: damir.arh at telesat.si (Damir Arh)
Type:dev/basic
Architecture:m68k-amigaos
Date:2000-09-02
Requires:Blitz Basic 2.1, AmigaLibsII.res
Download:dev/basic/ActiveWindow.lha - View contents
Readme:dev/basic/ActiveWindow.readme
Downloads:7746

This source code is completely free. You can redistribute and/or modify it
without any restrictions whatsoever.

It demonstrates how to open a window which automaticaly activates itself as
long as its screen is the front one. Extensive comments also make it easy to
learn from it or to modify it to your own needs.

The routine is particularily useful in cases where you open your own screen and
a window on it which then receives all the events through IDCMP messages and
also changes the pointer. By using this routine you can always know when your
screen is the front one and you can activate the window without the user having
to intervene.

Apart from the routine itself the archive also contains a small demo
executable. Information on how to use the routine are included in the source
code.

I'd like to thank David McMinn who helped me a lot when writing this routine.


S-mail: Damir Arh
        Titova 89
        SI-4270 Jesenice
        Slovenia

E-mail: damir.arh@telesat.si

WWW:    http://damir.gajba.net/


Contents of dev/basic/ActiveWindow.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                10993   19404  56.7% -lh5- 6bbb Aug 30  2000 ActiveWindow/ActiveWindow
[generic]                  808    1682  48.0% -lh5- 810f Aug 30  2000 ActiveWindow/ActiveWindow.asc
[generic]                  651    1219  53.4% -lh5- a726 Aug 30  2000 ActiveWindow/ActiveWindow.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files   12452   22305  55.8%            Sep  2  2000
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>