|
-
Nov 2nd, 2021, 12:53 PM
#1
Thread Starter
Fanatic Member
can WindowLess control to overlap a non windowless control?
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?
-
Nov 2nd, 2021, 01:17 PM
#2
Re: can WindowLess control to overlap a non windowless control?
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.
-
Nov 2nd, 2021, 08:04 PM
#3
Thread Starter
Fanatic Member
Re: can WindowLess control to overlap a non windowless control?
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
Last edited by flyguille; Nov 2nd, 2021 at 08:41 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|