No problem.
But, no offense, I don't think you realize the gems I just gave you. Windows GUI programming is not a trivial thing. Toolkits exist to make it doable on a regular basis.
If you want to learn how a toolkit works inside, you might want to take a look at some of the simpler ones, like
FLTK http://www.fltk.org/
Xaw (the
original "howto")
http://en.wikipedia.org/wiki/Xaw
LessTif http://www.lesstif.org/
Init 0 X11 Toolkit http://www.init0.nl/simplex11tk.php
Don't forget to peruse the Wikipedia too
http://en.wikipedia.org/wiki/Xlib
There does not exist a simple way around it.
If you want to do this kind of stuff you must simply dive in and tackle a very steep learning curve.
Personally, for cross-platform GUI's, I usually resort to
Tcl/Tk
Main site
http://www.tcl.tk/
Wiki
http://wiki.tcl.tk/
TkChat
http://wiki.tcl.tk/2619
Complete system installs (you probably already have Tcl/Tk installed in Linux, but even if you do and it is less than version 8.4, get Active State's anyway)
http://www.activestate.com/Products/activetcl/index.mhtml
TclKit -- "batteries included" no installation necessary. Just copy the tclkit shell and your application starkit (or bundle them together in a single binary starpack) to the target platform and execute it directly.
http://www.equi4.com/
TCL -- Tool Command Language -- is an extensible, easy to use, embeddable command interpreter which is designed to be usable from C and C++ programs. The source code for the
tclsh and
wish executables are also the prime examples of how to do just that.
Between these last two posts, you have a mountain of information to look through, and a gazillion options to choose from if you want to modify/contribute to an toolkit; and all the information you'll need to write your own.
Good luck now!