How do you copy a window? I tried just plain:
Code:
HWND window1;
HWND window2;
...
window2=window1;
I then changed the parent of window2, and it moved the button. How can I get a new window, not just a handle (cause that's it, right?) to window2, so I can have two of them?

by the way, forgive me for playing around with the colors, but it was...uh...fun, kind of.