void Dow::Handle::Position (Win::Rect const & rect) { if (!::SetWindowPos (H (), NULL, // insert after (in z-order) rect.Left (), rect.Top (), rect.Width (), rect.Height (), SWP_NOZORDER)) { throw Win::Exception ("Cannot position window"); } }
void Dow::Handle::Move (Win::Rect const & rect) { ::MoveWindow (H (), rect.Left (), rect.Top (), rect.Width (), rect.Height (), TRUE); }