Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
113 user(s) are online (94 user(s) are browsing Forums)

Members: 0
Guests: 113

more...

Support us!

Headlines

 
  Register To Post  

Is it possible to detect when a user workbench changes screen resolution?
Home away from home
Home away from home


See User information
Is it possible to detect when a user workbench changes screen resolution?
I need to close my application for a few sec.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Is it possible to detect when a user workbench changes screen resolution?
Amigans Defender
Amigans Defender


See User information
Yes, it definitely is, as WB notifies everything to close and reopen when this happens. With window.class it send WMHI_ICONIFY and WMHI_UNICONIFY messages. I'm not sure what the equivalent is for normal Intuition windows (IDCMP_ICONIFY doesn't appear to exist).

Go to top
Re: Is it possible to detect when a user workbench changes screen resolution?
Home away from home
Home away from home


See User information
I'm using a normal intuition window.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Is it possible to detect when a user workbench changes screen resolution?
Not too shy to talk
Not too shy to talk


See User information

See intuition.library/StartScreenNotifyTagList. Read the autodocs for more information.

For OS 3.x check screennotify.library: http://aminet.net/package/util/libs/ScreenNotify10

Go to top
Re: Is it possible to detect when a user workbench changes screen resolution?
Home away from home
Home away from home


See User information
Sounds hacky is there any other option?

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Is it possible to detect when a user workbench changes screen resolution?
Not too shy to talk
Not too shy to talk


See User information

intuition.library is part of the OS. Why do you call it hacky?

screennotify.library is the standard for this purpose on OS 3.x. Everything else is a hack.


Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project