Results 1 to 5 of 5

Thread: transparent label control ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    Malaysia
    Posts
    69
    How can we put some text on the form with an image as a background with the background of the text surrounding blend to the background of the form ?

    The only method I know is to make transparent GIF text and put them as image. But this is very troublesome if I need to move or change the word constantly.

    Thx.

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Easiest way: Take a label and set it's BackStyle to transparent...

    You could also draw text with the print method, but you have to manage it by yourself if you want to change the text...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    Malaysia
    Posts
    69
    Hehe.. I got to know the solution after I posted my earlier problem when I do some searching in MSDN. Quite a dumb question I must say.

    BTW- thanks.

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Well, there are many ways to make transparent pictures. I'm using BitBlt, but you can also use DirectX or even simple sprite controls...

    I'll upload a sprite sample soon, if I remember to make it

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    Malaysia
    Posts
    69
    I emailed to you yesterday. Did you get my mail ?

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