Jump to content

Detect external GUI event close...


Recommended Posts

Good morning guys :)

I was trying to not open another post, writing here my little issue, but seems that no one cares about, and so, I'm opening another post :)

What I'm trying to do, is detect the event close sent from the virtual keyboard.

Why?

Because, I have an application which, when I set the focus on a textbox, if the virtual keyboard does not exist, then it is created, else, it's not created :)

But, everytime I try to close the virtual keyboard, the focus remains on the textbox, and another $EN_FOCUS event it's launched and detected from my WM_COMMAND, and so, the virtual keyboard is opened again. 

How can I solve this little "issue"? 

I was trying to detect the event sent from the virtual keyboard, storing the handle of it in a variable, and setting:

GUISetOnEvent($GUI_EVENT_CLOSE, "CloseVK", $hVirtualKeyboard)

without any result.

Can someone please help me? :)

Thanks :) 

EDIT:

Here I'd like to see @Melba23, @water, @Danyfirex...

 

Edited by FrancescoDiMuro

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Link to comment
Share on other sites

Hello. Post code where we can easy run and reproduce the issue. 

 

Saludos

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...