Loading
DefineDialog with DLG_MSG_ALL
Can anyone confirm that this WORKS? :eek:

 

Creating a dialog using DefineDialog() with DLG_MSG_ALL is suppose to pass "most Windows" messages. From what I see, this doesn't do any more than using EzDefineDialog(). :confused:

  • Has anyone gotten DefineDialog with DLG_MSG_ALL to work? By that I mean you are able to see more than just the standard button messages.
  • J Stechnij (Flexera Software)

    The documentation is somewhat unclear as to the meaning of these flags. DLG_MSG_ALL may some send additional messages, but the following is a general guideline of what may or may not be returned to script code.

     

    Notification messages (all except the following are returned to script):

     

    NM_SETFOCUS

     

    NM_KILLFOCUS

     

    NM_CUSTOMDRAW

     

    NM_HOVER

     

    NM_NCHITTEST

     

    NM_RELEASEDCAPTURE

     

    NM_SETCURSOR

     

    Command messages:

     

    Edit controls (no messages besides the following will return to script):

     

    EN_CHANGE

     

    EN_UPDATE

     

    EN_MAXTEXT

     

    Combo controls (no messages besides the following will return to script):

     

    CBN_CLOSEUP

     

    CBN_DROPDOWN

     

    CBN_DBLCLK

     

    CBN_EDITCHANGE

     

    CBN_EDITUPDATE

     

    CBN_SELCHANGE

     

    CBN_SELENDCANCEL

     

    CBN_SELENDOK

     

    List controls (no messages besides the following will return to script):

     

    LBN_SELCHANGE

     

    LBN_SELCANCEL

     

    LBN_DBLCLK

     

    Button controls:

     

    All command messages will return to script

     

    DLG_MSG_STANDARD returns a slightly more limited subset of the above messages.

     

    In general, no messages are returned to script code that cannot be handled by the script since there are some limitations with the InstallScript language and the dialog manager that would prevent these messages from being handled appropriately.
    Expand Post

Loading
DefineDialog with DLG_MSG_ALL