WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Dialog Editor version 6.X
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Dialog Events For Unsupported Controls

 Keywords:  

Events for API controls

https://techsupt.winbatch.com/techsupt/Dialog Events.zip

Files:	ex_events.dll
	ex_events.wbt , include
	wil_test.wbt  , test example  
	treeview2.wbt , treeview include
A dll 'ex_events.dll' contains a dialog procedure that gains control over the original dialog procedure, when an extra event not supported by the wil dialog occurs, it posts a click to a wil (invisible) button you specify, non extra events are passed back to the wil procedure for normal processing. You can use child dialogs, use a different event button for each dialog.

When a click occurs use evGetwParam(), evGetlParam(), evGetHwnd(), evGetMsg() to get the info for that notification message.

wparam, lparam	: aditional info for the msg
hwnd		: handle of control sending the message
msg		: msg identifier
I preserved the same API value for the notification msg, but wparam, lparam are not the real values, i wrapped them to pass only the most used data.

See wil_test.wbt

Guido 04/04


Article ID:   W16406
File Created: 2019:08:14:09:16:10
Last Updated: 2019:08:14:09:16:10