* include/shlobj.h (BFFM_VALIDATEFAILED[AW]): Add defines.

(BFFM_SETSTATUSTEXT, BFFM_SETSELECTION): UNICODE them.
This commit is contained in:
Danny Smith 2002-07-24 21:57:01 +00:00
parent b0054da2c0
commit 6ebbcd2563
2 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/shlobj.h (BFFM_VALIDATEFAILED[AW]): Add defines.
(BFFM_SETSTATUSTEXT, BFFM_SETSELECTION): UNICODE them.
2002-07-25 Mattia Barbon <mbarbon@dsi.unive.it> 2002-07-25 Mattia Barbon <mbarbon@dsi.unive.it>
* include/commctrl.h: Avoid redefinition of CDN_FIRST/LAST. * include/commctrl.h: Avoid redefinition of CDN_FIRST/LAST.

View File

@ -29,9 +29,22 @@ extern "C" {
#define BIF_SHAREABLE 0x8000 #define BIF_SHAREABLE 0x8000
#define BFFM_INITIALIZED 1 #define BFFM_INITIALIZED 1
#define BFFM_SELCHANGED 2 #define BFFM_SELCHANGED 2
#define BFFM_SETSTATUSTEXT (WM_USER + 100) #define BFFM_VALIDATEFAILEDA 3
#define BFFM_VALIDATEFAILEDW 4
#define BFFM_SETSTATUSTEXTA (WM_USER + 100)
#define BFFM_SETSTATUSTEXTW (WM_USER + 104)
#define BFFM_ENABLEOK (WM_USER + 101) #define BFFM_ENABLEOK (WM_USER + 101)
#define BFFM_SETSELECTION (WM_USER + 102) #define BFFM_SETSELECTIONA (WM_USER + 102)
#define BFFM_SETSELECTIONW (WM_USER + 103)
#ifdef UNICODE
#define BFFM_SETSTATUSTEXT BFFM_SETSTATUSTEXTW
#define BFFM_SETSELECTION BFFM_SETSELECTIONW
#define BFFM_VALIDATEFAILED BFFM_VALIDATEFAILEDW
#else
#define BFFM_SETSTATUSTEXT BFFM_SETSTATUSTEXTA
#define BFFM_SETSELECTION BFFM_SETSELECTIONA
#define BFFM_VALIDATEFAILED BFFM_VALIDATEFAILEDA
#endif
#define DVASPECT_SHORTNAME 2 #define DVASPECT_SHORTNAME 2
#define SHARD_PIDL 1 #define SHARD_PIDL 1
#define SHARD_PATH 2 #define SHARD_PATH 2