Message Box with Mouse Cursor locked in it.

  • Thread starter Thread starter RK_Blr
  • Start date Start date
R

RK_Blr

Guest
Hello,

Is there a way to create a message box, such that we can lock the mouse pointer on this box till user’s answer { Ok / Cancel } is not received ??

My project (C/C++, Windows 10 )is such that there are multiple windows running in it.

If an Error is encountered, a message box is popped. But at times, before the user takes an action on the message box, another window comes up and locks the mouse pointer within itself { this is not the top window }.

So user is stuck. Message box won’t let it proceed and mouse is locked by another window.

I want to know if there is a way to force lock the mouse pointer to the message box.

So that no other window can take control of it.

Please note that the device I am using has only mouse and no keyboard. So ALT+TAB is not an option with me.

I am using Windows 10 OS, and C/C++

Continue reading...
 
Back
Top