ChrisS85 / CGUI

An object-oriented GUI library for AutoHotkey
22 stars 19 forks source link

Generic mechanism to assign message handlers to GUI instances #15

Closed ChrisS85 closed 12 years ago

ChrisS85 commented 13 years ago

Right now message handlers need to locate the instance by the window handle they were sent to. This library should feature a OnGUIMessage(Message, Function) method that enables message handling of this message and forwards it to GUI.Function.

ChrisS85 commented 12 years ago

Implemented. There might be issues with ShellMessage being handled through this mechanism and with users calling OnMessage to override the callback function used here, but other than that it should be fine.