Changeset 9367 for trunk/include/win/commctrl.h
- Timestamp:
- Oct 29, 2002, 1:16:15 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/commctrl.h
r8386 r9367 1 1 /* 2 2 * Common controls definitions 3 * 4 * Copyright (C) the Wine project 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 3 19 */ 4 20 … … 232 248 HDC hdc; 233 249 RECT rc; 234 DWORD dwItemSpec; 250 DWORD dwItemSpec; 235 251 UINT uItemState; 236 252 LPARAM lItemlParam; … … 468 484 #define ILC_PALETTE 0x0800 /* no longer supported by M$ */ 469 485 470 #define ILD_NORMAL 0x0000 471 #define ILD_TRANSPARENT 0x0001 472 #define ILD_BLEND25 0x0002 473 #define ILD_BLEND50 0x0004 474 #define ILD_MASK 0x0010 475 #define ILD_IMAGE 0x0020 476 #define ILD_ROP 0x0040 477 #define ILD_OVERLAYMASK 0x0F00 486 #define ILD_NORMAL 0x0000 487 #define ILD_TRANSPARENT 0x0001 488 #define ILD_BLEND25 0x0002 489 #define ILD_BLEND50 0x0004 490 #define ILD_MASK 0x0010 491 #define ILD_IMAGE 0x0020 492 #define ILD_ROP 0x0040 493 #define ILD_OVERLAYMASK 0x0F00 494 #define ILD_PRESERVEALPHA 0x1000 495 #define ILD_SCALE 0x2000 496 #define ILD_DPISCALE 0x4000 478 497 479 498 #define ILD_SELECTED ILD_BLEND50 … … 487 506 #define ILCF_SWAP (0x00000001) 488 507 508 #define ILS_NORMAL 0x0000 509 #define ILS_GLOW 0x0001 510 #define ILS_SHADOW 0x0002 511 #define ILS_SATURATE 0x0004 512 #define ILS_ALPHA 0x0008 489 513 490 514 typedef struct _IMAGEINFO … … 502 526 DWORD cbSize; 503 527 HIMAGELIST himl; 504 INT i;505 HDC hdcDst;506 INT x;507 INT y;508 INT cx;509 INT cy;510 INT xBitmap; /* x offest from the upperleft of bitmap */511 INT yBitmap; /* y offset from the upperleft of bitmap */528 INT i; 529 HDC hdcDst; 530 INT x; 531 INT y; 532 INT cx; 533 INT cy; 534 INT xBitmap; /* x offest from the upperleft of bitmap */ 535 INT yBitmap; /* y offset from the upperleft of bitmap */ 512 536 COLORREF rgbBk; 513 537 COLORREF rgbFg; 514 UINT fStyle;538 UINT fStyle; 515 539 DWORD dwRop; 540 DWORD fState; 541 DWORD Frame; 542 DWORD crEffect; 516 543 } IMAGELISTDRAWPARAMS, *LPIMAGELISTDRAWPARAMS; 517 544 … … 525 552 BOOL WINAPI ImageList_Destroy(HIMAGELIST); 526 553 BOOL WINAPI ImageList_DragEnter(HWND,INT,INT); 527 BOOL WINAPI ImageList_DragLeave(HWND); 554 BOOL WINAPI ImageList_DragLeave(HWND); 528 555 BOOL WINAPI ImageList_DragMove(INT,INT); 529 556 BOOL WINAPI ImageList_DragShowNolock (BOOL); … … 531 558 BOOL WINAPI ImageList_DrawEx(HIMAGELIST,INT,HDC,INT,INT,INT, 532 559 INT,COLORREF,COLORREF,UINT); 533 BOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*); 560 BOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*); 534 561 HIMAGELIST WINAPI ImageList_Duplicate(HIMAGELIST); 535 562 BOOL WINAPI ImageList_EndDrag(VOID); … … 645 672 HRESULT WINAPI UninitializeFlatSB(HWND); 646 673 674 /* Subclassing stuff */ 675 #ifdef __WIN32OS2__ 676 typedef LRESULT (* CALLBACK SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD); 677 #else 678 typedef LRESULT (CALLBACK *SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD_PTR); 679 #endif 680 BOOL WINAPI SetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR); 681 BOOL WINAPI GetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR*); 682 BOOL WINAPI RemoveWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR); 683 LRESULT WINAPI DefSubclassProc(HWND, UINT, WPARAM, LPARAM); 647 684 648 685 /* Header control */ … … 657 694 #define WC_HEADER WINELIB_NAME_AW(WC_HEADER) 658 695 659 #define HDS_HORZ 0x0000 660 #define HDS_BUTTONS 0x0002 661 #define HDS_HOTTRACK 0x0004 662 #define HDS_HIDDEN 0x0008 663 #define HDS_DRAGDROP 0x0040 664 #define HDS_FULLDRAG 0x0080 696 #define HDS_HORZ 0x0000 697 #define HDS_BUTTONS 0x0002 698 #define HDS_HOTTRACK 0x0004 699 #define HDS_HIDDEN 0x0008 700 #define HDS_DRAGDROP 0x0040 701 #define HDS_FULLDRAG 0x0080 665 702 666 703 #define HDI_WIDTH 0x0001 … … 921 958 /* Toolbar */ 922 959 923 #define TOOLBARCLASSNAME16 "ToolbarWindow" 960 #define TOOLBARCLASSNAME16 "ToolbarWindow" 924 961 #define TOOLBARCLASSNAMEA "ToolbarWindow32" 925 962 #ifdef __WIN32OS2__ … … 943 980 944 981 945 /* as of _WIN32_IE >= 0x0500 the following symbols are obsolete, 982 /* as of _WIN32_IE >= 0x0500 the following symbols are obsolete, 946 983 * "everyone" should use the BTNS_... stuff below 947 984 */ … … 970 1007 #define TBSTYLE_FLAT 0x0800 971 1008 #define TBSTYLE_LIST 0x1000 972 #define TBSTYLE_CUSTOMERASE 0x2000 1009 #define TBSTYLE_CUSTOMERASE 0x2000 973 1010 #define TBSTYLE_REGISTERDROP 0x4000 974 1011 #define TBSTYLE_TRANSPARENT 0x8000 … … 987 1024 #define TBIF_SIZE 0x00000040 988 1025 989 #define TBBF_LARGE 0x0001 1026 #define TBBF_LARGE 0x0001 990 1027 991 1028 #define TB_ENABLEBUTTON (WM_USER+1) … … 995 1032 #define TB_INDETERMINATE (WM_USER+5) 996 1033 #define TB_MARKBUTTON (WM_USER+6) 997 #define TB_ISBUTTONENABLED (WM_USER+9) 998 #define TB_ISBUTTONCHECKED (WM_USER+10) 999 #define TB_ISBUTTONPRESSED (WM_USER+11) 1034 #define TB_ISBUTTONENABLED (WM_USER+9) 1035 #define TB_ISBUTTONCHECKED (WM_USER+10) 1036 #define TB_ISBUTTONPRESSED (WM_USER+11) 1000 1037 #define TB_ISBUTTONHIDDEN (WM_USER+12) 1001 1038 #define TB_ISBUTTONINDETERMINATE (WM_USER+13) … … 1019 1056 #define TB_SAVERESTORE WINELIB_NAME_AW(TB_SAVERESTORE) 1020 1057 #define TB_CUSTOMIZE (WM_USER+27) 1021 #define TB_ADDSTRINGA (WM_USER+28) 1022 #define TB_ADDSTRINGW (WM_USER+77) 1058 #define TB_ADDSTRINGA (WM_USER+28) 1059 #define TB_ADDSTRINGW (WM_USER+77) 1023 1060 #define TB_ADDSTRING WINELIB_NAME_AW(TB_ADDSTRING) 1024 1061 #define TB_GETITEMRECT (WM_USER+29) … … 1390 1427 #define HICF_TOGGLEDROPDOWN 0x00000100 /* Toggle button's dropdown state */ 1391 1428 1392 typedef struct 1429 typedef struct 1393 1430 { 1394 1431 int iButton; … … 1400 1437 HWND WINAPI 1401 1438 CreateToolbar(HWND, DWORD, UINT, INT, HINSTANCE, 1402 UINT, LPCOLDTBBUTTON, INT); 1439 UINT, LPCOLDTBBUTTON, INT); 1403 1440 1404 1441 HWND WINAPI 1405 1442 CreateToolbarEx(HWND, DWORD, UINT, INT, 1406 HINSTANCE, UINT, LPCTBBUTTON, 1407 INT, INT, INT, INT, INT, UINT); 1443 HINSTANCE, UINT, LPCTBBUTTON, 1444 INT, INT, INT, INT, INT, UINT); 1408 1445 1409 1446 HBITMAP WINAPI 1410 CreateMappedBitmap (HINSTANCE, INT, UINT, LPCOLORMAP, INT); 1447 CreateMappedBitmap (HINSTANCE, INT, UINT, LPCOLORMAP, INT); 1411 1448 1412 1449 … … 1455 1492 #define TTM_ACTIVATE (WM_USER+1) 1456 1493 #define TTM_SETDELAYTIME (WM_USER+3) 1457 #define TTM_ADDTOOLA (WM_USER+4)1458 #define TTM_ADDTOOLW (WM_USER+50)1494 #define TTM_ADDTOOLA (WM_USER+4) 1495 #define TTM_ADDTOOLW (WM_USER+50) 1459 1496 #define TTM_ADDTOOL WINELIB_NAME_AW(TTM_ADDTOOL) 1460 #define TTM_DELTOOLA (WM_USER+5)1461 #define TTM_DELTOOLW (WM_USER+51)1497 #define TTM_DELTOOLA (WM_USER+5) 1498 #define TTM_DELTOOLW (WM_USER+51) 1462 1499 #define TTM_DELTOOL WINELIB_NAME_AW(TTM_DELTOOL) 1463 #define TTM_NEWTOOLRECTA (WM_USER+6)1464 #define TTM_NEWTOOLRECTW (WM_USER+52)1500 #define TTM_NEWTOOLRECTA (WM_USER+6) 1501 #define TTM_NEWTOOLRECTW (WM_USER+52) 1465 1502 #define TTM_NEWTOOLRECT WINELIB_NAME_AW(TTM_NEWTOOLRECT) 1466 1503 #define TTM_RELAYEVENT (WM_USER+7) 1467 #define TTM_GETTOOLINFOA (WM_USER+8)1468 #define TTM_GETTOOLINFOW (WM_USER+53)1504 #define TTM_GETTOOLINFOA (WM_USER+8) 1505 #define TTM_GETTOOLINFOW (WM_USER+53) 1469 1506 #define TTM_GETTOOLINFO WINELIB_NAME_AW(TTM_GETTOOLINFO) 1470 #define TTM_SETTOOLINFOA (WM_USER+9)1471 #define TTM_SETTOOLINFOW (WM_USER+54)1507 #define TTM_SETTOOLINFOA (WM_USER+9) 1508 #define TTM_SETTOOLINFOW (WM_USER+54) 1472 1509 #define TTM_SETTOOLINFO WINELIB_NAME_AW(TTM_SETTOOLINFO) 1473 #define TTM_HITTESTA (WM_USER+10)1474 #define TTM_HITTESTW (WM_USER+55)1510 #define TTM_HITTESTA (WM_USER+10) 1511 #define TTM_HITTESTW (WM_USER+55) 1475 1512 #define TTM_HITTEST WINELIB_NAME_AW(TTM_HITTEST) 1476 #define TTM_GETTEXTA (WM_USER+11)1477 #define TTM_GETTEXTW (WM_USER+56)1513 #define TTM_GETTEXTA (WM_USER+11) 1514 #define TTM_GETTEXTW (WM_USER+56) 1478 1515 #define TTM_GETTEXT WINELIB_NAME_AW(TTM_GETTEXT) 1479 #define TTM_UPDATETIPTEXTA (WM_USER+12)1480 #define TTM_UPDATETIPTEXTW (WM_USER+57)1516 #define TTM_UPDATETIPTEXTA (WM_USER+12) 1517 #define TTM_UPDATETIPTEXTW (WM_USER+57) 1481 1518 #define TTM_UPDATETIPTEXT WINELIB_NAME_AW(TTM_UPDATETIPTEXT) 1482 1519 #define TTM_GETTOOLCOUNT (WM_USER+13) 1483 #define TTM_ENUMTOOLSA (WM_USER+14)1484 #define TTM_ENUMTOOLSW (WM_USER+58)1520 #define TTM_ENUMTOOLSA (WM_USER+14) 1521 #define TTM_ENUMTOOLSW (WM_USER+58) 1485 1522 #define TTM_ENUMTOOLS WINELIB_NAME_AW(TTM_ENUMTOOLS) 1486 #define TTM_GETCURRENTTOOLA (WM_USER+15)1487 #define TTM_GETCURRENTTOOLW (WM_USER+59)1523 #define TTM_GETCURRENTTOOLA (WM_USER+15) 1524 #define TTM_GETCURRENTTOOLW (WM_USER+59) 1488 1525 #define TTM_GETCURRENTTOOL WINELIB_NAME_AW(TTM_GETCURRENTTOOL) 1489 1526 #define TTM_WINDOWFROMPOINT (WM_USER+16) … … 1501 1538 #define TTM_POP (WM_USER+28) 1502 1539 #define TTM_UPDATE (WM_USER+29) 1540 #define TTM_GETBUBBLESIZE (WM_USER+30) 1503 1541 1504 1542 1505 1543 #define TTN_FIRST (0U-520U) 1506 1544 #define TTN_LAST (0U-549U) 1507 #define TTN_GETDISPINFOA (TTN_FIRST-0)1508 #define TTN_GETDISPINFOW (TTN_FIRST-10)1545 #define TTN_GETDISPINFOA (TTN_FIRST-0) 1546 #define TTN_GETDISPINFOW (TTN_FIRST-10) 1509 1547 #define TTN_GETDISPINFO WINELIB_NAME_AW(TTN_GETDISPINFO) 1510 1548 #define TTN_SHOW (TTN_FIRST-1) … … 1840 1878 #define TBS_NOTHUMB 0x0080 1841 1879 #define TBS_TOOLTIPS 0x0100 1842 #define TBS_REVERSED 0x0200 1880 #define TBS_REVERSED 0x0200 1881 #define TBS_DOWNISLEFT 0x0400 1843 1882 1844 1883 #define TBTS_TOP 0 … … 2681 2720 #define LVFI_STRING 0X0002 2682 2721 #define LVFI_PARTIAL 0X0008 2683 #define LVFI_WRAP 0X0020 2722 #define LVFI_WRAP 0X0020 2684 2723 #define LVFI_NEARESTXY 0X0040 2685 2724 … … 2695 2734 #define LVIR_LABEL 0x0002 2696 2735 #define LVIR_ICON 0x0001 2697 #define LVIR_SELECTBOUNDS 0x0003 2736 #define LVIR_SELECTBOUNDS 0x0003 2698 2737 2699 2738 #define LVIS_FOCUSED 0x0001 … … 2833 2872 #define LVM_SETTOOLTIPS (LVM_FIRST+74) 2834 2873 #define LVM_GETTOOLTIPS (LVM_FIRST+78) 2874 #define LVM_GETUNICODEFORMAT (CCM_GETUNICODEFORMAT) 2875 #define LVM_SETUNICODEFORMAT (CCM_SETUNICODEFORMAT) 2835 2876 2836 2877 #define LVN_FIRST (0U-100U) … … 3510 3551 #define ListView_FindItemW(hwnd,nItem,plvfi) \ 3511 3552 (INT)SendMessageW((hwnd),LVM_FINDITEMW,(WPARAM)(INT)(nItem),(LPARAM)(LVFINDINFOW*)(plvfi)) 3553 #define ListView_FindItem WINELIB_NAME_AW(ListView_FindItem) 3554 3512 3555 #define ListView_Arrange(hwnd,code) \ 3513 3556 (INT)SendMessageA((hwnd),LVM_ARRANGE,(WPARAM)(INT)(code),0L) … … 3588 3631 #define ListView_SetItemTextA(hwndLV, i, _iSubItem, _pszText) \ 3589 3632 { LVITEMA _LVi; _LVi.iSubItem = _iSubItem; _LVi.pszText = _pszText;\ 3590 SendMessageA(hwndLV, LVM_SETITEMTEXTA, (WPARAM)i, (LPARAM) (LVITEMA*)&_LVi);} 3633 SendMessageA(hwndLV, LVM_SETITEMTEXTA, (WPARAM)i, (LPARAM) (LVITEMA*)&_LVi);} 3591 3634 #define ListView_SetItemTextW(hwndLV, i, _iSubItem, _pszText) \ 3592 3635 { LVITEMW _LVi; _LVi.iSubItem = _iSubItem; _LVi.pszText = _pszText;\ 3593 SendMessageW(hwndLV, LVM_SETITEMTEXTW, (WPARAM)i, (LPARAM) (LVITEMW*)& _LVi);} 3636 SendMessageW(hwndLV, LVM_SETITEMTEXTW, (WPARAM)i, (LPARAM) (LVITEMW*)& _LVi);} 3594 3637 #define ListView_SetItemText WINELIB_NAME_AW(ListView_SetItemText) 3595 3638 … … 4190 4233 #define MCN_SELECT (MCN_FIRST + 4) 4191 4234 4192 #define MCSC_BACKGROUND 0 4193 #define MCSC_TEXT 1 4194 #define MCSC_TITLEBK 2 4235 #define MCSC_BACKGROUND 0 4236 #define MCSC_TEXT 1 4237 #define MCSC_TITLEBK 2 4195 4238 #define MCSC_TITLETEXT 3 4196 #define MCSC_MONTHBK 4 4197 #define MCSC_TRAILINGTEXT 5 4239 #define MCSC_MONTHBK 4 4240 #define MCSC_TRAILINGTEXT 5 4198 4241 4199 4242 #define MCS_DAYSTATE 0x0001 … … 4207 4250 #define MCHT_TODAYLINK 0x00030000 4208 4251 4209 #define MCHT_NEXT 0x01000000 4210 #define MCHT_PREV 0x02000000 4252 #define MCHT_NEXT 0x01000000 4253 #define MCHT_PREV 0x02000000 4211 4254 #define MCHT_NOWHERE 0x00000000 4212 4255 #define MCHT_TITLEBK (MCHT_TITLE) … … 4225 4268 4226 4269 4227 #define GMR_VISIBLE 0 4228 #define GMR_DAYSTATE 1 4270 #define GMR_VISIBLE 0 4271 #define GMR_DAYSTATE 1 4229 4272 4230 4273 … … 4235 4278 UINT cbSize; 4236 4279 POINT pt; 4237 UINT uHit; 4280 UINT uHit; 4238 4281 SYSTEMTIME st; 4239 4282 } MCHITTESTINFO, *PMCHITTESTINFO; … … 4241 4284 typedef struct tagNMSELCHANGE 4242 4285 { 4243 NMHDR nmhdr; 4286 NMHDR nmhdr; 4244 4287 SYSTEMTIME stSelStart; 4245 4288 SYSTEMTIME stSelEnd; … … 4251 4294 typedef struct tagNMDAYSTATE 4252 4295 { 4253 NMHDR nmhdr; 4296 NMHDR nmhdr; 4254 4297 SYSTEMTIME stStart; 4255 4298 int cDayState; … … 4342 4385 /* Datetime Notifications */ 4343 4386 4344 #define DTN_DATETIMECHANGE (DTN_FIRST + 1) 4345 #define DTN_USERSTRINGA (DTN_FIRST + 2) 4346 #define DTN_WMKEYDOWNA (DTN_FIRST + 3) 4347 #define DTN_FORMATA (DTN_FIRST + 4) 4348 #define DTN_FORMATQUERYA (DTN_FIRST + 5) 4387 #define DTN_DATETIMECHANGE (DTN_FIRST + 1) 4388 #define DTN_USERSTRINGA (DTN_FIRST + 2) 4389 #define DTN_WMKEYDOWNA (DTN_FIRST + 3) 4390 #define DTN_FORMATA (DTN_FIRST + 4) 4391 #define DTN_FORMATQUERYA (DTN_FIRST + 5) 4349 4392 #define DTN_DROPDOWN (DTN_FIRST + 6) 4350 #define DTN_CLOSEUP (DTN_FIRST + 7) 4393 #define DTN_CLOSEUP (DTN_FIRST + 7) 4351 4394 #define DTN_USERSTRINGW (DTN_FIRST + 15) 4352 4395 #define DTN_WMKEYDOWNW (DTN_FIRST + 16) … … 4359 4402 #define DTN_FORMATQUERY WINELIB_NAME_AW(DTN_FORMATQUERY) 4360 4403 4361 #define DTS_SHORTDATEFORMAT 0x0000 4362 #define DTS_UPDOWN 0x0001 4363 #define DTS_SHOWNONE 0x0002 4364 #define DTS_LONGDATEFORMAT 0x0004 4365 #define DTS_TIMEFORMAT 0x0009 4366 #define DTS_APPCANPARSE 0x0010 4367 #define DTS_RIGHTALIGN 0x0020 4404 #define DTS_SHORTDATEFORMAT 0x0000 4405 #define DTS_UPDOWN 0x0001 4406 #define DTS_SHOWNONE 0x0002 4407 #define DTS_LONGDATEFORMAT 0x0004 4408 #define DTS_TIMEFORMAT 0x0009 4409 #define DTS_APPCANPARSE 0x0010 4410 #define DTS_RIGHTALIGN 0x0020 4368 4411 4369 4412 typedef struct tagNMDATETIMECHANGE 4370 4413 { 4371 4414 NMHDR nmhdr; 4372 DWORD dwFlags; 4373 SYSTEMTIME st; 4415 DWORD dwFlags; 4416 SYSTEMTIME st; 4374 4417 } NMDATETIMECHANGE, *LPNMDATETIMECHANGE; 4375 4418 … … 4377 4420 { 4378 4421 NMHDR nmhdr; 4379 LPCSTR pszUserString; 4380 SYSTEMTIME st; 4381 DWORD dwFlags; 4422 LPCSTR pszUserString; 4423 SYSTEMTIME st; 4424 DWORD dwFlags; 4382 4425 } NMDATETIMESTRINGA, *LPNMDATETIMESTRINGA; 4383 4426 … … 4386 4429 NMHDR nmhdr; 4387 4430 LPCWSTR pszUserString; 4388 SYSTEMTIME st; 4389 DWORD dwFlags; 4431 SYSTEMTIME st; 4432 DWORD dwFlags; 4390 4433 } NMDATETIMESTRINGW, *LPNMDATETIMESTRINGW; 4391 4434 … … 4396 4439 { 4397 4440 NMHDR nmhdr; 4398 int nVirtKey; 4399 LPCSTR pszFormat; 4400 SYSTEMTIME st; 4441 int nVirtKey; 4442 LPCSTR pszFormat; 4443 SYSTEMTIME st; 4401 4444 } NMDATETIMEWMKEYDOWNA, *LPNMDATETIMEWMKEYDOWNA; 4402 4445 … … 4404 4447 { 4405 4448 NMHDR nmhdr; 4406 int nVirtKey; 4407 LPCWSTR pszFormat; 4408 SYSTEMTIME st; 4449 int nVirtKey; 4450 LPCWSTR pszFormat; 4451 SYSTEMTIME st; 4409 4452 } NMDATETIMEWMKEYDOWNW, *LPNMDATETIMEWMKEYDOWNW; 4410 4453 … … 4415 4458 { 4416 4459 NMHDR nmhdr; 4417 LPCSTR pszFormat; 4418 SYSTEMTIME st; 4419 LPCSTR pszDisplay; 4420 CHAR szDisplay[64]; 4460 LPCSTR pszFormat; 4461 SYSTEMTIME st; 4462 LPCSTR pszDisplay; 4463 CHAR szDisplay[64]; 4421 4464 } NMDATETIMEFORMATA, *LPNMDATETIMEFORMATA; 4422 4465 … … 4425 4468 { 4426 4469 NMHDR nmhdr; 4427 LPCWSTR pszFormat; 4428 SYSTEMTIME st; 4470 LPCWSTR pszFormat; 4471 SYSTEMTIME st; 4429 4472 LPCWSTR pszDisplay; 4430 4473 WCHAR szDisplay[64]; … … 4437 4480 { 4438 4481 NMHDR nmhdr; 4439 LPCSTR pszFormat; 4440 SIZE szMax; 4482 LPCSTR pszFormat; 4483 SIZE szMax; 4441 4484 } NMDATETIMEFORMATQUERYA, *LPNMDATETIMEFORMATQUERYA; 4442 4485 … … 4444 4487 { 4445 4488 NMHDR nmhdr; 4446 LPCWSTR pszFormat; 4447 SIZE szMax; 4489 LPCWSTR pszFormat; 4490 SIZE szMax; 4448 4491 } NMDATETIMEFORMATQUERYW, *LPNMDATETIMEFORMATQUERYW; 4449 4492 … … 4462 4505 4463 4506 #define DateTime_GetSystemtime(hdp, pst) \ 4464 (DWORD)SendMessageA (hdp, DTM_GETSYSTEMTIME , 0, (LPARAM)(pst)) 4507 (DWORD)SendMessageA (hdp, DTM_GETSYSTEMTIME , 0, (LPARAM)(pst)) 4465 4508 #define DateTime_SetSystemtime(hdp, gd, pst) \ 4466 4509 (BOOL)SendMessageA (hdp, DTM_SETSYSTEMTIME, (LPARAM)(gd), (LPARAM)(pst)) 4467 4510 #define DateTime_GetRange(hdp, rgst) \ 4468 (DWORD)SendMessageA (hdp, DTM_GETRANGE, 0, (LPARAM)(rgst)) 4511 (DWORD)SendMessageA (hdp, DTM_GETRANGE, 0, (LPARAM)(rgst)) 4469 4512 #define DateTime_SetRange(hdp, gd, rgst) \ 4470 4513 (BOOL)SendMessageA (hdp, DTM_SETRANGE, (WPARAM)(gd), (LPARAM)(rgst)) … … 4545 4588 { 4546 4589 INT nItemCount; 4547 LPVOID *ptrs; 4590 LPVOID *ptrs; 4548 4591 HANDLE hHeap; 4549 4592 INT nGrow; … … 4614 4657 4615 4658 #endif /* __WINE_COMMCTRL_H */ 4616 4617
Note:
See TracChangeset
for help on using the changeset viewer.