Results 1 to 5 of 5

Thread: Can you make part of a control transparent?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302

    Can you make part of a control transparent?

    Let me preface this by saying I do not want to make a picturebox transparent. A picturebox is not involved.

    I found these cool freeware controls at innovasys.com, and they look great . Especially the "FramePlus" control. But I want to make a certain portion of this control transparent.

    I attached a small png, the area that appears purple is the controls maskcolor. I just want to set that maskcolor to transparent. But every tutorial I found involves a picturebox control and/or a maskpicture.

    I never bothered learning vb graphics before, so I have no real idea how to do this. I do know that the control exposes hWnd and hDC properties.

    Any help is appreciated.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    DOH! forgot the attachment.
    Attached Images Attached Images  

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    Da Bump!

  4. #4
    Hyperactive Member mudfish's Avatar
    Join Date
    Feb 2004
    Location
    Chit Chat
    Posts
    353
    I do not think you can make part of it transparent, but you should be able to cover it with another control!
    Mudfish AKA Bowfin
    I can spell "If" all day right, just a coder!


    "Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut." -- Ernest Hemingway

    Member of the ECCC

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    Originally posted by mudfish
    I do not think you can make part of it transparent, but you should be able to cover it with another control!
    nice try mudfish , but not what I'm looking for. Unfortunately it might be my only option.

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