I have a frontend application always running and receiving windows messages.
When screen saver timeout is less than powersave timeout, my screen saver is getting killed and my frontend application is not receiving WM_POWERBROADCAST message when the displaying is going for sleep. Also due to...
The application is written in C++.
SystemEvents::SessionSwitch Event Occurs when the currently logged-in user has changed. But our requirement is for the usecase when a user is logged-in after a restart(not on each switch user).
Hello,
We have a user defined Appilcation to be executed after user logs in. Hence we have added it to the below path :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
In that user defined application, we check for the login event. Once the user is...
Hello,
I would like to know when is a process ID created?
Is it when the process is created or when the process is in a "running state" ?
Thanks and Regards,
Mananita Das
Hey... WM_GETICON was causing the taskbar to show up..
This message was handled by using Windows API and hide it using SW_HIDE. The issue is no more reproducible.
Hey... WM_GETICON was causing the taskbar to show up..
This message was handled by using Windows API and hide it using SW_HIDE. The issue is no more reproducible.
Tried hook, GetMessage and spy(created MFC application, provided the handle of the mfc application window and checked for the win messages.
Through spy i got to know along with WM_DEVICECHANGE , WM_GETICON, WM_CANCELMODE, WM_ACTIVATEAPP and WM_ACTIVATETOPLEVEL also is sent by windows.
Hello,
Found WM_DEVICECHANGE to the only message being sent by windows which is handled by our application to hide the taskbar
The issue is still reproducible.
I had added traces to get the windows messages! That helped me to get wm_devicechange as one the windows messages ! During eject the taskbar is successfully hidden! It is while inserting the taskbar that the issue is sporadically reproduced.. although the same message is received is received...
Hello,
In our application we get the handle of the taskbar using Windows API and hide it using SW_HIDE.
Yet when the CD / DVD is inserted / ejected the taskbar is visible.
We tried to handle the WM_DEVICECHANGE windows message which is received when any device is inserted to the system and...