- Timestamp:
- Oct 22, 2008, 1:26:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/DialogBoxes.cpp
r718 r761 38 38 if(bFixedPitchOnly) cf.Flags|=CF_FIXEDPITCHONLY|CF_NOVERTFONTS; 39 39 cf.nFontType=SCREEN_FONTTYPE; 40 lstrcpy((char *)cf.lpTemplateName,"Font select");40 cf.lpTemplateName = TEXT("Font select"); 41 41 42 42 if(!ChooseFont(&cf)) return 0; 43 43 44 memcpy(lf,&lfDummy,sizeof(LOGFONT));44 *lf = lfDummy; 45 45 46 46 if(lpiPointSize) *lpiPointSize=cf.iPointSize; … … 288 288 #endif 289 289 } 290 BOOLCALLBACK DlgNewProject_Page3(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){290 INT_PTR CALLBACK DlgNewProject_Page3(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 291 291 char buffer[GENERAL_SIZE]; 292 292 LPPSHNOTIFY lpPshNotify; … … 315 315 return 0; 316 316 } 317 BOOLCALLBACK DlgNewProject_Page2(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){317 INT_PTR CALLBACK DlgNewProject_Page2(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 318 318 extern NEWPROJECTINFO NewProjectInfo; 319 319 LPPSHNOTIFY lpPshNotify; … … 378 378 ShowWindow(GetDlgItem(hDlg,IDC_IMAGE_DIRECTX),nCmd); 379 379 } 380 BOOLCALLBACK DlgNewProject_Page1(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){380 INT_PTR CALLBACK DlgNewProject_Page1(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 381 381 extern NEWPROJECTINFO NewProjectInfo; 382 382 int i; … … 584 584 585 585 #ifndef THETEXT 586 BOOLCALLBACK DlgNewFile(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){586 INT_PTR CALLBACK DlgNewFile(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 587 587 extern char NewFileName[MAX_PATH]; 588 588 … … 798 798 projectInfo.modify=1; 799 799 } 800 BOOLCALLBACK DlgProjectOption_Whole(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){800 INT_PTR CALLBACK DlgProjectOption_Whole(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 801 801 NMHDR *nmhdr; 802 802 … … 833 833 return 0; 834 834 } 835 BOOLCALLBACK DlgProjectOption_Win32API(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){835 INT_PTR CALLBACK DlgProjectOption_Win32API(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 836 836 NMHDR *nmhdr; 837 837 … … 871 871 return 0; 872 872 } 873 BOOLCALLBACK DlgProjectOption_Manifest(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){873 INT_PTR CALLBACK DlgProjectOption_Manifest(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 874 874 switch(message){ 875 875 case WM_INITDIALOG: … … 919 919 return 0; 920 920 } 921 BOOLCALLBACK DlgProjectOption_Debug(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){921 INT_PTR CALLBACK DlgProjectOption_Debug(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 922 922 NMHDR *nmhdr; 923 923 char temporary[MAX_PATH]; … … 1117 1117 return; 1118 1118 } 1119 BOOLCALLBACK Dlg_Option_Whole(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){1119 INT_PTR CALLBACK Dlg_Option_Whole(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1120 1120 NMHDR *nmhdr; 1121 1121 switch(message){ … … 1199 1199 return 0; 1200 1200 } 1201 BOOLCALLBACK Dlg_Option_Editor(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){1201 INT_PTR CALLBACK Dlg_Option_Editor(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1202 1202 extern METHODCHECKINFO MethodCheckInfo; 1203 1203 char str[255]; … … 1568 1568 } 1569 1569 #endif 1570 BOOLCALLBACK Dlg_Option_Color(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){1570 INT_PTR CALLBACK Dlg_Option_Color(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1571 1571 int iPos; 1572 1572 CTheme *pobj_Theme; … … 1833 1833 return 0; 1834 1834 } 1835 BOOLCALLBACK Dlg_Option_Toolbar(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){1835 INT_PTR CALLBACK Dlg_Option_Toolbar(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1836 1836 switch(message){ 1837 1837 case WM_INITDIALOG: … … 1890 1890 return 0; 1891 1891 } 1892 BOOLCALLBACK Dlg_Option_Rad(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){1892 INT_PTR CALLBACK Dlg_Option_Rad(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 1893 1893 NMHDR *nmhdr; 1894 1894 switch(message){ … … 2019 2019 PropertySheet(&psh); 2020 2020 } 2021 BOOLCALLBACK DialogAbout(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){2021 INT_PTR CALLBACK DialogAbout(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 2022 2022 if(message==WM_INITDIALOG){ 2023 2023 SetPosCenter(hwnd);
Note:
See TracChangeset
for help on using the changeset viewer.