Autor Beitrag
MasterHiggins
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Mi 26.02.03 10:58 
Hallo

Ich würde gerne ein NICHT rechteckiges Bild als Hintergrund für mein Programm darstellen.

Geht das irgendwie? Habe schon im Forum gesucht, aber nichts gefunden was mir weiterhilft.

Vielen Dank

MasterH
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mi 26.02.03 13:05 
was willste genau machen???
deine Form rund oder nur das Hintergrundbild in deiner Form???
wenn du ein Image benutzt, dann gibts da die Eigenschaft transparent...
MasterHiggins Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Mi 26.02.03 13:58 
Krass!

Habe zur zeit 3 Fragen im Forum und dachte das hier wäre die schwerste, war aber die leichteste!

Nehme tatsächlich ein Image.
Die Form darunter ist jetzt aber auch unsichtbar (soll auch so sein),
liegt wohl daran das ich BorderStyle auf bsNone gestellt habe !?

Tausend Dank
Andreas Pfau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 997



BeitragVerfasst: Di 30.12.03 23:04 
Hallo,

zeichne das Bitmap auf das Form (z.B. mit einem Image, oder in OnPaint()), und verwende eine Hintergrundfarbe. Arbeite dann mit TransparentColor und TransparentColorValue (Eigenschaften des Forms), dann verschwindet dieser Teil deines Forms. Geht aber nur unter Win2000/XP!

_________________
Life is a bad adventure, but the graphic is really good!