how do i create a new instance of a class at runtime?
ok say i have a window open and every time i click inside the windows it puts a small image ( which is defined in the class ) at the location of the mouse pointer. But how can i make each image a new instance of the class. I can do it easy at compile time
but this only works if i know how many instance's that im going to have
any help will be greatly appreciated