Beispiel #1
0
dlgProgress::dlgProgress() {
    
    _WndForm = dlgLoadFromXML(CallBackTable, ScreenLandscape ? IDR_XML_PROGRESS_L : IDR_XML_PROGRESS_P);
    LKASSERT(_WndForm);
    if(_WndForm) {
        WindowControl* wSplash = _WndForm->FindByName(TEXT("frmSplash")); 
        if(wSplash) {
            wSplash->SetWidth(_WndForm->GetWidth());
            wSplash->SetHeight(_WndForm->GetHeight());
        }
        WindowControl* wText = _WndForm->FindByName(TEXT("frmText")); 
        if(wText) {
            wText->SetWidth(_WndForm->GetWidth());
            wText->SetTop(_WndForm->GetHeight() - wText->GetHeight());
        }
        _WndForm->Show();
        _WndForm->Redraw();
    }
}