A problem for all those who can use VB to the highest standard: as far as I can tell (as a native C++ user) there is no way I can sub-class a window in VB...

I want to stick a tool-bar inside another window (I have the hWnd) that looks like a floating window inside that one. It cannot be moved outside its window, becomes covered by that application's menus, doesn't disappear when clicking on the host window, but isn't always on top, Intercepts any keyboard or mouse events that apply to it WITHOUT yielding focus from the host window.

Can this be done in VB?


JamesW