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.