This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: DefineDialog with DLG_MSG_ALL
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 29, 2011
04:38 PM
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:
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:
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2011
10:20 AM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2011
11:39 AM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2011
11:46 AM
Thanks for the info Josh! This type of info really needs to be in the Help file.