Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cursor?
#1
Hi Gintaras

I use a simple triggered function to close a popup. If im typing in a different window it steals the cursor sometimes.
Is there any way to restore cursor position so it wont effect my typing?

the popup closer is just simple

Function Popup
Code:
Copy      Help
int hwnd=val(_command)
but+ id(1 hwnd);err


What could i do?

Thank you
#2
The popup deactivates current window (and it remains inactive after closing the popup)?
Or just the text control?
#3
the window im typing in stays active it just takes the cursor out of the edit control
#4
Create function that runs when the window is activated. Let it activate the control.

Or the Popup function could activate the control in windows where need.


Forum Jump:


Users browsing this thread: 1 Guest(s)