It might be nice to support subclassing controls. Implementation might be similar to CGUI.OnMessage. It might also be necessary to do this anyway because of the different message numbers for SETFOCUS/KILLFOCUS messages.