The ZOrder will not take effect, if I want a windowless to partially overlap a non-windowless control, it won't help.
that is it?
Printable View
The ZOrder will not take effect, if I want a windowless to partially overlap a non-windowless control, it won't help.
that is it?
No. A windowless control always is on a container window, so if your windowed control is above the container window the windowless cotrol will always behind that.
yep, too good to be true.
Now, it doesn't get the keyboard focus. When you use TAB or CTRL+TAB, the cursor don't stop in the windowless buttons. So? is that also that a thing?
I already checked that usercontrol.forwardfocus is false , and CanGetFocus = true. Any Idea?
FIXED.
It wasn't updating the view when used in backstyle =1 and autoredraw = true
when is a dual behaviour, Opaque or transparent windowless is required where usercontrol.refresh to change it to.
if usercontrol.autoredraw then
call redrawProcedure ' This forced to redraw the buffer and show it. As usercontrol.refresh will fail if there is a buffer in the middle (I think usercontrol.refresh just re-stamp the buffer, instead to recall the _Paint event).
else
usercontrol.refresh ' This forces go throught usercontrol_paint event to make sure usercontrol.hDC is always available when executing the redrawProcedure.
endif