Results 1 to 40 of 4215

Thread: CommonControls (Replacement of the MS common controls)

Threaded View

  1. #10
    Member lrd_VB6's Avatar
    Join Date
    Jul 2014
    Location
    FRANCE
    Posts
    36

    Re: CommonControls (Replacement of the MS common controls)

    Hello,

    happy to have made the project forward.

    Another little detail to "tease"
    In the following code:
    Code:
    If ImageListHandle = 0 Or (PropImageWidth = 0 Or PropImageHeight = 0) Then
            If PropImageWidth = 0 Then PropImageWidth = UserControl.ScaleX(Picture.Width, vbHimetric, vbPixels)
            If PropImageHeight = 0 Then PropImageHeight = UserControl.ScaleY(Picture.Height, vbHimetric, vbPixels)
            If ImageListHandle = 0 Then Call CreateImageList
    End If
    The first test is unnecessary.

    By cons, it is important to leave last
    If ImageListHandle = 0 Then Call CreateImageList

    Last, I'd like able to benefit from your internal routines to implement the subclassing by the method of your choice (usercontrol, class or other)
    To manage the mouse wheel by example.

    Good luck and thank you for your work.
    Last edited by lrd_VB6; Jul 21st, 2016 at 05:03 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