Jump to content

WM_GETDLGCODE


tamir
 Share

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.

Link to comment
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:

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...