PDA

View Full Version : Basic question about c++ (no pun intended)



blackmage_nuke
04-22-2009, 01:28 PM
I need someone to explain to me how to change object properties during runtime.

For example i know in visual basic if i wanted to change the location of an image i'd go image.left = whatever, thus changing it's left property

How do i do this in c++?

Its always hard to find answers to the simpler questions on google.

The Unknown Guru
07-06-2009, 09:28 AM
Well, if you're talking about simply setting the value of a variable to something else, then
variable = new value;would certainly work. If that's not what you mean, then please elaborate a bit, as the question was a bit confusing. :Oo:

EDIT: Whoa, sorry. Didn't realize how old this was, my bad. *facepalm*

blackmage_nuke
07-06-2009, 09:29 AM
Never mind i figured it out a while ago, i was talking about how to edit controls in the form template with c++