Transparency Detection
If your a member of codenstuff then this is the main place to be. Get together..talk..chat and ponder. Have fun. Chill out. Play games.
9 posts
Page 1 of 1
could you explain a bit more what you are meaning, i don't understand...
i am trying to get the control box (minimize, maximize, close) into a .png image file
i want to make it so in the file, the image may have some transparency. this is very hard to explain, so i dont expect you to get it right away.
i want to make it so in the file, the image may have some transparency. this is very hard to explain, so i dont expect you to get it right away.
are you saying you want to make custom close, maximize and minimize buttons?
With png images you get a single colour to choose as the transparency key (e.g. white) - so when that image is placed in front of another image the transparency key colour will not block out the image behind.
If you are looking to base the transparencey key on a source image you can check out the example on how to draw a transparent watermark: viewtopic.php?f=21&t=2315&p=15173#p14535
If you are looking to base the transparencey key on a source image you can check out the example on how to draw a transparent watermark: viewtopic.php?f=21&t=2315&p=15173#p14535
can i do this with the top of the form, not white?
Yes - if it has to be done while the program is running you can use the e.Graphics object in the Paint event for drawing.
sorry i dont understand. do you mind posting an example? thanks for the help.
9 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023