There is WM_CUT WM_PASTE WM_COPY there is also WM_CLEAR whitch is not working :mad:
Posted on 2003-06-28 15:53:33 by AceEmbler
Create a string db "",0. Then WM_SETTEXT the string. There you go, the editbox is cleared.
Posted on 2003-06-28 23:34:16 by roticv

Create a string db "",0. Then WM_SETTEXT the string. There you go, the editbox is cleared.


1. U dont heve to create String,0
invoke SendMessage,hwnd,WM_SETTEXT,0,0 is working also.


2. I dont wont to clear the edit i just wont to know when user select text in edit and then pres Back_space or Del to clear the edit.
Posted on 2003-06-29 02:40:15 by AceEmbler
Check for an EN_CHANGE message or an EN_UPDATE message.
Posted on 2003-06-29 02:51:19 by donkey
EN_CHANGE that's what i was looking for thx donkey.
Posted on 2003-06-29 03:17:19 by AceEmbler