void BabyGridWrapper::init(HINSTANCE hInst, HWND parent, int id) { Window::init(hInst, parent); if (!_isRegistered) RegisterGridClass(_hInst); _hSelf = ::CreateWindowEx(WS_EX_CLIENTEDGE, babyGridClassName,\ TEXT(""),\ WS_CHILD | WS_VISIBLE,\ CW_USEDEFAULT, 0, CW_USEDEFAULT, 0,\ _hParent,\ (HMENU)id,\ _hInst,\ (LPVOID)/*this*/NULL); }
void BabyGridWrapper::init(HINSTANCE hInst, HWND parent, int16_t id) { Window::init(hInst, parent); if (!_isRegistered) RegisterGridClass(_hInst); _hSelf = ::CreateWindowEx(WS_EX_CLIENTEDGE, babyGridClassName,\ TEXT(""),\ WS_CHILD | WS_VISIBLE | WS_TABSTOP,\ CW_USEDEFAULT, 0, CW_USEDEFAULT, 0,\ _hParent,\ reinterpret_cast<HMENU>(id), \ _hInst,\ NULL); }