
4 Mar
2004
4 Mar
'04
3:53 p.m.
"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message news:c27ip1$i78$1@sea.gmane.org...
In particular, on the Win32 architecture, changing ownership amounts to
DestroyWindow(hwnd); hwnd = CreateWindow(TEXT("BUTTON"), label.c_str(), WS_CHILD, 0, 0, new_owner->get_hwnd(), 0);
yeah, I hate the win32 API.
Ummm.... what's wrong with SetParent() ? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui... ...Max...