HWND container_window::create(HWND wnd_parent, LPVOID create_param, const ui_helpers::window_position_t & p_window_position) { ensure_class_registered(); LPVOID createparams[2] = {this, create_param}; wnd_host = CreateWindowEx(get_class_data().ex_styles, get_class_data().class_name, get_class_data().window_title, get_class_data().styles, p_window_position.x, p_window_position.y, p_window_position.cx, p_window_position.cy, wnd_parent, 0, core_api::get_my_instance(), &createparams); return wnd_host; }
HWND container_window::create(HWND wnd_parent, LPVOID create_param) { ensure_class_registered(); LPVOID createparams[2] = {this, create_param}; wnd_host = CreateWindowEx(get_class_data().ex_styles, get_class_data().class_name, get_class_data().class_name, get_class_data().styles, 0, 0, 0, 0, wnd_parent, 0, ATL::_AtlBaseModule.GetResourceInstance(), &createparams); return wnd_host; }