Results 1 to 13 of 13

Thread: Make part of a form 'transparent'

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Posts
    484

    Make part of a form 'transparent'

    hi,
    for my app i want to make the bottom part of my form transparent. I've seen an example with the whole form transparent except the title bar, i just don't know how to make it transparent jsut for part of a form. Someone pls tell me how, an example always help!

    many thanx!~

  2. #2
    You can use a flood of API code (as Chris would recommend ). I use an ActiveX control: the PolyForm control. http://www.geocities.com/SiliconValley/Haven/2118

  3. #3
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Originally posted by filburt1
    You can use a flood of API code (as Chris would recommend
    What can I say, I love API

    As for the Q, not sure if this is what you're after, but you could try this cool app http://members.fortunecity.com/alexv...tml?VBSFC.html

  4. #4
    DaoK
    Guest
    I want to try your program chrisjkbut the link do not work when I try to download it

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Posts
    484
    For both crisjk and filburt1, i want to make a form 'transparent', not only different shape other than a rectangle. I mean i want to make 'part' of a form transparent. Doesn anyone know how to do that? Pls tell me

    many thanx~

  6. #6
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Originally posted by DaoK
    I want to try your program chrisjkbut the link do not work when I try to download it
    Here's the direct link http://members.fortunecity.com/alexv/VBSFC.zip

  7. #7
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    Orlando
    Posts
    392

    If you guys don't mind

    In case that link was not doing what you wanted.
    Check out this example attached.
    It is originally from www.vbweb.co.uk
    But I downloaded 2 years ago, I don' t know if they still have it.

    Does it help?
    Attached Files Attached Files
    Abu Haider
    ____________________________
    100% Data Validation for the MS DataGrid Control. Plus Support for Custom and Foreign Lists, DatePicker and much more...
    The DataGridEnhancer


    I often point to a place where the problem has been discussed, instead of giving you the code that solves it. This is for good, may be you will understand some day...

  8. #8
    DaoK
    Guest
    The link you gave me chrisjk redirect me to that : http://www.fortunecity.com/denial/denial.html

  9. #9
    DaoK
    Guest
    Abu haider the exemple you gave is nice but it is kinda hard to make your own form.

  10. #10
    Originally posted by iflash
    For both crisjk and filburt1, i want to make a form 'transparent', not only different shape other than a rectangle. I mean i want to make 'part' of a form transparent. Doesn anyone know how to do that? Pls tell me

    many thanx~
    I don't understand. Do you want a form to have, say, a hole in it, or have part of a form partially see-through (translucent)?

  11. #11
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    Orlando
    Posts
    392

    Making a Form transparent is kind of Hard

    You create a Region of the desired shape, then apply it to the Form. Of course, it does involve calling a number of APIs.

    Now, check the following sites that give you generic examples of how to make a Form of *Any Shape* you like.

    www.thescarms.com
    www.vbaccelerator.com

    Again, I dream of a control. You will assign a mask image to that control, and the mask color, then it will automatically make the parent from transparent according to that Image.

    What? Don't make me write that.

    Okay okay, I will do it. Give me some time. How soon do you need it?

    Abu Haider
    ____________________________
    100% Data Validation for the MS DataGrid Control. Plus Support for Custom and Foreign Lists, DatePicker and much more...
    The DataGridEnhancer


    I often point to a place where the problem has been discussed, instead of giving you the code that solves it. This is for good, may be you will understand some day...

  12. #12
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Originally posted by DaoK
    The link you gave me chrisjk redirect me to that : http://www.fortunecity.com/denial/denial.html
    Works for me

  13. #13
    DaoK
    Guest
    This program is very good chrisjk!!!!!!!!!!!!!!

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