Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "winwrap.h"
- msgproc (p)
- {
- ::msg("Hi");
- }
- msgproc (bp)
- {
- ::msg ("Hi");
- }
- int main()
- {
- Window win;
- win.addmsg (WM_DESTROY, p);
- win.addmsg (WM_CLOSE, p);
- Button b (win, "Click", 100, 100, bp, WS_CHILD | BS_CHECKBOX);
- messageLoop();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement