WinApi: Interaction with SysListView32 under locked workstation

Hi Experts,

I there a way to emulate mouse events like WM_LBUTTONDBLCLK (SendMessage) or keypress (SendKey/SendInput: ENTER) to SysListView32 under locked workstation?

At the moment no mouse or keyboard events are allowed under locked workstation, but my application is interacting with another application
using winapi messages and I can't find any other way implement this.

Thank you.
Who is Participating?
jkrConnect With a Mentor Commented:
I'd rather go the route to detect when the workstation i locked, suspend your interaction and resume it after the machine has been unlocked again. See ("Creating a Winlogon Notification Package") and ("Registering a Winlogon Notification Package"). All you have to do is looking out for the "Lock" and "Unlock" events.
BTW, if you have to support Vista also, these are superseded by the System Event Notification Service (SENS) - see ("ISensLogon Interface") for more on that.
EPAM_SystemsAuthor Commented:
I don't need to detect when the workstation is locked - I need to interact with SysListView32 under locked workstation.
jkrConnect With a Mentor Commented:
... which you cannot. Thus the suggestion to stop interacting with it until it is unlocked again.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.