Dec 17, 2014 at 10:30pm UTC
Hello!
I have an application with audio,
which don't like user switching.
How I can recognize user switching.
I traced the windows callback messages
and I see no specific message to use.
Have you an idea?
Erhy
switch to an other user
22:15:45|647 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'46' ---WM_WINDOWPOSCHANGING
22:15:45|647 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83' ---WM_NCCALCSIZE
22:15:45|821 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'47' ---WM_WINDOWPOSCHANGED
22:15:45|821 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'D' ---WM_GETTEXT
22:15:45|821 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83' ---WM_NCCALCSIZE
22:15:45|821 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'31E' --Desktop Window Manager (DWM) enabled or disabled
back to the user who owns this window
22:16:32|346 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'7E' ---display resolution has changed
22:16:32|405 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'7E'
22:16:32|742 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'15' ---WM_SYSCOLORCHANGE
22:16:32|742 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'1E' ---WM_TIMECHANGE
22:16:32|742 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'31B' --unknown
22:16:32|743 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'31A' ----theme change event
22:16:32|743 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'46' ---WM_WINDOWPOSCHANGING
22:16:32|743 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83' ---WM_NCCALCSIZE
22:16:32|743 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'47'
22:16:32|743 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'46'
22:16:32|743 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83'
22:16:32|744 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'47'
22:16:32|744 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'D'
22:16:32|744 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83'
22:16:32|744 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'31B' --unknown
22:16:32|744 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'1A'
22:16:33|216 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'1A'
22:16:35|386 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'320' --WM_DWMCOLORIZATIONCOLORCHANGED
22:16:35|394 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'46'
22:16:35|394 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83'
22:16:35|394 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'85'
22:16:35|395 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'47'
22:16:35|395 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83'
22:16:35|396 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'85'
22:16:35|396 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'46'
22:16:35|397 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83'
22:16:35|400 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'85'
22:16:35|406 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'47'
22:16:35|417 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'83'
22:16:35|418 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'85'
22:16:35|422 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'31E' --Desktop Window Manager (DWM) enabled or disabled
22:16:35|423 WndProc: switch (uMsg) NOTHING FOUND uMsg= X'31F' --Sent when the non-client area rendering policy has changed