Ignore:
Timestamp:
Jan 30, 2011, 10:45:09 PM (13 years ago)
Author:
イグトランス (egtra)
Message:

DialogBox, CreateDialogの代替関数を実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/abdev/src/MainFrame.cpp

    r783 r794  
    978978    char temporary[MAX_PATH];
    979979
    980     FileType=DialogBox(hResInst,MAKEINTRESOURCE(IDD_NEWFILE),hOwner,DlgNewFile);
     980    FileType = ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_NEWFILE, hOwner, DlgNewFile);
    981981    if(FileType==-1) return;
    982982
     
    13691369void MainFrame::OnCmdFind( UINT uNotifyCode, int nID, CWindow wndCtl )
    13701370{
    1371     DialogBox(hResInst,MAKEINTRESOURCE(IDD_FIND),m_hWnd,DlgFind);
     1371    ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_FIND, m_hWnd, DlgFind);
    13721372}
    13731373
    13741374void MainFrame::OnCmdPermutation( UINT uNotifyCode, int nID, CWindow wndCtl )
    13751375{
    1376     DialogBox(hResInst,MAKEINTRESOURCE(IDD_PERMUTATION),m_hWnd,DlgPermutation);
     1376    ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_PERMUTATION, m_hWnd, DlgPermutation);
    13771377}
    13781378
     
    16291629    int idProcess;
    16301630    DWORD dwPlatform;
    1631     idProcess=DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_ATTACH),m_hWnd,DlgAttach,(LPARAM)&dwPlatform);
     1631    idProcess = ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_ATTACH, m_hWnd, DlgAttach, reinterpret_cast<LPARAM>(&dwPlatform));
    16321632    if(idProcess==0) return;
    16331633
     
    18911891void MainFrame::OnCmdAbout( UINT uNotifyCode, int nID, CWindow wndCtl )
    18921892{
    1893     DialogBox(hResInst,MAKEINTRESOURCE(IDD_ABOUT),m_hWnd,DialogAbout);
     1893    ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_ABOUT, m_hWnd, DialogAbout);
    18941894}
    18951895
Note: See TracChangeset for help on using the changeset viewer.