Results 1 to 40 of 4199

Thread: CommonControls (Replacement of the MS common controls)

Threaded View

  1. #10

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,728

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    The performance of the ToolBar has been increased.
    This was achieved by internally doing at some points (if applicable) a invalidation instead of a refresh.

    Quote Originally Posted by Karl77 View Post
    Found out how to avoid the screen flicker.
    When I comment out this:

    Code:
    .TextAlignment = TbrTextAlignBottom
    then no flicker occurs.
    Changing .TextAlignment will cause re-creating of the control. During the re-creation LockWindowUpdate is used:

    Code:
    Private Sub ReCreateToolBar()
    Dim Locked As Boolean
    With Me
    Locked = CBool(LockWindowUpdate(UserControl.hWnd) <> 0)
    [...]
    If Locked = True Then LockWindowUpdate 0
    .Refresh
    End With
    Maybe LockWindowUpdate does cause a screen flicker in your particular app, just a guess.

    Solution could be to set the .TextAlignment already at design-time to the wanted value.

    Quote Originally Posted by gwboolean View Post
    What is the possibility of getting a multicolumn Combobox in the queue? Or is there one already there?
    You mean something like this ?
    Last edited by Krool; Sep 29th, 2017 at 02:57 PM.

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