Results 1 to 7 of 7

Thread: to the PRO's

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Location
    Aveiro, Portugal
    Posts
    3

    Question to the PRO's

    how can i ve a region from a maskcolor:

    i ve painted a usercontrol with several things including magenta some parts of the control wich i want to be transparent.
    i ve a function from VB6 that i made that will trace the region for 1 color, but i dont know how to get a function like Point or GetPixel in VB .NET, so i can know the color that is mask!!

    plz somebody help me...

  2. #2
    New Member
    Join Date
    Jun 2002
    Location
    Holand
    Posts
    4

    Smile transparant

    if it is a form whit a special coler then you can select the coller in the propertys of the form. the name of the property is transparant if you select a coler this coler whil bie transparant.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Location
    Aveiro, Portugal
    Posts
    3
    its not a form, its a control
    and ive tried that way, but nothing happens , mayb u can send me a project uve made

  4. #4
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    olá man tb sou de portugal e tb sou de aveiro...esta cena aki e meio xata pq o ppl na secção VB.NET e C#.NET demora seculos a responder...sabes de algum lugar onde tenha foruns de cenas .NET + activo? e q toume a ver uma beca ah rasca pa conseguir aprender VB.NET pois a sua sintaxe eh kompletamente diferente

    []

  5. #5
    Sascha
    Guest
    Add the following line to your control's constructor:

    Code:
    MyBase.SetStyle(ControlStyles.SupportsTransparentBackColor, True)
    good luck

    Sascha

  6. #6

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Location
    Aveiro, Portugal
    Posts
    3
    ola pt exorcist
    www.developerfusion.com/forums
    xo k e isso

    dix-me o teu nome, telm e onde t posso encontrar

    eu sou João Dias, 919614850 e debo ir pa unibersidade este ano, se calhar te t conheço, kem sabe

  7. #7
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    hmm duvido tenho 15 sou jorge branco

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