I was wandering if there is a CEdit function( or another) that can return a handle to a selected edit box.
I would like to use an if statement( something like
if(there is a selected edit box == true)
do this to it;
How would I do it?
I was wandering if there is a CEdit function( or another) that can return a handle to a selected edit box.
I would like to use an if statement( something like
if(there is a selected edit box == true)
do this to it;
How would I do it?
Everything is relative...
What exactly do you mean by "selected edit box"? If you want to check wether an edit box has the focus, you could do something like:
Code:if(GetFocus() == handleToEditBox) { // Do something }