Results 1 to 3 of 3

Thread: Any user button control or menu support svg icon without use vbrichclient or codejock

  1. #1

    Thread Starter
    Fanatic Member Black_Storm's Avatar
    Join Date
    Sep 2007
    Location
    any where
    Posts
    575

    Any user button control or menu support svg icon without use vbrichclient or codejock

    i have a simple project and need a button with svg icon(svg because i need resize my button or icon without problem with quality icon) and i am looking for a simple menu to can support svg icon (optional right to left menu or button support)

    i searched and i found some samples with use vbrichclient or codejock but i dont want use ocx i want jst use user control in my project.
    any can send some samples or links to i can check?

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Any user button control or menu support svg icon without use vbrichclient or code

    Wel gosh. i keep hearing "disk is cheap, so size doesn't matter."

    If so, then you can just use a proper ICO with images drawn at the usual sizes, up to 256x256. Then use LoadIconWithScaleDown() in order to get cleaner scaling when you need other sizes not present as individual bitmaps. That's the standard, recommended solution offered by Microsoft.

  3. #3
    PowerPoster
    Join Date
    Jan 2020
    Posts
    3,746

    Re: Any user button control or menu support svg icon without use vbrichclient or code

    The greatest idea: just use the webbrowser control
    load svg file like png file,jpg file

    Or create a relatively large PNG image, and then use GDIPLUS to reduce the display, it is always clear

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