Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help] Increasing the Graphics (Delphi)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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.

PostPosted: Sat Jun 30, 2007 2:05 pm    Post subject: [Help] Increasing the Graphics (Delphi) Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Jun 30, 2007 2:08 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sat Jun 30, 2007 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sat Jun 30, 2007 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Jun 30, 2007 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sat Jun 30, 2007 2:14 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sat Jun 30, 2007 2:17 pm    Post subject: Reply with quote

well, it wont.

just tested it.
Back to top
View user's profile Send private message MSN Messenger
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sat Jun 30, 2007 2:19 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sat Jun 30, 2007 2:23 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sat Jun 30, 2007 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sat Jun 30, 2007 2:40 pm    Post subject: Reply with quote

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 Razz

hope i helped you Razz
Back to top
View user's profile Send private message MSN Messenger
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sat Jun 30, 2007 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sat Jun 30, 2007 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sat Jun 30, 2007 11:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ksbunker
Advanced Cheater
Reputation: 0

Joined: 18 Oct 2006
Posts: 88

PostPosted: Sat Jun 30, 2007 11:22 pm    Post subject: re: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites