Poster: Gello at 8/21/2005 9:41:49 AM PDT Subject: Event for ALT-TAB back to game? |
| |
Is there an event to determine when we ALT-TAB back to the game?
The UI is losing scale of a window and I'd like to rescale them after this happens.
CVAR_UPDATE with an arg1 of "WINDOWED_MODE" will let me know when the user goes into options and changes to/from windowed mode, but it doesn't fire on a simple alt-tab.
I see a couple mods get around this by a constant OnUpdate to check if a test frame scale is the same as UIParent scale, then reasserts scaling and reverts the test frame scale, but that's a last ditch effort I'd like to avoid.[ post edited by Gello ]
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=202558&p=#post202558 |
| |
Poster: slouken at 8/22/2005 11:18:19 AM PDT Subject: Re: Event for ALT-TAB back to game? |
| |
In the next test realm update, ALT-TAB won't change the scale of the game.
Thanks!
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=202558&p=#post203056 |
Poster: slouken at 8/22/2005 4:11:32 PM PDT Subject: Re: Event for ALT-TAB back to game? |
| |
Q u o t e: Will this fix the audio issue too whenver the game looses focus? Alt tabbing or clicking out of the game window (when in windowed mode) then clicking back usually makes my audio very, very loud...
I just tracked this down. It appears to be a bug in DirectSound: Any sound which is created while the app is not in focus will have full volume when the app regains focus. I added a workaround which basically forces re-setting sound volumes when the game regains focus.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=202558&p=#post203224 |
Poster: slouken at 8/22/2005 4:32:53 PM PDT Subject: Re: Event for ALT-TAB back to game? |
| |
FYI, this is a hardware-specific sound driver bug, so updating your sound card drivers may take care of the issue if you're experiencing it.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=202558&p=#post203233 |
Poster: slouken at 8/22/2005 5:56:15 PM PDT Subject: Re: Event for ALT-TAB back to game? |
| |
Q u o t e: Will this fix the audio issue too whenver the game looses focus? Alt tabbing or clicking out of the game window (when in windowed mode) then clicking back usually makes my audio very, very loud...
This is a hardware-specific sound driver bug, so updating your sound card drivers may take care of the issue if you're experiencing it.
You can also try:
/console SoundMaxHardwareChannels 0
You only need to do this once, this setting will be saved between sessions.
(I tried hacking a workaround, but it didn't work reliably)[ post edited by slouken ]
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=202558&p=#post203276 |