Google hasn't been very handy, and searching here didn't find anything related to what I was looking for.
I'm looking to find out how GUI's generally work. I don't mean message loops, calls and such. I mean literally, what steps are taken to draw them. It's just something I want to learn about. Just to clarify, I want to know what for example happens when you do CreateWindow, how buttons are drawn. Not the EXACT workings, like how it's done. But more like /what/ is done. Like, once the call is done the X is asked to do X, X then passes this X on. Etc
Sorry if I'm being vague or demanding