| View previous topic :: View next topic |
| Author |
Message |
DevilGilad Grandmaster Cheater
Reputation: 0
Joined: 10 May 2007 Posts: 624 Location: Delete C:\WINDOWS folder and you'll be able to see me.
|
Posted: Sat Jun 30, 2007 2:05 pm Post subject: [Help] Increasing the Graphics (Delphi) |
|
|
I don't know how to make a picture as a background :/
There's a way to do it?...
If yes, I'll be happy if you'll tell me how to do it...
Thx.
But, I need some tips for increasing Graphics on a Delphi program...
What should I increase?
Button's skin? Pictures? Textboxes? Labels...?
Please give me some tips.
Thx again... :]
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Jun 30, 2007 2:08 pm Post subject: |
|
|
To make a picture as a background you get a picture the same size as your form. You put a Image that covers your whole form and then you put in the image as big as your form. Tada!
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
DevilGilad Grandmaster Cheater
Reputation: 0
Joined: 10 May 2007 Posts: 624 Location: Delete C:\WINDOWS folder and you'll be able to see me.
|
Posted: Sat Jun 30, 2007 2:09 pm Post subject: |
|
|
| oib111 wrote: | | To make a picture as a background you get a picture the same size as your form. You put a Image that covers your whole form and then you put in the image as big as your form. Tada! |
Yeah, but the problem's is that the image's sides are white, and I want
my program to be black :/
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sat Jun 30, 2007 2:10 pm Post subject: |
|
|
you could always make pictures in Photoshop or another image editor/creator program. then just make all the background Fuschia (#FF00FF) and then use a TImage (Image) from the Additional tab, then choose Picture (None) (either double click or click the ...) and then find your picture. then make the background in your delphi project to Fuschia (clFuschia) and make the same color as transperency and set it to true. then use a code on the image MouseClick_Down (you can find the code in Simsgys topic about SimsAC) so you can move around with your project when holding down the mouse on the image.
Or you could set AlpaBlend to true, and then change the AlpaBlend number (defualt is 255)
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Jun 30, 2007 2:11 pm Post subject: |
|
|
Wtf you talking about. IF you get a background image that fills up your whole form, you don't choose your form color because you won't see it.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
DevilGilad Grandmaster Cheater
Reputation: 0
Joined: 10 May 2007 Posts: 624 Location: Delete C:\WINDOWS folder and you'll be able to see me.
|
Posted: Sat Jun 30, 2007 2:14 pm Post subject: |
|
|
| Kevinnn wrote: | you could always make pictures in Photoshop or another image editor/creator program. then just make all the background Fuschia (#FF00FF) and then use a TImage (Image) from the Additional tab, then choose Picture (None) (either double click or click the ...) and then find your picture. then make the background in your delphi project to Fuschia (clFuschia) and make the same color as transperency and set it to true. then use a code on the image MouseClick_Down (you can find the code in Simsgys topic about SimsAC) so you can move around with your project when holding down the mouse on the image.
Or you could set AlpaBlend to true, and then change the AlpaBlend number (defualt is 255) |
Well, maybe it'll work, BUT...
I've created my form already. If I'll put a image on the form, it'll hide the buttons, label's, etc...
What can I do about it? :/
| oib111 wrote: | | Wtf you talking about. IF you get a background image that fills up your whole form, you don't choose your form color because you won't see it. |
You too, read what I was told Kevinnn...
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sat Jun 30, 2007 2:17 pm Post subject: |
|
|
well, it wont.
just tested it.
|
|
| Back to top |
|
 |
DevilGilad Grandmaster Cheater
Reputation: 0
Joined: 10 May 2007 Posts: 624 Location: Delete C:\WINDOWS folder and you'll be able to see me.
|
Posted: Sat Jun 30, 2007 2:19 pm Post subject: |
|
|
| Kevinnn wrote: | well, it wont.
just tested it. |
Well... Your true, but it covers images and labels :/
There's no way to make all the labels, forms, buttons, webbrowsers and everything to cover the image?...
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sat Jun 30, 2007 2:23 pm Post subject: |
|
|
| right click , then the 2nd option from the top, 2 options more should become visible, one is send to back, another is Bring to front.
|
|
| Back to top |
|
 |
DevilGilad Grandmaster Cheater
Reputation: 0
Joined: 10 May 2007 Posts: 624 Location: Delete C:\WINDOWS folder and you'll be able to see me.
|
Posted: Sat Jun 30, 2007 2:25 pm Post subject: |
|
|
| Kevinnn wrote: | | right click , then the 2nd option from the top, 2 options more should become visible, one is send to back, another is Bring to front. |
*Testing*
I'll edit if something's wrong...
Edit: Works, thx :]
But do you know how to make the label's color (the color NEAR the text) to be invisible...?
Thx...
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sat Jun 30, 2007 2:40 pm Post subject: |
|
|
yes. uhm... let me think... you can choose the color of the background on labels, then pick a random color (lets say Fuschia again) then go to transperency and set to true and pick Fuschia. voila
hope i helped you
|
|
| Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
Posted: Sat Jun 30, 2007 6:07 pm Post subject: |
|
|
| DevilGilad wrote: | | Kevinnn wrote: | | right click , then the 2nd option from the top, 2 options more should become visible, one is send to back, another is Bring to front. |
*Testing*
I'll edit if something's wrong...
Edit: Works, thx :]
But do you know how to make the label's color (the color NEAR the text) to be invisible...?
Thx... |
Look through the properties of the label, find the one that has something related to transparency, and set it to true.
_________________
Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for? |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sat Jun 30, 2007 6:50 pm Post subject: |
|
|
| DeltaFlyer wrote: | | Look through the properties of the label, find the one that has something related to transparency, and set it to true. |
There is no transparency property for labels but forms have the AlphaBlend property (set it to to true, then set the AlphaBlendValue/255)
|
|
| Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
Posted: Sat Jun 30, 2007 11:05 pm Post subject: |
|
|
| appalsap wrote: | | DeltaFlyer wrote: | | Look through the properties of the label, find the one that has something related to transparency, and set it to true. |
There is no transparency property for labels but forms have the AlphaBlend property (set it to to true, then set the AlphaBlendValue/255) |
Hmm, I don't have Delphi installed on my computer at the moment, so I couldn't check for it in the actual program. However, from this online reference I found, TLabel does have a transparent property.
Oh, found an old thread on transparency stuff, should be of some help.
http://forum.cheatengine.org/viewtopic.php?t=34124&highlight=
_________________
Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for? |
|
| Back to top |
|
 |
Ksbunker Advanced Cheater
Reputation: 0
Joined: 18 Oct 2006 Posts: 88
|
Posted: Sat Jun 30, 2007 11:22 pm Post subject: re: |
|
|
Do you know anything about Windows Messages?
You can colour all of your controls including the form itself using the following;
WM_CTLCOLORDLG
WM_CTLCOLORSTATIC
WM_CTLCOLOREDIT
WM_CTLCOLORBTN
To colour my dialogs/forms I do this;
| Code: |
;-------
.const
;-------
CR_BACKGROUND = 0000000h ;RGB(0, 0, 0)
.data
hBlackColor dd ? ;uninitialised variable, storage variable
;------
.code
;------
...
.ELSEIF uMsg == WM_INITDIALOG
INVOKE CreateSolidBrush, CR_BACKGROUND
MOV hBlackColor, EAX ;move black colour into hBlackColor
.ELSEIF uMsg == WM_CTLCOLORDLG
MOV EAX, hBlackColor ;pass colour as form/dialog colour
.ELSEIF uMsg == WM_... |
|
|
| Back to top |
|
 |
|