Re: canFocus dosen't work
- Posted by ArthurCrump Apr 20, 2009
- 776 views
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.