Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: kas1e on December 29, 2004, 04:00:42 AM

Title: where ActivateScreen(); or i am a blind man ?:)
Post by: kas1e on December 29, 2004, 04:00:42 AM
For intuition window we have WindowToFront(window) and ActivateWindow(window), but for screens (as i found, or i am just a blind man) only ScreenToFront. Intuition do not have ActivateScreen() ? :) If not, how i can active screen safely ?
Title: Re: where ActivateScreen(); or i am a blind man ?:)
Post by: Kronos on December 29, 2004, 04:08:38 AM
I would say "ActiveScreen" is allways "ActiveWindow->WScreen", so no much sense in setting ActiveScreen by hand.
Title: Re: where ActivateScreen(); or i am a blind man ?:)
Post by: kas1e on December 29, 2004, 04:40:06 AM
For example i have 2 screen with no window. And want set active/inactive it. how i can do it ?
Title: Re: where ActivateScreen(); or i am a blind man ?:)
Post by: Piru on December 29, 2004, 09:02:30 AM
Quote
For example i have 2 screen with no window. And want set active/inactive it. how i can do it ?

There is no such thing as active screen. Only windows can be active/inactive.

Screens have only concept of frontmost.