Code:
if (g_WndMng.m_pCustomWindow!= NULL)
{
SAFE_DELETE(g_WndMng.m_pCustomWindow);
}
g_WndMng.m_pCustomWindow= new CWndCustomWindow();
g_WndMng.m_pCustomWindow->Initialize(&g_WndMng);
Code:
BOOL CWndCustomWindow::Initialize(CWndBase* pWndParent, DWORD)
{
return InitDialog(g_Neuz.GetSafeHwnd(), APP_CUSTOM_WINDOW, 0, 0, pWndParent);
}
EDIT: //
I'm an idiot, I've moved the window out of sight in OnInitialUpdate() , everything works as expected now. Thanks Kia for slapping me in the face because I am blind lmao.






