Is it completely impossible to create child controls that can stretch
outside of parent? Reason for asking: want to create own tooltips for
a custom control list. The label will always be part of parent, but
may have to stretch outside for long items near border.
I know about popups and have tried that. While it works, it's a lot of
extra code and I have trouble preventing focus to change without
flicker. Using simple in-house label is soo much easier and cleaner.
If only I could turn of clipping somehow and make it stretch outside parent..
Interesting test was to create a label with both WS_POPUP and WS_CHILD
style. MS says it can't be done and while it can, they probably are
right because label is created without id, so impossible to do anything
more with it. Still, it shows and can be placed freely on screen at
creation time. (not useful and probably not safe, but fun to see..
------------------
outside of parent? Reason for asking: want to create own tooltips for
a custom control list. The label will always be part of parent, but
may have to stretch outside for long items near border.
I know about popups and have tried that. While it works, it's a lot of
extra code and I have trouble preventing focus to change without
flicker. Using simple in-house label is soo much easier and cleaner.
If only I could turn of clipping somehow and make it stretch outside parent..
Interesting test was to create a label with both WS_POPUP and WS_CHILD
style. MS says it can't be done and while it can, they probably are
right because label is created without id, so impossible to do anything
more with it. Still, it shows and can be placed freely on screen at
creation time. (not useful and probably not safe, but fun to see..

------------------
Comment