Is there already a tutorial or could someone explain that how it works?
BOOL CWndLordSkill::Initialize( CWndBase* pWndParent, DWORD nType)
{
if(!CCLord::Instance()->IsLord(g_pPlayer->m_idPlayer))
{
g_WndMng.OpenMessageBox(prj.GetText(TID_GAME_L_EVENT_CREATE_E001));
Destroy();
return FALSE;
}
return CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), APP_LORD_SKILL, 0, CPoint( 0, 0 ), pWndParent );
}