I've got another bug... AddXWindow() and RemoveXWindow() should NOT be made static, as they need 'this' to bind x window with control.
In fact, as static they don't even compile... But theide was missing the dependence, I don't know why.
Sorry! My mistake.
Quote:
p.s.: what's the matter of 'Window' member in Ctrl class ? Couldn't be used for subwindow in DHCtrl component ? For now I've added a WindowHandle inside member on it, but I guess would be better use existing Window, as I guess it's provided just for TopWindow ctrls.