borland and about it

Started by
5 comments, last by foogoo 21 years, 10 months ago
does borland 6 standard/ personal allow you to make the pictures for buttons in windows programs?
------------------------------http://foogoo.web-trash.com (under construction)
Advertisement
What Borland product?
I think it''s a general windows programming topic, displaying a picture on a button. That''s owner-drawn controls, and I think as long as the compiler support Win32API, you''ll find no problem.

My compiler generates one error message: "Doesn''t compile."
-Albert Tedja-
My compiler generates one error message: "does not compile."
thanx i hope to get it soon also how good does it program for games
------------------------------http://foogoo.web-trash.com (under construction)
If you mean "how do I put an image onto a button?" then there''s a bitmap button component (TBitBtn) on the ''Additional'' tab. You use its Glyph property to slap an image in there.

If you mean "how do I get a screenshot of my button" then there''s a method of TForm called "GetFormImage". This returns a bitmap image of your form (which you must remember to clear up afterwards - see the example).

If you mean "how do I change the look of my buttons (i.e. skin them)?" then you can use SetWindowRgn in the API to change its appearance then draw a picture over it. Alternatively, you can search for components to do this.

The above information applies to both Delphi and C++ Builder.
Just noticed your second question, foogoo. If you''re talking about Delphi then the answer is "it''s fine for games, but not commonly used in the industry". Try using DelphiX and you''ll appreciate how quickly you can whack up simple games. Look at some of the links from Turbo for more information (esp. the DelphiX and UnDelphiX links).

If you''re talking about C++ Builder then... it''s C++, so everyone uses it. It''s fine for games too.
bizarre, Im sure I made a post here yesterday....

Anyway I am very interested in joining an beginners/intermediate level group of programmers.

My skills are entrenched firmly in openGL dabbling at thus time, however I do understand the concepts of DirectX/3D programming.

Im actually messing with terrains at the moment and F*K me its fun!

OK regarding the site, I can offer myself to help out in building the site if you want it I run the intranet where I work (HAIL PHP, MYSQL!) and have dabbled heavily in flash.

http://on.to/oni, if you like metal , I am the drummer

I am extremely interested in creating an engine at some stage, however that is a waaaay away and any little projects or big projects can only help us all out




~~~~~~~~~~~~~~~~~~~~~~~~~http://on.to/oni

This topic is closed to new replies.

Advertisement