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