How to make a WINAPI wrapper

Hi, could you please help me make a WINAPI wrapper by maybe suggesting idea on how to make one. I really don't have a clue on where to start. My goal is not too high, as long as it can handle events of a textbox and a button then that would be enough for the first try.

I was thinking like this kind of interface, but really don't know how to start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


class my_window : window {

  public:
    my_window() : window("this will be the title") {
		//customize the window here..
		add( new button );
    }

    void add(button* b) {
    }

    //more function
    bool show() {
    }
};


PS: If you're feeling generous today maybe you could share your very own wrapper so I can study it. thanks.
If you have MSVC professsional which has the MFC - you could look at things like CWnd class
and see how they do it.
Or You could download QT source and check that out.
Thanks for the suggestion but I only have the Express Edition. I already tried QT and wxWidget and I don't like it for some reasons.
I mean just browse through the QT source code.
Oh sorry about that, I miss interpret you. Yeah maybe I'll give it a go, in the meanwhile I found a tutorial, hope it would help me
http://www.gamedev.net/reference/articles/article1810.asp
Topic archived. No new replies allowed.