Results 1 to 3 of 3

Thread: can WindowLess control to overlap a non windowless control?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2013
    Posts
    928

    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?

  2. #2

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2013
    Posts
    928

    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
  •  



Click Here to Expand Forum to Full Width