Ignore:
Timestamp:
May 19, 2008, 5:41:26 PM (16 years ago)
Author:
dai_9181
Message:

Projectクラスをリファクタリング中。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/DialogBoxes.cpp

    r618 r619  
    641641            SetFocus(GetDlgItem(hwnd,IDC_FILETYPELIST));
    642642
    643             if(projectInfo.name[0]){
     643            if( projectInfo.IsOpened() ){
    644644                SendDlgItemMessage(hwnd,IDC_ADDTOPROJECT,BM_SETCHECK,BST_CHECKED,0);
    645645            }
     
    729729                        }
    730730                    }
    731                     if(i!=ListView_GetItemCount(hListView)&&projectInfo.name[0]&&(
     731                    if(i!=ListView_GetItemCount(hListView)&& projectInfo.IsOpened() &&(
    732732                        lvItem.lParam==FT_BASICPROGRAM||
    733733                        lvItem.lParam==FT_SUBPROGRAM
     
    927927            SetSwitch[3]=1;
    928928
    929             if(projectInfo.dwModuleType!=MT_DLL){
     929            if( projectInfo.GetModuleType() != ActiveBasic::Common::TargetModuleType::Dll )
     930            {
    930931                EnableWindow(GetDlgItem(hwnd,IDC_EXE_PATH),0);
    931932                EnableWindow(GetDlgItem(hwnd,IDC_DIR),0);
Note: See TracChangeset for help on using the changeset viewer.