|
List Info
Thread: What's the windows call when minimizing a projector?
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-29 22:22:22 |
In Win32:
SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0), or...
ShowWindow(hWnd, SW_MINIMIZE)
AFAIK, the "Show Desktop" icon does something
different (don't think it's a
HWND_BROADCAST msg).
-nick
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> bounces nuttybar.drama.uga.edu] On Behalf Of
allen.partridge iup.edu
> Sent: Wednesday, March 29, 2006 1:26 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: [dirGames-L] What's the windows call when
minimizing a projector?
>
> Hey,
>
>
>
> Does anybody know what the heck call windows sends a
projector when
> commanding it to minimize to the task bar. (Assume here
a titlebar free
> full
> window projector where the user uses the show desktop
feature to get to
> the
> minimized application.)
>
>
>
> --??
>
>
>
> Tia,
>
>
>
> --al
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 01:56:41 |
So Nick is there any way to listen in the projector for that
call?
--al
-----Original Message-----
From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-bounces nuttybar.drama.uga.edu] On
Behalf Of nick kang
Sent: Wednesday, March 29, 2006 5:22 PM
To: 'Director - Shockwave - and Flash Game Production'
Subject: RE: [dirGames-L] What's the windows call when
minimizing a
projector?
In Win32:
SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0), or...
ShowWindow(hWnd, SW_MINIMIZE)
AFAIK, the "Show Desktop" icon does something
different (don't think it's a
HWND_BROADCAST msg).
-nick
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> bounces nuttybar.drama.uga.edu] On Behalf Of
allen.partridge iup.edu
> Sent: Wednesday, March 29, 2006 1:26 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: [dirGames-L] What's the windows call when
minimizing a projector?
>
> Hey,
>
>
>
> Does anybody know what the heck call windows sends a
projector when
> commanding it to minimize to the task bar. (Assume here
a titlebar free
> full
> window projector where the user uses the show desktop
feature to get to
> the
> minimized application.)
>
>
>
> --??
>
>
>
> Tia,
>
>
>
> --al
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 04:17:13 |
Maybe an Xtra? The XDK might allow you to hook into the
message queue
(having never written an Xtra, I don't know). Else you can
use something
like BuddyAPI and continually poll the window state. A
potentional downside
is that the window will already be minimized by the time you
catch it, and
it sounds like you are trying to suppress the command.
-nick
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> bounces nuttybar.drama.uga.edu] On Behalf Of Allen Partridge
> Sent: Wednesday, March 29, 2006 5:57 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: RE: [dirGames-L] What's the windows call when
minimizing a
> projector?
>
> So Nick is there any way to listen in the projector for
that call?
>
> --al
>
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
> [mailto:dirgames-l-bounces nuttybar.drama.uga.edu] On
Behalf Of nick kang
> Sent: Wednesday, March 29, 2006 5:22 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: RE: [dirGames-L] What's the windows call when
minimizing a
> projector?
>
> In Win32:
> SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0), or...
> ShowWindow(hWnd, SW_MINIMIZE)
>
> AFAIK, the "Show Desktop" icon does
something different (don't think it's
> a
> HWND_BROADCAST msg).
>
> -nick
>
> > -----Original Message-----
> > From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> > bounces nuttybar.drama.uga.edu] On Behalf Of
allen.partridge iup.edu
> > Sent: Wednesday, March 29, 2006 1:26 PM
> > To: 'Director - Shockwave - and Flash Game
Production'
> > Subject: [dirGames-L] What's the windows call
when minimizing a
> projector?
> >
> > Hey,
> >
> >
> >
> > Does anybody know what the heck call windows sends
a projector when
> > commanding it to minimize to the task bar. (Assume
here a titlebar free
> > full
> > window projector where the user uses the show
desktop feature to get to
> > the
> > minimized application.)
> >
> >
> >
> > --??
> >
> >
> >
> > Tia,
> >
> >
> >
> > --al
> >
> > _______________________________________________
> > dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> > http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
>
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 12:51:19 |
Not really suppress. I just want to know when it happens.
Here's the scenario. Late in the project I discover a need
to pause action
in the game when the user forces a window minimize. Now it
seems like there
must be something that I can poll to determine if a call to
the _player has
been made to alter the window state - but when I try I get
nothing.
Sort of works... to disable the animate in background
setting - this stops
the visible animation etc. Unfortunately I have time based
animation systems
that don't get notifies so while the bulk of stuff (frame
dependent stuff)
stops moving on the screen - the milliseconds continue to
tick and my time
based stuff comes back in the same place but n milliseconds
older and
immediately changes it's state.
Doesn't work but probably should...
_player.activewindow.sizestate polls,
_player.activewindow.visible, _player.activewindow.rect -
same with
frontwindow.
Yet to try _player.window("stage").sizestate etc
queries - of course these
are on an exit frame so animate in background has to be
re-enabled with all
of these instances.
So IAN, I'm just looking for a way to determine when a
state change has been
forced by windows, and call my internal pause routine at
that moment.
Any thoughts?
--al
-----Original Message-----
From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-bounces nuttybar.drama.uga.edu] On
Behalf Of nick kang
Sent: Wednesday, March 29, 2006 11:17 PM
To: 'Director - Shockwave - and Flash Game Production'
Subject: RE: [dirGames-L] What's the windows call when
minimizing a
projector?
Maybe an Xtra? The XDK might allow you to hook into the
message queue
(having never written an Xtra, I don't know). Else you can
use something
like BuddyAPI and continually poll the window state. A
potentional downside
is that the window will already be minimized by the time you
catch it, and
it sounds like you are trying to suppress the command.
-nick
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> bounces nuttybar.drama.uga.edu] On Behalf Of Allen Partridge
> Sent: Wednesday, March 29, 2006 5:57 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: RE: [dirGames-L] What's the windows call when
minimizing a
> projector?
>
> So Nick is there any way to listen in the projector for
that call?
>
> --al
>
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
> [mailto:dirgames-l-bounces nuttybar.drama.uga.edu] On
Behalf Of nick kang
> Sent: Wednesday, March 29, 2006 5:22 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: RE: [dirGames-L] What's the windows call when
minimizing a
> projector?
>
> In Win32:
> SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0), or...
> ShowWindow(hWnd, SW_MINIMIZE)
>
> AFAIK, the "Show Desktop" icon does
something different (don't think it's
> a
> HWND_BROADCAST msg).
>
> -nick
>
> > -----Original Message-----
> > From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> > bounces nuttybar.drama.uga.edu] On Behalf Of
allen.partridge iup.edu
> > Sent: Wednesday, March 29, 2006 1:26 PM
> > To: 'Director - Shockwave - and Flash Game
Production'
> > Subject: [dirGames-L] What's the windows call
when minimizing a
> projector?
> >
> > Hey,
> >
> >
> >
> > Does anybody know what the heck call windows sends
a projector when
> > commanding it to minimize to the task bar. (Assume
here a titlebar free
> > full
> > window projector where the user uses the show
desktop feature to get to
> > the
> > minimized application.)
> >
> >
> >
> > --??
> >
> >
> >
> > Tia,
> >
> >
> >
> > --al
> >
> > _______________________________________________
> > dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> > http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
>
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 10:33:24 |
Hi,
>
> Maybe an Xtra? The XDK might allow you to hook into
the
> message queue (having never written an Xtra, I don't
know).
> Else you can use something like BuddyAPI and
continually poll
> the window state. A potentional downside is that the
window
> will already be minimized by the time you catch it, and
it
> sounds like you are trying to suppress the command.
-nick
The Glue32 or Glu32 xtra can do this I think. It is a long
time ago that
I used this xtra and I don't have my win32 api bible at
hand so I can't
provide you with the exact instructions but with the help of
the docs
you should be able to figure it out.
You can get the window handle (or hdc, device control?) by
application
name. Once you've got the window handle you should be able
to check the
window messages an other win32 api function call.
Good luck,
Marco.
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 12:51:19 |
Not really suppress. I just want to know when it happens.
Here's the scenario. Late in the project I discover a need
to pause action
in the game when the user forces a window minimize. Now it
seems like there
must be something that I can poll to determine if a call to
the _player has
been made to alter the window state - but when I try I get
nothing.
Sort of works... to disable the animate in background
setting - this stops
the visible animation etc. Unfortunately I have time based
animation systems
that don't get notifies so while the bulk of stuff (frame
dependent stuff)
stops moving on the screen - the milliseconds continue to
tick and my time
based stuff comes back in the same place but n milliseconds
older and
immediately changes it's state.
Doesn't work but probably should...
_player.activewindow.sizestate polls,
_player.activewindow.visible, _player.activewindow.rect -
same with
frontwindow.
Yet to try _player.window("stage").sizestate etc
queries - of course these
are on an exit frame so animate in background has to be
re-enabled with all
of these instances.
So IAN, I'm just looking for a way to determine when a
state change has been
forced by windows, and call my internal pause routine at
that moment.
Any thoughts?
--al
-----Original Message-----
From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-bounces nuttybar.drama.uga.edu] On
Behalf Of nick kang
Sent: Wednesday, March 29, 2006 11:17 PM
To: 'Director - Shockwave - and Flash Game Production'
Subject: RE: [dirGames-L] What's the windows call when
minimizing a
projector?
Maybe an Xtra? The XDK might allow you to hook into the
message queue
(having never written an Xtra, I don't know). Else you can
use something
like BuddyAPI and continually poll the window state. A
potentional downside
is that the window will already be minimized by the time you
catch it, and
it sounds like you are trying to suppress the command.
-nick
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> bounces nuttybar.drama.uga.edu] On Behalf Of Allen Partridge
> Sent: Wednesday, March 29, 2006 5:57 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: RE: [dirGames-L] What's the windows call when
minimizing a
> projector?
>
> So Nick is there any way to listen in the projector for
that call?
>
> --al
>
> -----Original Message-----
> From: dirgames-l-bounces nuttybar.drama.uga.edu
> [mailto:dirgames-l-bounces nuttybar.drama.uga.edu] On
Behalf Of nick kang
> Sent: Wednesday, March 29, 2006 5:22 PM
> To: 'Director - Shockwave - and Flash Game
Production'
> Subject: RE: [dirGames-L] What's the windows call when
minimizing a
> projector?
>
> In Win32:
> SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0), or...
> ShowWindow(hWnd, SW_MINIMIZE)
>
> AFAIK, the "Show Desktop" icon does
something different (don't think it's
> a
> HWND_BROADCAST msg).
>
> -nick
>
> > -----Original Message-----
> > From: dirgames-l-bounces nuttybar.drama.uga.edu
[mailto:dirgames-l-
> > bounces nuttybar.drama.uga.edu] On Behalf Of
allen.partridge iup.edu
> > Sent: Wednesday, March 29, 2006 1:26 PM
> > To: 'Director - Shockwave - and Flash Game
Production'
> > Subject: [dirGames-L] What's the windows call
when minimizing a
> projector?
> >
> > Hey,
> >
> >
> >
> > Does anybody know what the heck call windows sends
a projector when
> > commanding it to minimize to the task bar. (Assume
here a titlebar free
> > full
> > window projector where the user uses the show
desktop feature to get to
> > the
> > minimized application.)
> >
> >
> >
> > --??
> >
> >
> >
> > Tia,
> >
> >
> >
> > --al
> >
> > _______________________________________________
> > dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> > http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
>
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-
>
> _______________________________________________
> dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
> http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 14:09:44 |
isn't there an on minimize event? dang, no.
you could maybe poll the state of the window with buddy
api...
baWindowInfo (Win,Mac) -- returns info (state, size,
postion, title,
class) of a window
Stefan
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 14:04:01 |
Have you tried using the on appMinimize() handler?
--
Brian Robbins
Director of Games, Game Trust
http://www.gametrust.com/
a>
Chair, IGDA Online Games SIG and Casual Games SIG
http://www.igda.org/onlin
e/ http://www.igda.org/casua
l/
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
| What's the windows call when minimizing
a projector? |

|
2006-03-30 10:33:24 |
Hi,
>
> Maybe an Xtra? The XDK might allow you to hook into
the
> message queue (having never written an Xtra, I don't
know).
> Else you can use something like BuddyAPI and
continually poll
> the window state. A potentional downside is that the
window
> will already be minimized by the time you catch it, and
it
> sounds like you are trying to suppress the command.
-nick
The Glue32 or Glu32 xtra can do this I think. It is a long
time ago that
I used this xtra and I don't have my win32 api bible at
hand so I can't
provide you with the exact instructions but with the help of
the docs
you should be able to figure it out.
You can get the window handle (or hdc, device control?) by
application
name. Once you've got the window handle you should be able
to check the
window messages an other win32 api function call.
Good luck,
Marco.
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|
|
[1-9]
|
|