Handling EM_SETSEL message
Our application uses C++/MFC. We have normal edit boxes and a type of edit box that is filled with spaces by default when it is empty. The problem is that it is possible to make a selection with the mouse of an empty edit box, which looks a bit silly.
How can I trap the EM_SETSEL message? Once its trapped I can check if the edit box has valid content and can be selected.
|All times are GMT +5.5. The time now is 01:46.|