Changeset 4923 for trunk/include
- Timestamp:
- Jan 10, 2001, 9:38:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/commdlg.h
r4564 r4923 1 /* $Id: commdlg.h,v 1. 7 2000-11-06 19:50:03sandervl Exp $ */1 /* $Id: commdlg.h,v 1.8 2001-01-10 20:38:00 sandervl Exp $ */ 2 2 /* 3 3 * COMMDLG - Common Wine Dialog ... :-) … … 14 14 #include "winuser.h" 15 15 #include "pshpack1.h" 16 17 #ifdef __cplusplus 18 #define SNDMSG ::SendMessage 19 #else /* __cplusplus */ 20 #define SNDMSG SendMessage 21 #endif /* __cplusplus */ 16 22 17 23 #define OFN_READONLY 0x00000001 … … 602 608 #define CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec) 603 609 604 // lParam = pointer to a string 605 // wParam = ID of control to change 606 // return = not used 607 #define CDM_SETCONTROLTEXT (CDM_FIRST + 0x0004) 610 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) \ 611 (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) 612 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) \ 613 (int)SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) 614 #define CommDlg_OpenSave_GetFilePath WINELIB_NAME_AW(CommDlg_OpenSave_GetFilePath) 615 616 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) \ 617 (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz) 618 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) \ 619 (int)SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz) 620 #define CommDlg_OpenSave_GetFolderPath WINELIB_NAME_AW(CommDlg_OpenSave_GetFolderPath) 621 622 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) \ 623 (int)SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl) 624 608 625 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \ 609 626 (void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text) 627 628 #define CommDlg_OpenSave_HideControl(_hdlg, _id) \ 629 (void)SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0) 630 631 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) \ 632 (void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext) 610 633 611 634 BOOL16 WINAPI ChooseColor16(LPCHOOSECOLOR16 lpChCol);
Note:
See TracChangeset
for help on using the changeset viewer.