genauer?
void CWndPartyFinder::OnInitialUpdate()
{
CWndNeuz::OnInitialUpdate();
if(g_pPlayer->GetWorld()->GetID() == 202)
{
destroy();
}
// ¿©±â¿¡ ÄÚµùÇϼ¼¿ä
RefreshItemList();
//CWndButton* pWndButton1 = (CWndButton*)GetDlgItem(WIDC_BUTTON1);
//CWndButton* pWndButton2 = (CWndButton*)GetDlgItem(WIDC_BUTTON2);
//pWndButton1->EnableWindow(FALSE);
//pWndButton2->EnableWindow(FALSE);
//ListBox
CSize size = g_Neuz.m_2DRender.m_pFont->GetTextExtent( "123" );
if(size.cy+2 > 16)
{
CRect rect;
LPWNDCTRL lpWndCtrl;
CWndListBox* pWndList = (CWndListBox*)GetDlgItem( WIDC_LISTBOX1 );
lpWndCtrl = GetWndCtrl( WIDC_LISTBOX1 );
rect = lpWndCtrl->rect;
rect.bottom += ((size.cy+2)*10) - (rect.bottom-rect.top) + 4;
//ÆùÆ® Å©±â Â÷ÀÌ ¶§¹®¿¡ ¸®½ºÆ®¹Ú½º Å©±â ´ÃÀÓ
pWndList->SetWndRect(rect);
//⠹и®´Â °æ¿ì ¾Æ·¡µµ Å©±â Á¶Á¤
CRect rectStatic, recText;
CWndStatic* pWndStatic = (CWndStatic*)GetDlgItem( WIDC_STATIC1 );
lpWndCtrl = GetWndCtrl( WIDC_STATIC1 );
rectStatic = lpWndCtrl->rect;
pWndStatic->Move(rectStatic.left, rect.bottom + 10);
CWndText* pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );
lpWndCtrl = GetWndCtrl( WIDC_TEXT1 );
recText = lpWndCtrl->rect;
recText.top = rect.bottom + rectStatic.Height() + 18;
pWndText->SetWndRect(recText, TRUE);
}
// À©µµ¸¦ Áß¾ÓÀ¸·Î ¿Å±â´Â ºÎºÐ.
CRect rectRoot = m_pWndRoot->GetLayoutRect();
CRect rectWindow = GetWindowRect();
CPoint point( rectRoot.right - rectWindow.Width(), 110 );
Move( point );
MoveParentCenter();
}
C:\Users\Eric\Desktop\Source\Program\_Interface\WndPartyFinder.cpp(208): error C2143: syntax error : missing ';' before '}'
C:\Users\Eric\Desktop\Source\Program\_Interface\WndPartyFinder.cpp(207): error C3861: 'destroy': identifier not found, even with argument-dependent lookup