I'm learning a bit about API now (thanks to alistairs' tutorials), and found a problem I cannot solve.

I know how to make a window, and create objects (like buttons) on it, with a specific size and position. I also know how to change the position of an object in the window.
But how do I change other properties, like color, font, caption?