tamir 0 Posted February 21, 2005 is it possible to use WM_GETDLGCODE in edit control to determine the input? if it is, could u give me an example please? cos i couldn't get it to work.. Share this post Link to post Share on other sites
jpm 93 Posted February 21, 2005 is it possible to use WM_GETDLGCODE in edit control to determine the input? if it is, could u give me an example please? cos i couldn't get it to work..<{POST_SNAPBACK}>Yes i you just want to read GuiCtrlSend($input,0x0087,0,0).You cannot use the lastparam because you cannot pass a param of type MSG. Share this post Link to post Share on other sites
tamir 0 Posted February 21, 2005 but it always return "141", even when i typing in... Share this post Link to post Share on other sites
jpm 93 Posted February 21, 2005 but it always return "141", even when i typing in...<{POST_SNAPBACK}>this 141 = 0x8D means#define DLGC_WANTARROWS 0x0001 /* Control wants arrow keys */#define DLGC_WANTALLKEYS 0x0004 /* Control wants all keys */#define DLGC_WANTMESSAGE 0x0004 /* Pass message to control */#define DLGC_HASSETSEL 0x0008 /* Understands EM_SETSEL message */#define DLGC_WANTCHARS 0x0080 /* Want WM_CHAR messages */I don't what you are looking for Share this post Link to post Share on other sites
tamir 0 Posted February 21, 2005 hmm maybe i misunderstand what this message does. what exactly i can read with this message? and how can i work with it? i want to make sure it does what i thought... Share this post Link to post Share on other sites