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 


Making an Icon Maker.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

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

PostPosted: Tue Aug 07, 2007 7:36 am    Post subject: Making an Icon Maker. Reply with quote

Its been quite a while since i've been that active on this forum and thats why i just decided i want to be more active here.

I want to make an Icon maker in delphi.

I got OpenPictureDialog1 and SavePictureDialog1 and a Image1 Component.

I can load the picture i want, but it wont save. I can click the save button but it doesn't save the picture i choose. Anyone knows how to do this?
Back to top
View user's profile Send private message MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Wed Aug 08, 2007 5:24 am    Post subject: Reply with quote

You can even make an Icon extractor Smile

loadlibrary('shell32.dll'); //This is a dll wich holds system icons.
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Wed Aug 08, 2007 6:44 pm    Post subject: Reply with quote

Err...It's been a while since i used images in delphi..xD

try something like this to save:
Code:

image1.canvas.bitmap.savetofile(savedialog1.filename);


Of course you would need to open the savedialog on the save button press..

Code:

if savedialog1.execute then


Then do the savetofile code.[/code]
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
Page 1 of 1

 
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