Results 1 to 4 of 4

Thread: [HELP] Using 32 bit Icons with alpha masking

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    2

    Arrow [HELP] Using 32 bit Icons with alpha masking

    Guys...

    i'm trying to create an application using 32 bit alpha Icons. But kinda stuck with icon rendering (shadow). the icons not displayed properly on either picture / image box..

    a good icons usage function (rendering/alpha masking) to show the icons will be much appreciated... a useful link concerning this will also be great...

    sorry if it were such a newbie question


    regards,
    Ranjang

    I'm using VB 6

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [HELP] Using 32 bit Icons with alpha masking

    Welcome to the Forums.

    Check out these article on the alpha channel:
    http://www.vbaccelerator.com/home/NE...ll/article.asp

    http://www.vbaccelerator.com/home/VB...ts/article.asp
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    2

    Re: [HELP] Using 32 bit Icons with alpha masking

    Quote Originally Posted by RobDog888
    Welcome to the Forums.

    Check out these article on the alpha channel:
    http://www.vbaccelerator.com/home/NE...ll/article.asp

    http://www.vbaccelerator.com/home/VB...ts/article.asp
    tried that already...


  4. #4
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: [HELP] Using 32 bit Icons with alpha masking

    How are you 'rendering' your 'icon'? What do you mean by icon?

    Have you tried learning BitBlt? It allows you to draw picture with a transparent area.
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

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