Re: canFocus dosen't work

new topic     » goto parent     » topic index » view thread      » older message » newer message

According to the documentation, the function canFocus does not return a success code, it returns the previous setting of canFocus.

Before your first call to canFocus, it was unlikely to be anything but true.
After that it would be true because of the first call, so it would be true before the second call as well.
Since canFocus returns the PREVIOUS state, it would return 1 (for true) both times.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu