Jump to content
Sign in to follow this  
tamir

WM_GETDLGCODE

Recommended Posts

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

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 :lmao:

Share this post


Link to post
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...