Results 1 to 7 of 7

Thread: ucGallery - Direct2D

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Location
    Argentina
    Posts
    441

    ucGallery - Direct2D

    Hi, I want to share this usercontrol that I have been working on these days, it is a Gallery control to show images and text, I had done this control previously using GDI+ but its performance was not optimal so I decided to try doing it with DirectD2 , I thank The Trick examples and Falalone for their collaboration with the Oleexp.tlb library. I also thank Frank Schüler for his examples in the Effects part of Direct2D
    I had some pending tasks but I think that at the moment it has everything it needs to have to make a product catalog.
    The control is not yet an ocx, later I want to make a suite of modern controls.




    ucGallery - Direct2D.zip

    Requiere Oleexp.tlb 6.1 or later

    Update 09/03/23 added support for windows 7 was added, keep in mind that the examples use the "Segoe MDL2 Assets" font, it is not installed by default in windows 7, you can download this font at https://www.azfonts.net/fonts/segoe-...61089/download
    Last edited by LeandroA; Mar 8th, 2023 at 10:48 PM.
    leandroascierto.com Visual Basic 6 projects

  2. #2
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    733

    Re: ucGallery - Direct2D

    I don't know anything about Direct2D, don't know where to start

  3. #3

  4. #4
    Junior Member
    Join Date
    Jul 2020
    Posts
    29

    Re: ucGallery - Direct2D

    Type mismatch - in every project, in ucGallery > UserControl_ReadProperties. Line - Set cDeviceContext2 = cRenderTarget
    Attachment 187123
    Attached Images Attached Images  

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Location
    Argentina
    Posts
    441

    Re: ucGallery - Direct2D

    Quote Originally Posted by Visualman View Post
    Type mismatch - in every project, in ucGallery > UserControl_ReadProperties. Line - Set cDeviceContext2 = cRenderTarget
    Attachment 187123
    I think the error is because it is on windows 7, sorry I forgot to mention that it requires windows 8 and later.
    maybe later try to make it compatible for windows 7
    Last edited by LeandroA; Mar 7th, 2023 at 10:44 AM.
    leandroascierto.com Visual Basic 6 projects

  6. #6
    Junior Member
    Join Date
    Jul 2020
    Posts
    29

    Re: ucGallery - Direct2D

    Quote Originally Posted by LeandroA View Post
    I think the error is because it is on windows 7, sorry I forgot to mention that it requires windows 8 and later.
    maybe later try to make it compatible for windows 7
    Yes, Win7.

  7. #7
    Fanatic Member
    Join Date
    Jun 2016
    Location
    España
    Posts
    633

    Re: ucGallery - Direct2D

    very good job Leandro

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