Changeset 828 in dev for trunk/ab5.0/abdev/abdev/src/MainFrame.cpp
- Timestamp:
- Mar 19, 2012, 1:59:48 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/egtra merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ab5.0/abdev
-
Property svn:ignore
set to
*.opensdf
*.sdf
*.suo
*.user
int
ipch
out
-
Property svn:ignore
set to
-
trunk/ab5.0/abdev/abdev/src/MainFrame.cpp
r824 r828 55 55 wndTarget(hwndTarget) 56 56 { 57 DWORD const WS_EX_NOACTIVATE = 0x08000000; 58 57 59 HWND hwndDummy = Create( hOwner, CRect( -32000, -32000, 1, 1 ), title, 58 60 WS_BORDER | WS_SYSMENU | WS_CAPTION, WS_EX_NOACTIVATE); … … 292 294 if (taskbarList) 293 295 { 294 taskbarList->SetTabOrder(*mapAt(hwndChild),295 hwndInsertBefore296 ? static_cast<HWND>(*mapAt(hwndInsertBefore))297 : 0);296 taskbarList->SetTabOrder(*mapAt(hwndChild), 297 hwndInsertBefore 298 ? static_cast<HWND>(*mapAt(hwndInsertBefore)) 299 : 0); 298 300 } 299 301 } … … 976 978 char temporary[MAX_PATH]; 977 979 978 FileType =DialogBox(hResInst,MAKEINTRESOURCE(IDD_NEWFILE),hOwner,DlgNewFile);980 FileType = ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_NEWFILE, hOwner, DlgNewFile); 979 981 if(FileType==-1) return; 980 982 … … 1023 1025 { 1024 1026 //"ファイルを指定してください" 1025 extern LPSTR DefFileFilter;1027 extern const LPCSTR DefFileFilter; 1026 1028 char temporary[1024]; 1027 1029 if(!GetFilePathDialog(m_hWnd,temporary,DefFileFilter,STRING_FILEOPENTITLE_DEFAULT,TRUE)) return; … … 1039 1041 { 1040 1042 //"プロジェクト ファイルを指定して下さい" 1041 extern LPSTR ProjectFileFilter;1043 extern const LPCSTR ProjectFileFilter; 1042 1044 char temporary[1024]; 1043 1045 if(!GetFilePathDialog(m_hWnd,temporary,ProjectFileFilter,STRING_FILEOPENTITLE_PROJECT,TRUE)) … … 1072 1074 { 1073 1075 //"保存先のファイルを指定してください" 1074 extern LPSTR DefFileFilter;1076 extern const LPCSTR DefFileFilter; 1075 1077 char temporary[1024]; 1076 1078 if(!GetFilePathDialog(m_hWnd,temporary,DefFileFilter,STRING_FILESAVETITLE_DEFAULT,FALSE)) return; … … 1367 1369 void MainFrame::OnCmdFind( UINT uNotifyCode, int nID, CWindow wndCtl ) 1368 1370 { 1369 DialogBox(hResInst,MAKEINTRESOURCE(IDD_FIND),m_hWnd,DlgFind);1371 ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_FIND, m_hWnd, DlgFind); 1370 1372 } 1371 1373 1372 1374 void MainFrame::OnCmdPermutation( UINT uNotifyCode, int nID, CWindow wndCtl ) 1373 1375 { 1374 DialogBox(hResInst,MAKEINTRESOURCE(IDD_PERMUTATION),m_hWnd,DlgPermutation);1376 ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_PERMUTATION, m_hWnd, DlgPermutation); 1375 1377 } 1376 1378 … … 1627 1629 int idProcess; 1628 1630 DWORD dwPlatform; 1629 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)); 1630 1632 if(idProcess==0) return; 1631 1633 … … 1889 1891 void MainFrame::OnCmdAbout( UINT uNotifyCode, int nID, CWindow wndCtl ) 1890 1892 { 1891 DialogBox(hResInst,MAKEINTRESOURCE(IDD_ABOUT),m_hWnd,DialogAbout);1893 ActiveBasic::Resource::DialogBoxAlt(hResInst, IDD_ABOUT, m_hWnd, DialogAbout); 1892 1894 } 1893 1895
Note:
See TracChangeset
for help on using the changeset viewer.