home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / COMMCTRL.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  74.9 KB  |  2,077 lines

  1. //----------------------------------------------------------------------------
  2. // CommCtrl.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: CommCtrl.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef CommCtrlHPP
  6. #define CommCtrlHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef WindowsHPP
  9. #include <Windows.hpp>
  10. #endif
  11.  
  12. #ifndef MessagesHPP
  13. #include <Messages.hpp>
  14. #endif
  15.  
  16. #ifndef SystemHPP
  17. #include <System.hpp>
  18. #endif
  19.  
  20. namespace Commctrl
  21. {
  22. //-- type declarations -------------------------------------------------------
  23. typedef void *HPropSheetPage;
  24.  
  25. struct TPropSheetPageA;
  26. typedef TPropSheetPageA *PPropSheetPageA;
  27.  
  28. struct TPropSheetPageW;
  29. typedef TPropSheetPageW *PPropSheetPageW;
  30.  
  31. typedef TPropSheetPageA *PPropSheetPage;
  32.  
  33. typedef System::Integer __stdcall (*TFNPSPCallbackA)(System::Integer Wnd, System::Integer Msg, PPropSheetPageA 
  34.     PPSP);
  35.  
  36. typedef System::Integer __stdcall (*TFNPSPCallbackW)(System::Integer Wnd, System::Integer Msg, PPropSheetPageW 
  37.     PPSP);
  38.  
  39. typedef System::Integer __stdcall (*TFNPSPCallback)(System::Integer Wnd, System::Integer Msg, PPropSheetPageA 
  40.     PPSP);
  41.  
  42. struct TPropSheetPageA
  43. {
  44.     System::Longint dwSize;
  45.     System::Longint dwFlags;
  46.     System::Integer hInstance;
  47.     union
  48.     {
  49.         void *pResource;
  50.         union
  51.         {
  52.             struct 
  53.             {
  54.                 System::Char *pszIcon;
  55.                 System::Char *pszTitle;
  56.                 void *pfnDlgProc;
  57.                 System::Longint lParam;
  58.                 TFNPSPCallbackA pfnCallback;
  59.                 System::Integer *pcRefParent;
  60.                 
  61.             };
  62.             System::Integer hIcon;
  63.             
  64.         };System::Char *pszTemplate;
  65.         
  66.     };
  67. } ;
  68.  
  69. struct TPropSheetPageW
  70. {
  71.     System::Longint dwSize;
  72.     System::Longint dwFlags;
  73.     System::Integer hInstance;
  74.     union
  75.     {
  76.         void *pResource;
  77.         union
  78.         {
  79.             struct 
  80.             {
  81.                 System::WideChar *pszIcon;
  82.                 System::WideChar *pszTitle;
  83.                 void *pfnDlgProc;
  84.                 System::Longint lParam;
  85.                 TFNPSPCallbackW pfnCallback;
  86.                 System::Integer *pcRefParent;
  87.                 
  88.             };
  89.             System::Integer hIcon;
  90.             
  91.         };System::WideChar *pszTemplate;
  92.         
  93.     };
  94. } ;
  95.  
  96. typedef TPropSheetPageA  TPropSheetPage;
  97.  
  98. typedef System::Integer __stdcall (*TFNPropSheetCallback)(System::Integer Wnd, System::Integer Msg, 
  99.     System::Integer LParam);
  100.  
  101. struct TPropSheetHeaderA;
  102. typedef TPropSheetHeaderA *PPropSheetHeaderA;
  103.  
  104. struct TPropSheetHeaderW;
  105. typedef TPropSheetHeaderW *PPropSheetHeaderW;
  106.  
  107. typedef TPropSheetHeaderA *PPropSheetHeader;
  108.  
  109. struct TPropSheetHeaderA
  110. {
  111.     System::Longint dwSize;
  112.     System::Longint dwFlags;
  113.     System::Integer hwndParent;
  114.     System::Integer hInstance;
  115.     union
  116.     {
  117.         struct 
  118.         {
  119.             System::Char *pszIcon;
  120.             System::Char *pszCaption;
  121.             System::Integer nPages;
  122.             union
  123.             {
  124.                 System::Char *pStartPage;
  125.                 union
  126.                 {
  127.                     struct 
  128.                     {
  129.                         void *phpage;
  130.                         TFNPropSheetCallback pfnCallback;
  131.                         
  132.                     };
  133.                     TPropSheetPageA *ppsp;
  134.                     
  135.                 };System::Integer nStartPage;
  136.                 
  137.             };
  138.         };
  139.         System::Integer hIcon;
  140.         
  141.     };
  142. } ;
  143.  
  144. struct TPropSheetHeaderW
  145. {
  146.     System::Longint dwSize;
  147.     System::Longint dwFlags;
  148.     System::Integer hwndParent;
  149.     System::Integer hInstance;
  150.     union
  151.     {
  152.         struct 
  153.         {
  154.             System::WideChar *pszIcon;
  155.             System::WideChar *pszCaption;
  156.             System::Integer nPages;
  157.             union
  158.             {
  159.                 System::WideChar *pStartPage;
  160.                 union
  161.                 {
  162.                     struct 
  163.                     {
  164.                         void *phpage;
  165.                         TFNPropSheetCallback pfnCallback;
  166.                         
  167.                     };
  168.                     TPropSheetPageW *ppsp;
  169.                     
  170.                 };System::Integer nStartPage;
  171.                 
  172.             };
  173.         };
  174.         System::Integer hIcon;
  175.         
  176.     };
  177. } ;
  178.  
  179. typedef TPropSheetHeaderA  TPropSheetHeader;
  180.  
  181. typedef System::LongBool __stdcall (*TFNAddPropSheetPage)(System::Pointer hPSP, System::Longint lParam
  182.     );
  183.  
  184. typedef System::Integer HImageList;
  185.  
  186. struct TImageInfo;
  187. typedef TImageInfo *PImageInfo;
  188.  
  189. struct TImageInfo
  190. {
  191.     System::Integer hbmImage;
  192.     System::Integer hbmMask;
  193.     System::Integer Unused1;
  194.     System::Integer Unused2;
  195.     Windows::TRect rcImage;
  196. } ;
  197.  
  198. struct THDItemA;
  199. typedef THDItemA *PHDItemA;
  200.  
  201. struct THDItemW;
  202. typedef THDItemW *PHDItemW;
  203.  
  204. typedef THDItemA *PHDItem;
  205.  
  206. struct THDItemA
  207. {
  208.     System::Cardinal Mask;
  209.     System::Integer cxy;
  210.     System::Char *pszText;
  211.     System::Integer hbm;
  212.     System::Integer cchTextMax;
  213.     System::Integer fmt;
  214.     System::Longint lParam;
  215. } ;
  216.  
  217. struct THDItemW
  218. {
  219.     System::Cardinal Mask;
  220.     System::Integer cxy;
  221.     System::WideChar *pszText;
  222.     System::Integer hbm;
  223.     System::Integer cchTextMax;
  224.     System::Integer fmt;
  225.     System::Longint lParam;
  226. } ;
  227.  
  228. typedef THDItemA  THDItem;
  229.  
  230. struct THDLayout;
  231. typedef THDLayout *PHDLayout;
  232.  
  233. struct THDLayout
  234. {
  235.     Windows::TRect *Rect;
  236.     Windows::TWindowPos *WindowPos;
  237. } ;
  238.  
  239. struct THDHitTestInfo;
  240. typedef THDHitTestInfo *PHDHitTestInfo;
  241.  
  242. struct THDHitTestInfo
  243. {
  244.     Windows::TPoint Point;
  245.     System::Cardinal Flags;
  246.     System::Integer Item;
  247. } ;
  248.  
  249. struct THDNotifyA;
  250. typedef THDNotifyA *PHDNotifyA;
  251.  
  252. struct THDNotifyW;
  253. typedef THDNotifyW *PHDNotifyW;
  254.  
  255. typedef THDNotifyA *PHDNotify;
  256.  
  257. struct THDNotifyA
  258. {
  259.     Windows::TNMHdr Hdr;
  260.     System::Integer Item;
  261.     System::Integer Button;
  262.     THDItemA *PItem;
  263. } ;
  264.  
  265. struct THDNotifyW
  266. {
  267.     Windows::TNMHdr Hdr;
  268.     System::Integer Item;
  269.     System::Integer Button;
  270.     THDItemW *PItem;
  271. } ;
  272.  
  273. typedef THDNotifyA  THDNotify;
  274.  
  275. struct TTBButton;
  276. typedef TTBButton *PTBButton;
  277.  
  278. struct TTBButton
  279. {
  280.     System::Integer iBitmap;
  281.     System::Integer idCommand;
  282.     System::Byte fsState;
  283.     System::Byte fsStyle;
  284.     System::Byte bReserved[2];
  285.     System::Longint dwData;
  286.     System::Integer iString;
  287. } ;
  288.  
  289. struct TColorMap;
  290. typedef TColorMap *PColorMap;
  291.  
  292. struct TColorMap
  293. {
  294.     System::Longint cFrom;
  295.     System::Longint cTo;
  296. } ;
  297.  
  298. struct TTBAddBitmap;
  299. typedef TTBAddBitmap *PTBAddBitmap;
  300.  
  301. struct TTBAddBitmap
  302. {
  303.     System::Integer hInst;
  304.     System::Integer nID;
  305. } ;
  306.  
  307. struct TTBSaveParamsA;
  308. typedef TTBSaveParamsA *PTBSaveParamsA;
  309.  
  310. struct TTBSaveParamsW;
  311. typedef TTBSaveParamsW *PTBSaveParamsW;
  312.  
  313. typedef TTBSaveParamsA *PTBSaveParams;
  314.  
  315. struct TTBSaveParamsA
  316. {
  317.     System::Integer hkr;
  318.     System::Char *pszSubKey;
  319.     System::Char *pszValueName;
  320. } ;
  321.  
  322. struct TTBSaveParamsW
  323. {
  324.     System::Integer hkr;
  325.     System::WideChar *pszSubKey;
  326.     System::WideChar *pszValueName;
  327. } ;
  328.  
  329. typedef TTBSaveParamsA  TTBSaveParams;
  330.  
  331. struct TTBNotifyA;
  332. typedef TTBNotifyA *PTBNotifyA;
  333.  
  334. struct TTBNotifyW;
  335. typedef TTBNotifyW *PTBNotifyW;
  336.  
  337. typedef TTBNotifyA *PTBNotify;
  338.  
  339. struct TTBNotifyA
  340. {
  341.     Windows::TNMHdr hdr;
  342.     TTBButton tbButton;
  343.     System::Integer cchText;
  344.     System::Char *pszText;
  345. } ;
  346.  
  347. struct TTBNotifyW
  348. {
  349.     Windows::TNMHdr hdr;
  350.     TTBButton tbButton;
  351.     System::Integer cchText;
  352.     System::WideChar *pszText;
  353. } ;
  354.  
  355. typedef TTBNotifyA  TTBNotify;
  356.  
  357. struct TToolInfoA;
  358. typedef TToolInfoA *PToolInfoA;
  359.  
  360. struct TToolInfoW;
  361. typedef TToolInfoW *PToolInfoW;
  362.  
  363. typedef TToolInfoA *PToolInfo;
  364.  
  365. struct TToolInfoA
  366. {
  367.     System::Integer cbSize;
  368.     System::Integer uFlags;
  369.     System::Integer hwnd;
  370.     System::Integer uId;
  371.     Windows::TRect Rect;
  372.     System::Integer hInst;
  373.     System::Char *lpszText;
  374. } ;
  375.  
  376. struct TToolInfoW
  377. {
  378.     System::Integer cbSize;
  379.     System::Integer uFlags;
  380.     System::Integer hwnd;
  381.     System::Integer uId;
  382.     Windows::TRect Rect;
  383.     System::Integer hInst;
  384.     System::WideChar *lpszText;
  385. } ;
  386.  
  387. typedef TToolInfoA  TToolInfo;
  388.  
  389. struct TTTHitTestInfoA;
  390. typedef TTTHitTestInfoA *PTTHitTestInfoA;
  391.  
  392. struct TTTHitTestInfoW;
  393. typedef TTTHitTestInfoW *PTTHitTestInfoW;
  394.  
  395. typedef TTTHitTestInfoA *PTTHitTestInfo;
  396.  
  397. struct TTTHitTestInfoA
  398. {
  399.     System::Integer hwnd;
  400.     Windows::TPoint pt;
  401.     TToolInfoA ti;
  402. } ;
  403.  
  404. struct TTTHitTestInfoW
  405. {
  406.     System::Integer hwnd;
  407.     Windows::TPoint pt;
  408.     TToolInfoW ti;
  409. } ;
  410.  
  411. typedef TTTHitTestInfoA  TTTHitTestInfo;
  412.  
  413. struct TToolTipTextA;
  414. typedef TToolTipTextA *PToolTipTextA;
  415.  
  416. struct TToolTipTextW;
  417. typedef TToolTipTextW *PToolTipTextW;
  418.  
  419. typedef TToolTipTextA *PToolTipText;
  420.  
  421. struct TToolTipTextA
  422. {
  423.     Windows::TNMHdr hdr;
  424.     System::Char *lpszText;
  425.     System::Char szText[80];
  426.     System::Integer hinst;
  427.     System::Integer uFlags;
  428. } ;
  429.  
  430. struct TToolTipTextW
  431. {
  432.     Windows::TNMHdr hdr;
  433.     System::WideChar *lpszText;
  434.     System::Char szText[80];
  435.     System::Integer hinst;
  436.     System::Integer uFlags;
  437. } ;
  438.  
  439. typedef TToolTipTextA  TToolTipText;
  440.  
  441. struct TDragListInfo;
  442. typedef TDragListInfo *PDragListInfo;
  443.  
  444. struct TDragListInfo
  445. {
  446.     System::Integer uNotification;
  447.     System::Integer hWnd;
  448.     Windows::TPoint ptCursor;
  449. } ;
  450.  
  451. struct TUDAccel;
  452. typedef TUDAccel *PUDAccel;
  453.  
  454. struct TUDAccel
  455. {
  456.     System::Integer nSec;
  457.     System::Integer nInc;
  458. } ;
  459.  
  460. struct TNMUpDown;
  461. typedef TNMUpDown *PNMUpDown;
  462.  
  463. struct TNMUpDown
  464. {
  465.     Windows::TNMHdr hdr;
  466.     System::Integer iPos;
  467.     System::Integer iDelta;
  468. } ;
  469.  
  470. struct TLVItemA;
  471. typedef TLVItemA *PLVItemA;
  472.  
  473. struct TLVItemW;
  474. typedef TLVItemW *PLVItemW;
  475.  
  476. typedef TLVItemA *PLVItem;
  477.  
  478. struct TLVItemA
  479. {
  480.     System::Integer mask;
  481.     System::Integer iItem;
  482.     System::Integer iSubItem;
  483.     System::Integer state;
  484.     System::Integer stateMask;
  485.     System::Char *pszText;
  486.     System::Integer cchTextMax;
  487.     System::Integer iImage;
  488.     System::Longint lParam;
  489. } ;
  490.  
  491. struct TLVItemW
  492. {
  493.     System::Integer mask;
  494.     System::Integer iItem;
  495.     System::Integer iSubItem;
  496.     System::Integer state;
  497.     System::Integer stateMask;
  498.     System::WideChar *pszText;
  499.     System::Integer cchTextMax;
  500.     System::Integer iImage;
  501.     System::Longint lParam;
  502. } ;
  503.  
  504. typedef TLVItemA  TLVItem;
  505.  
  506. struct TLVFindInfoA;
  507. typedef TLVFindInfoA *PLVFindInfoA;
  508.  
  509. struct TLVFindInfoW;
  510. typedef TLVFindInfoW *PLVFindInfoW;
  511.  
  512. typedef TLVFindInfoA *PLVFindInfo;
  513.  
  514. struct TLVFindInfoA
  515. {
  516.     System::Integer flags;
  517.     System::Char *psz;
  518.     System::Longint lParam;
  519.     Windows::TPoint pt;
  520.     System::Integer vkDirection;
  521. } ;
  522.  
  523. struct TLVFindInfoW
  524. {
  525.     System::Integer flags;
  526.     System::WideChar *psz;
  527.     System::Longint lParam;
  528.     Windows::TPoint pt;
  529.     System::Integer vkDirection;
  530. } ;
  531.  
  532. typedef TLVFindInfoA  TLVFindInfo;
  533.  
  534. struct TLVHitTestInfo;
  535. typedef TLVHitTestInfo *PLVHitTestInfo;
  536.  
  537. struct TLVHitTestInfo
  538. {
  539.     Windows::TPoint pt;
  540.     System::Integer flags;
  541.     System::Integer iItem;
  542. } ;
  543.  
  544. struct TLVColumnA;
  545. typedef TLVColumnA *PLVColumnA;
  546.  
  547. struct TLVColumnW;
  548. typedef TLVColumnW *PLVColumnW;
  549.  
  550. typedef TLVColumnA *PLVColumn;
  551.  
  552. struct TLVColumnA
  553. {
  554.     System::Integer mask;
  555.     System::Integer fmt;
  556.     System::Integer cx;
  557.     System::Char *pszText;
  558.     System::Integer cchTextMax;
  559.     System::Integer iSubItem;
  560. } ;
  561.  
  562. struct TLVColumnW
  563. {
  564.     System::Integer mask;
  565.     System::Integer fmt;
  566.     System::Integer cx;
  567.     System::WideChar *pszText;
  568.     System::Integer cchTextMax;
  569.     System::Integer iSubItem;
  570. } ;
  571.  
  572. typedef TLVColumnA  TLVColumn;
  573.  
  574. typedef System::Integer __stdcall (*TLVCompare)(System::Integer lParam1, System::Integer lParam2, System::Integer 
  575.     lParamSort);
  576.  
  577. struct TNMListView;
  578. typedef TNMListView *PNMListView;
  579.  
  580. struct TNMListView
  581. {
  582.     Windows::TNMHdr hdr;
  583.     System::Integer iItem;
  584.     System::Integer iSubItem;
  585.     System::Integer uNewState;
  586.     System::Integer uOldState;
  587.     System::Integer uChanged;
  588.     Windows::TPoint ptAction;
  589.     System::Longint lParam;
  590. } ;
  591.  
  592. struct TLVDispInfoA
  593. {
  594.     Windows::TNMHdr hdr;
  595.     TLVItemA item;
  596. } ;
  597.  
  598. typedef TLVDispInfoA *PLVDispInfoA;
  599.  
  600. struct TLVDispInfoW
  601. {
  602.     Windows::TNMHdr hdr;
  603.     TLVItemW item;
  604. } ;
  605.  
  606. typedef TLVDispInfoW *PLVDispInfoW;
  607.  
  608. typedef TLVDispInfoA *PLVDispInfo;
  609.  
  610. struct TLVKeyDown;
  611. typedef TLVKeyDown *PLVKeyDown;
  612.  
  613. struct TLVKeyDown
  614. {
  615.     
  616. #pragma pack(push, 1)
  617.     Windows::TNMHdr hdr;
  618.     System::Word wVKey;
  619.     System::Integer flags;
  620. #pragma pack(pop)
  621. } ;
  622.  
  623. struct _TreeItem
  624. {
  625.     
  626. } ;
  627.  
  628. typedef _TreeItem *HTreeItem;
  629.  
  630. struct TTVItemA;
  631. typedef TTVItemA *PTVItemA;
  632.  
  633. struct TTVItemW;
  634. typedef TTVItemW *PTVItemW;
  635.  
  636. typedef TTVItemA *PTVItem;
  637.  
  638. struct TTVItemA
  639. {
  640.     System::Integer mask;
  641.     _TreeItem *hItem;
  642.     System::Integer state;
  643.     System::Integer stateMask;
  644.     System::Char *pszText;
  645.     System::Integer cchTextMax;
  646.     System::Integer iImage;
  647.     System::Integer iSelectedImage;
  648.     System::Integer cChildren;
  649.     System::Longint lParam;
  650. } ;
  651.  
  652. struct TTVItemW
  653. {
  654.     System::Integer mask;
  655.     _TreeItem *hItem;
  656.     System::Integer state;
  657.     System::Integer stateMask;
  658.     System::WideChar *pszText;
  659.     System::Integer cchTextMax;
  660.     System::Integer iImage;
  661.     System::Integer iSelectedImage;
  662.     System::Integer cChildren;
  663.     System::Longint lParam;
  664. } ;
  665.  
  666. typedef TTVItemA  TTVItem;
  667.  
  668. struct TTVInsertStructA
  669. {
  670.     _TreeItem *hParent;
  671.     _TreeItem *hInsertAfter;
  672.     TTVItemA item;
  673. } ;
  674.  
  675. typedef TTVInsertStructA *PTVInsertStructA;
  676.  
  677. struct TTVInsertStructW
  678. {
  679.     _TreeItem *hParent;
  680.     _TreeItem *hInsertAfter;
  681.     TTVItemW item;
  682. } ;
  683.  
  684. typedef TTVInsertStructW *PTVInsertStructW;
  685.  
  686. typedef TTVInsertStructA *PTVInsertStruct;
  687.  
  688. typedef TTVInsertStructA  TTVInsertStruct;
  689.  
  690. struct TTVHitTestInfo;
  691. typedef TTVHitTestInfo *PTVHitTestInfo;
  692.  
  693. struct TTVHitTestInfo
  694. {
  695.     Windows::TPoint pt;
  696.     System::Integer flags;
  697.     _TreeItem *hItem;
  698. } ;
  699.  
  700. typedef System::Integer __stdcall (*TTVCompare)(System::Longint lParam1, System::Longint lParam2, System::Longint 
  701.     lParamSort);
  702.  
  703. struct TTVSortCB
  704. {
  705.     _TreeItem *hParent;
  706.     TTVCompare lpfnCompare;
  707.     System::Longint lParam;
  708. } ;
  709.  
  710. struct TNMTreeViewA;
  711. typedef TNMTreeViewA *PNMTreeViewA;
  712.  
  713. struct TNMTreeViewW;
  714. typedef TNMTreeViewW *PNMTreeViewW;
  715.  
  716. typedef TNMTreeViewA *PNMTreeView;
  717.  
  718. struct TNMTreeViewA
  719. {
  720.     Windows::TNMHdr hdr;
  721.     System::Integer action;
  722.     TTVItemA itemOld;
  723.     TTVItemA itemNew;
  724.     Windows::TPoint ptDrag;
  725. } ;
  726.  
  727. struct TNMTreeViewW
  728. {
  729.     Windows::TNMHdr hdr;
  730.     System::Integer action;
  731.     TTVItemW itemOld;
  732.     TTVItemW itemNew;
  733.     Windows::TPoint ptDrag;
  734. } ;
  735.  
  736. typedef TNMTreeViewA  TNMTreeView;
  737.  
  738. struct TTVDispInfoA
  739. {
  740.     Windows::TNMHdr hdr;
  741.     TTVItemA item;
  742. } ;
  743.  
  744. typedef TTVDispInfoA *PTVDispInfoA;
  745.  
  746. struct TTVDispInfoW
  747. {
  748.     Windows::TNMHdr hdr;
  749.     TTVItemW item;
  750. } ;
  751.  
  752. typedef TTVDispInfoW *PTVDispInfoW;
  753.  
  754. typedef TTVDispInfoA *PTVDispInfo;
  755.  
  756. typedef TTVDispInfoA  TTVDispInfo;
  757.  
  758. struct TTVKeyDown
  759. {
  760.     
  761. #pragma pack(push, 1)
  762.     Windows::TNMHdr hdr;
  763.     System::Word wVKey;
  764.     System::Integer flags;
  765. #pragma pack(pop)
  766. } ;
  767.  
  768. struct TTCItemHeaderA;
  769. typedef TTCItemHeaderA *PTCItemHeaderA;
  770.  
  771. struct TTCItemHeaderW;
  772. typedef TTCItemHeaderW *PTCItemHeaderW;
  773.  
  774. typedef TTCItemHeaderA *PTCItemHeader;
  775.  
  776. struct TTCItemHeaderA
  777. {
  778.     System::Integer mask;
  779.     System::Integer lpReserved1;
  780.     System::Integer lpReserved2;
  781.     System::Char *pszText;
  782.     System::Integer cchTextMax;
  783.     System::Integer iImage;
  784. } ;
  785.  
  786. struct TTCItemHeaderW
  787. {
  788.     System::Integer mask;
  789.     System::Integer lpReserved1;
  790.     System::Integer lpReserved2;
  791.     System::WideChar *pszText;
  792.     System::Integer cchTextMax;
  793.     System::Integer iImage;
  794. } ;
  795.  
  796. typedef TTCItemHeaderA  TTCItemHeader;
  797.  
  798. struct TTCItemA;
  799. typedef TTCItemA *PTCItemA;
  800.  
  801. struct TTCItemW;
  802. typedef TTCItemW *PTCItemW;
  803.  
  804. typedef TTCItemA *PTCItem;
  805.  
  806. struct TTCItemA
  807. {
  808.     System::Integer mask;
  809.     System::Integer lpReserved1;
  810.     System::Integer lpReserved2;
  811.     System::Char *pszText;
  812.     System::Integer cchTextMax;
  813.     System::Integer iImage;
  814.     System::Longint lParam;
  815. } ;
  816.  
  817. struct TTCItemW
  818. {
  819.     System::Integer mask;
  820.     System::Integer lpReserved1;
  821.     System::Integer lpReserved2;
  822.     System::WideChar *pszText;
  823.     System::Integer cchTextMax;
  824.     System::Integer iImage;
  825.     System::Longint lParam;
  826. } ;
  827.  
  828. typedef TTCItemA  TTCItem;
  829.  
  830. struct TTCHitTestInfo;
  831. typedef TTCHitTestInfo *PTCHitTestInfo;
  832.  
  833. struct TTCHitTestInfo
  834. {
  835.     Windows::TPoint pt;
  836.     System::Integer flags;
  837. } ;
  838.  
  839. struct TTCKeyDown
  840. {
  841.     
  842. #pragma pack(push, 1)
  843.     Windows::TNMHdr hdr;
  844.     System::Word wVKey;
  845.     System::Integer flags;
  846. #pragma pack(pop)
  847. } ;
  848.  
  849. //-- var, const, procedure ---------------------------------------------------
  850. #define MAXPROPPAGES System::Byte(100)
  851. #define PSP_DEFAULT System::Byte(0)
  852. #define PSP_DLGINDIRECT System::Byte(1)
  853. #define PSP_USEHICON System::Byte(2)
  854. #define PSP_USEICONID System::Byte(4)
  855. #define PSP_USETITLE System::Byte(8)
  856. #define PSP_HASHELP System::Byte(32)
  857. #define PSP_USEREFPARENT System::Byte(64)
  858. #define PSP_USECALLBACK System::Byte(128)
  859. #define PSPCB_RELEASE System::Byte(1)
  860. #define PSPCB_CREATE System::Byte(2)
  861. #define PSH_DEFAULT System::Byte(0)
  862. #define PSH_PROPTITLE System::Byte(1)
  863. #define PSH_USEHICON System::Byte(2)
  864. #define PSH_USEICONID System::Byte(4)
  865. #define PSH_PROPSHEETPAGE System::Byte(8)
  866. #define PSH_MULTILINETABS System::Byte(16)
  867. #define PSH_WIZARD System::Byte(32)
  868. #define PSH_USEPSTARTPAGE System::Byte(64)
  869. #define PSH_NOAPPLYNOW System::Byte(128)
  870. #define PSH_USECALLBACK System::Smallint(256)
  871. #define PSH_HASHELP System::Smallint(512)
  872. #define PSH_MODELESS System::Smallint(1024)
  873. #define PSCB_INITIALIZED System::Byte(1)
  874. #define PSN_FIRST System::Smallint(-200)
  875. #define PSN_LAST System::Smallint(-299)
  876. #define PSN_SETACTIVE System::Smallint(-200)
  877. #define PSN_KILLACTIVE System::Smallint(-201)
  878. #define PSN_APPLY System::Smallint(-202)
  879. #define PSN_RESET System::Smallint(-203)
  880. #define PSN_HELP System::Smallint(-205)
  881. #define PSN_WIZBACK System::Smallint(-206)
  882. #define PSN_WIZNEXT System::Smallint(-207)
  883. #define PSN_WIZFINISH System::Smallint(-208)
  884. #define PSN_QUERYCANCEL System::Smallint(-209)
  885. #define PSNRET_NOERROR System::Byte(0)
  886. #define PSNRET_INVALID System::Byte(1)
  887. #define PSNRET_INVALID_NOCHANGEPAGE System::Byte(2)
  888. #define PSM_SETCURSEL System::Smallint(1125)
  889. #define PSM_REMOVEPAGE System::Smallint(1126)
  890. #define PSM_ADDPAGE System::Smallint(1127)
  891. #define PSM_CHANGED System::Smallint(1128)
  892. #define PSM_RESTARTWINDOWS System::Smallint(1129)
  893. #define PSM_REBOOTSYSTEM System::Smallint(1130)
  894. #define PSM_CANCELTOCLOSE System::Smallint(1131)
  895. #define PSM_QUERYSIBLINGS System::Smallint(1132)
  896. #define PSM_UNCHANGED System::Smallint(1133)
  897. #define PSM_APPLY System::Smallint(1134)
  898. #define PSM_SETTITLE System::Smallint(1135)
  899. #define PSM_SETTITLEW System::Smallint(1144)
  900. #define PSM_SETWIZBUTTONS System::Smallint(1136)
  901. #define PSM_PRESSBUTTON System::Smallint(1137)
  902. #define PSM_SETCURSELID System::Smallint(1138)
  903. #define PSM_SETFINISHTEXT System::Smallint(1139)
  904. #define PSM_SETFINISHTEXTW System::Smallint(1145)
  905. #define PSM_GETTABCONTROL System::Smallint(1140)
  906. #define PSM_ISDIALOGMESSAGE System::Smallint(1141)
  907. #define PSWIZB_BACK System::Byte(1)
  908. #define PSWIZB_NEXT System::Byte(2)
  909. #define PSWIZB_FINISH System::Byte(4)
  910. #define PSWIZB_DISABLEDFINISH System::Byte(8)
  911. #define PSBTN_BACK System::Byte(0)
  912. #define PSBTN_NEXT System::Byte(1)
  913. #define PSBTN_FINISH System::Byte(2)
  914. #define PSBTN_OK System::Byte(3)
  915. #define PSBTN_APPLYNOW System::Byte(4)
  916. #define PSBTN_CANCEL System::Byte(5)
  917. #define PSBTN_HELP System::Byte(6)
  918. #define PSBTN_MAX System::Byte(6)
  919. #define ID_PSRESTARTWINDOWS System::Byte(2)
  920. #define ID_PSREBOOTSYSTEM System::Byte(3)
  921. #define WIZ_CXDLG System::Smallint(276)
  922. #define WIZ_CYDLG System::Byte(140)
  923. #define WIZ_CXBMP System::Byte(80)
  924. #define WIZ_BODYX System::Byte(92)
  925. #define WIZ_BODYCX System::Byte(184)
  926. #define PROP_SM_CXDLG System::Byte(212)
  927. #define PROP_SM_CYDLG System::Byte(188)
  928. #define PROP_MED_CXDLG System::Byte(227)
  929. #define PROP_MED_CYDLG System::Byte(215)
  930. #define PROP_LG_CXDLG System::Byte(252)
  931. #define PROP_LG_CYDLG System::Byte(218)
  932. #define IMAGE_BITMAP System::Byte(0)
  933. #define ODT_HEADER System::Byte(100)
  934. #define ODT_TAB System::Byte(101)
  935. #define ODT_LISTVIEW System::Byte(102)
  936. #define LVM_FIRST System::Smallint(4096)
  937. #define TV_FIRST System::Smallint(4352)
  938. #define HDM_FIRST System::Smallint(4608)
  939. #define NM_FIRST System::Byte(0)
  940. #define NM_LAST System::Shortint(-99)
  941. #define LVN_FIRST System::Shortint(-100)
  942. #define LVN_LAST System::Smallint(-199)
  943. #define HDN_FIRST System::Smallint(-300)
  944. #define HDN_LAST System::Smallint(-399)
  945. #define TVN_FIRST System::Smallint(-400)
  946. #define TVN_LAST System::Smallint(-499)
  947. #define TTN_FIRST System::Smallint(-520)
  948. #define TTN_LAST System::Smallint(-549)
  949. #define TCN_FIRST System::Smallint(-550)
  950. #define TCN_LAST System::Smallint(-580)
  951. #define CDN_LAST System::Smallint(-699)
  952. #define TBN_FIRST System::Smallint(-700)
  953. #define TBN_LAST System::Smallint(-720)
  954. #define UDN_FIRST System::Smallint(-721)
  955. #define UDN_LAST System::Smallint(-740)
  956. #define MSGF_COMMCTRL_BEGINDRAG System::Smallint(16896)
  957. #define MSGF_COMMCTRL_SIZEHEADER System::Smallint(16897)
  958. #define MSGF_COMMCTRL_DRAGSELECT System::Smallint(16898)
  959. #define MSGF_COMMCTRL_TOOLBARCUST System::Smallint(16899)
  960. #define NM_OUTOFMEMORY System::Shortint(-1)
  961. #define NM_CLICK System::Shortint(-2)
  962. #define NM_DBLCLK System::Shortint(-3)
  963. #define NM_RETURN System::Shortint(-4)
  964. #define NM_RCLICK System::Shortint(-5)
  965. #define NM_RDBLCLK System::Shortint(-6)
  966. #define NM_SETFOCUS System::Shortint(-7)
  967. #define NM_KILLFOCUS System::Shortint(-8)
  968. #define NM_STARTWAIT System::Shortint(-9)
  969. #define NM_ENDWAIT System::Shortint(-10)
  970. #define NM_BTNCLK System::Shortint(-10)
  971. #define CLR_NONE System::Shortint(-1)
  972. #define CLR_DEFAULT System::Integer(-16777216)
  973. #define ILC_MASK System::Byte(1)
  974. #define ILC_COLOR System::Byte(254)
  975. #define ILC_COLORDDB System::Byte(254)
  976. #define ILC_COLOR4 System::Byte(4)
  977. #define ILC_COLOR8 System::Byte(8)
  978. #define ILC_COLOR16 System::Byte(16)
  979. #define ILC_COLOR24 System::Byte(24)
  980. #define ILC_COLOR32 System::Byte(32)
  981. #define ILC_PALETTE System::Smallint(2048)
  982. #define ILD_NORMAL System::Byte(0)
  983. #define ILD_TRANSPARENT System::Byte(1)
  984. #define ILD_MASK System::Byte(16)
  985. #define ILD_IMAGE System::Byte(32)
  986. #define ILD_BLEND System::Byte(14)
  987. #define ILD_BLEND25 System::Byte(2)
  988. #define ILD_BLEND50 System::Byte(4)
  989. #define ILD_OVERLAYMASK System::Smallint(3840)
  990. #define ILD_SELECTED System::Byte(4)
  991. #define ILD_FOCUS System::Byte(2)
  992. #define CLR_HILIGHT System::Integer(-16777216)
  993. #define WC_HEADER "SysHeader32"
  994. #define HDS_HORZ System::Byte(0)
  995. #define HDS_BUTTONS System::Byte(2)
  996. #define HDS_HIDDEN System::Byte(8)
  997. #define HDI_WIDTH System::Byte(1)
  998. #define HDI_HEIGHT System::Byte(1)
  999. #define HDI_TEXT System::Byte(2)
  1000. #define HDI_FORMAT System::Byte(4)
  1001. #define HDI_LPARAM System::Byte(8)
  1002. #define HDI_BITMAP System::Byte(16)
  1003. #define HDF_LEFT System::Byte(0)
  1004. #define HDF_RIGHT System::Byte(1)
  1005. #define HDF_CENTER System::Byte(2)
  1006. #define HDF_JUSTIFYMASK System::Byte(3)
  1007. #define HDF_OWNERDRAW System::Integer(32768)
  1008. #define HDF_STRING System::Smallint(16384)
  1009. #define HDF_BITMAP System::Smallint(8192)
  1010. #define HDM_GETITEMCOUNT System::Smallint(4608)
  1011. #define HDM_INSERTITEMW System::Smallint(4618)
  1012. #define HDM_INSERTITEMA System::Smallint(4609)
  1013. #define HDM_INSERTITEM System::Smallint(4609)
  1014. #define HDM_DELETEITEM System::Smallint(4610)
  1015. #define HDM_GETITEMW System::Smallint(4619)
  1016. #define HDM_GETITEMA System::Smallint(4611)
  1017. #define HDM_GETITEM System::Smallint(4611)
  1018. #define HDM_SETITEMA System::Smallint(4612)
  1019. #define HDM_SETITEMW System::Smallint(4620)
  1020. #define HDM_SETITEM System::Smallint(4612)
  1021. #define HDM_LAYOUT System::Smallint(4613)
  1022. #define HHT_NOWHERE System::Byte(1)
  1023. #define HHT_ONHEADER System::Byte(2)
  1024. #define HHT_ONDIVIDER System::Byte(4)
  1025. #define HHT_ONDIVOPEN System::Byte(8)
  1026. #define HHT_ABOVE System::Smallint(256)
  1027. #define HHT_BELOW System::Smallint(512)
  1028. #define HHT_TORIGHT System::Smallint(1024)
  1029. #define HHT_TOLEFT System::Smallint(2048)
  1030. #define HDM_HITTEST System::Smallint(4614)
  1031. #define HDN_ITEMCHANGINGA System::Smallint(-300)
  1032. #define HDN_ITEMCHANGEDA System::Smallint(-301)
  1033. #define HDN_ITEMCLICKA System::Smallint(-302)
  1034. #define HDN_ITEMDBLCLICKA System::Smallint(-303)
  1035. #define HDN_DIVIDERDBLCLICKA System::Smallint(-305)
  1036. #define HDN_BEGINTRACKA System::Smallint(-306)
  1037. #define HDN_ENDTRACKA System::Smallint(-307)
  1038. #define HDN_TRACKA System::Smallint(-308)
  1039. #define HDN_ITEMCHANGINGW System::Smallint(-320)
  1040. #define HDN_ITEMCHANGEDW System::Smallint(-321)
  1041. #define HDN_ITEMCLICKW System::Smallint(-322)
  1042. #define HDN_ITEMDBLCLICKW System::Smallint(-323)
  1043. #define HDN_DIVIDERDBLCLICKW System::Smallint(-325)
  1044. #define HDN_BEGINTRACKW System::Smallint(-326)
  1045. #define HDN_ENDTRACKW System::Smallint(-327)
  1046. #define HDN_TRACKW System::Smallint(-328)
  1047. #define HDN_ITEMCHANGING System::Smallint(-300)
  1048. #define HDN_ITEMCHANGED System::Smallint(-301)
  1049. #define HDN_ITEMCLICK System::Smallint(-302)
  1050. #define HDN_ITEMDBLCLICK System::Smallint(-303)
  1051. #define HDN_DIVIDERDBLCLICK System::Smallint(-305)
  1052. #define HDN_BEGINTRACK System::Smallint(-306)
  1053. #define HDN_ENDTRACK System::Smallint(-307)
  1054. #define HDN_TRACK System::Smallint(-308)
  1055. #define TOOLBARCLASSNAME "ToolbarWindow32"
  1056. #define CMB_MASKED System::Byte(2)
  1057. #define TBSTATE_CHECKED System::Byte(1)
  1058. #define TBSTATE_PRESSED System::Byte(2)
  1059. #define TBSTATE_ENABLED System::Byte(4)
  1060. #define TBSTATE_HIDDEN System::Byte(8)
  1061. #define TBSTATE_INDETERMINATE System::Byte(16)
  1062. #define TBSTATE_WRAP System::Byte(32)
  1063. #define TBSTYLE_BUTTON System::Byte(0)
  1064. #define TBSTYLE_SEP System::Byte(1)
  1065. #define TBSTYLE_CHECK System::Byte(2)
  1066. #define TBSTYLE_GROUP System::Byte(4)
  1067. #define TBSTYLE_CHECKGROUP System::Byte(6)
  1068. #define TBSTYLE_TOOLTIPS System::Smallint(256)
  1069. #define TBSTYLE_WRAPABLE System::Smallint(512)
  1070. #define TBSTYLE_ALTDRAG System::Smallint(1024)
  1071. #define TB_ENABLEBUTTON System::Smallint(1025)
  1072. #define TB_CHECKBUTTON System::Smallint(1026)
  1073. #define TB_PRESSBUTTON System::Smallint(1027)
  1074. #define TB_HIDEBUTTON System::Smallint(1028)
  1075. #define TB_INDETERMINATE System::Smallint(1029)
  1076. #define TB_ISBUTTONENABLED System::Smallint(1033)
  1077. #define TB_ISBUTTONCHECKED System::Smallint(1034)
  1078. #define TB_ISBUTTONPRESSED System::Smallint(1035)
  1079. #define TB_ISBUTTONHIDDEN System::Smallint(1036)
  1080. #define TB_ISBUTTONINDETERMINATE System::Smallint(1037)
  1081. #define TB_SETSTATE System::Smallint(1041)
  1082. #define TB_GETSTATE System::Smallint(1042)
  1083. #define TB_ADDBITMAP System::Smallint(1043)
  1084. #define HINST_COMMCTRL System::Integer(-1)
  1085. #define IDB_STD_SMALL_COLOR System::Byte(0)
  1086. #define IDB_STD_LARGE_COLOR System::Byte(1)
  1087. #define IDB_VIEW_SMALL_COLOR System::Byte(4)
  1088. #define IDB_VIEW_LARGE_COLOR System::Byte(5)
  1089. #define STD_CUT System::Byte(0)
  1090. #define STD_COPY System::Byte(1)
  1091. #define STD_PASTE System::Byte(2)
  1092. #define STD_UNDO System::Byte(3)
  1093. #define STD_REDOW System::Byte(4)
  1094. #define STD_DELETE System::Byte(5)
  1095. #define STD_FILENEW System::Byte(6)
  1096. #define STD_FILEOPEN System::Byte(7)
  1097. #define STD_FILESAVE System::Byte(8)
  1098. #define STD_PRINTPRE System::Byte(9)
  1099. #define STD_PROPERTIES System::Byte(10)
  1100. #define STD_HELP System::Byte(11)
  1101. #define STD_FIND System::Byte(12)
  1102. #define STD_REPLACE System::Byte(13)
  1103. #define STD_PRINT System::Byte(14)
  1104. #define VIEW_LARGEICONS System::Byte(0)
  1105. #define VIEW_SMALLICONS System::Byte(1)
  1106. #define VIEW_LIST System::Byte(2)
  1107. #define VIEW_DETAILS System::Byte(3)
  1108. #define VIEW_SORTNAME System::Byte(4)
  1109. #define VIEW_SORTSIZE System::Byte(5)
  1110. #define VIEW_SORTDATE System::Byte(6)
  1111. #define VIEW_SORTTYPE System::Byte(7)
  1112. #define VIEW_PARENTFOLDER System::Byte(8)
  1113. #define VIEW_NETCONNECT System::Byte(9)
  1114. #define VIEW_NETDISCONNECT System::Byte(10)
  1115. #define VIEW_NEWFOLDER System::Byte(11)
  1116. #define TB_ADDBUTTONS System::Smallint(1044)
  1117. #define TB_INSERTBUTTON System::Smallint(1045)
  1118. #define TB_DELETEBUTTON System::Smallint(1046)
  1119. #define TB_GETBUTTON System::Smallint(1047)
  1120. #define TB_BUTTONCOUNT System::Smallint(1048)
  1121. #define TB_COMMANDTOINDEX System::Smallint(1049)
  1122. #define TB_SAVERESTOREA System::Smallint(1050)
  1123. #define TB_ADDSTRINGA System::Smallint(1052)
  1124. #define TB_GETBUTTONTEXTA System::Smallint(1069)
  1125. #define TBN_GETBUTTONINFOA System::Smallint(-700)
  1126. #define TB_SAVERESTOREW System::Smallint(1071)
  1127. #define TB_ADDSTRINGW System::Smallint(1072)
  1128. #define TB_GETBUTTONTEXTW System::Smallint(1070)
  1129. #define TBN_GETBUTTONINFOW System::Smallint(-720)
  1130. #define TB_SAVERESTORE System::Smallint(1050)
  1131. #define TB_ADDSTRING System::Smallint(1052)
  1132. #define TB_GETBUTTONTEXT System::Smallint(1069)
  1133. #define TBN_GETBUTTONINFO System::Smallint(-700)
  1134. #define TB_CUSTOMIZE System::Smallint(1051)
  1135. #define TB_GETITEMRECT System::Smallint(1053)
  1136. #define TB_BUTTONSTRUCTSIZE System::Smallint(1054)
  1137. #define TB_SETBUTTONSIZE System::Smallint(1055)
  1138. #define TB_SETBITMAPSIZE System::Smallint(1056)
  1139. #define TB_AUTOSIZE System::Smallint(1057)
  1140. #define TB_SETBUTTONTYPE System::Smallint(1058)
  1141. #define TB_GETTOOLTIPS System::Smallint(1059)
  1142. #define TB_SETTOOLTIPS System::Smallint(1060)
  1143. #define TB_SETPARENT System::Smallint(1061)
  1144. #define TB_SETROWS System::Smallint(1063)
  1145. #define TB_GETROWS System::Smallint(1064)
  1146. #define TB_SETCMDID System::Smallint(1066)
  1147. #define TB_CHANGEBITMAP System::Smallint(1067)
  1148. #define TB_GETBITMAP System::Smallint(1068)
  1149. #define TB_GETBITMAPFLAGS System::Smallint(1065)
  1150. #define TBN_BEGINDRAG System::Smallint(-701)
  1151. #define TBN_ENDDRAG System::Smallint(-702)
  1152. #define TBN_BEGINADJUST System::Smallint(-703)
  1153. #define TBN_ENDADJUST System::Smallint(-704)
  1154. #define TBN_RESET System::Smallint(-705)
  1155. #define TBN_QUERYINSERT System::Smallint(-706)
  1156. #define TBN_QUERYDELETE System::Smallint(-707)
  1157. #define TBN_TOOLBARCHANGE System::Smallint(-708)
  1158. #define TBN_CUSTHELP System::Smallint(-709)
  1159. #define TBBF_LARGE System::Byte(1)
  1160. #define TOOTIPS_CLASS "tooltips_class32"
  1161. #define TTS_ALWAYSTIP System::Byte(1)
  1162. #define TTS_NOPREFIX System::Byte(2)
  1163. #define TTF_IDISHWND System::Byte(1)
  1164. #define TTF_CENTERTIP System::Byte(2)
  1165. #define TTDT_AUTOMATIC System::Byte(0)
  1166. #define TTDT_RESHOW System::Byte(1)
  1167. #define TTDT_AUTOPOP System::Byte(2)
  1168. #define TTDT_INITIAL System::Byte(3)
  1169. #define TTM_ACTIVATE System::Smallint(1025)
  1170. #define TTM_SETDELAYTIME System::Smallint(1027)
  1171. #define TTM_ADDTOOLA System::Smallint(1028)
  1172. #define TTM_DELTOOLA System::Smallint(1029)
  1173. #define TTM_NEWTOOLRECTA System::Smallint(1030)
  1174. #define TTM_GETTOOLINFOA System::Smallint(1032)
  1175. #define TTM_SETTOOLINFOA System::Smallint(1033)
  1176. #define TTM_HITTESTA System::Smallint(1034)
  1177. #define TTM_GETTEXTA System::Smallint(1035)
  1178. #define TTM_UPDATETIPTEXTA System::Smallint(1036)
  1179. #define TTM_ENUMTOOLSA System::Smallint(1038)
  1180. #define TTM_GETCURRENTTOOLA System::Smallint(1039)
  1181. #define TTM_ADDTOOLW System::Smallint(1074)
  1182. #define TTM_DELTOOLW System::Smallint(1075)
  1183. #define TTM_NEWTOOLRECTW System::Smallint(1076)
  1184. #define TTM_GETTOOLINFOW System::Smallint(1077)
  1185. #define TTM_SETTOOLINFOW System::Smallint(1078)
  1186. #define TTM_HITTESTW System::Smallint(1079)
  1187. #define TTM_GETTEXTW System::Smallint(1080)
  1188. #define TTM_UPDATETIPTEXTW System::Smallint(1081)
  1189. #define TTM_ENUMTOOLSW System::Smallint(1082)
  1190. #define TTM_GETCURRENTTOOLW System::Smallint(1083)
  1191. #define TTM_ADDTOOL System::Smallint(1028)
  1192. #define TTM_DELTOOL System::Smallint(1029)
  1193. #define TTM_NEWTOOLRECT System::Smallint(1030)
  1194. #define TTM_GETTOOLINFO System::Smallint(1032)
  1195. #define TTM_SETTOOLINFO System::Smallint(1033)
  1196. #define TTM_HITTEST System::Smallint(1034)
  1197. #define TTM_GETTEXT System::Smallint(1035)
  1198. #define TTM_UPDATETIPTEXT System::Smallint(1036)
  1199. #define TTM_ENUMTOOLS System::Smallint(1038)
  1200. #define TTM_GETCURRENTTOOL System::Smallint(1039)
  1201. #define TTM_RELAYEVENT System::Smallint(1031)
  1202. #define TTM_GETTOOLCOUNT System::Smallint(1037)
  1203. #define TTN_NEEDTEXTA System::Smallint(-520)
  1204. #define TTN_NEEDTEXTW System::Smallint(-530)
  1205. #define TTN_NEEDTEXT System::Smallint(-520)
  1206. #define TTN_SHOW System::Smallint(-521)
  1207. #define TTN_POP System::Smallint(-522)
  1208. #define SBARS_SIZEGRIP System::Smallint(256)
  1209. #define STATUSCLASSNAME "msctls_statusbar32"
  1210. #define SB_SETTEXTA System::Smallint(1025)
  1211. #define SB_GETTEXTA System::Smallint(1026)
  1212. #define SB_GETTEXTLENGTHA System::Smallint(1027)
  1213. #define SB_SETTEXTW System::Smallint(1035)
  1214. #define SB_GETTEXTW System::Smallint(1037)
  1215. #define SB_GETTEXTLENGTHW System::Smallint(1036)
  1216. #define SB_SETTEXT System::Smallint(1025)
  1217. #define SB_GETTEXT System::Smallint(1026)
  1218. #define SB_GETTEXTLENGTH System::Smallint(1027)
  1219. #define SB_SETPARTS System::Smallint(1028)
  1220. #define SB_GETPARTS System::Smallint(1030)
  1221. #define SB_GETBORDERS System::Smallint(1031)
  1222. #define SB_SETMINHEIGHT System::Smallint(1032)
  1223. #define SB_SIMPLE System::Smallint(1033)
  1224. #define SB_GETRECT System::Smallint(1034)
  1225. #define SBT_OWNERDRAW System::Smallint(4096)
  1226. #define SBT_NOBORDERS System::Smallint(256)
  1227. #define SBT_POPOUT System::Smallint(512)
  1228. #define HBT_SPRING System::Smallint(1024)
  1229. #define MINSYSCOMMAND System::Integer(61440)
  1230. #define TRACKBAR_CLASS "msctls_trackbar32"
  1231. #define TBS_AUTOTICKS System::Byte(1)
  1232. #define TBS_VERT System::Byte(2)
  1233. #define TBS_HORZ System::Byte(0)
  1234. #define TBS_TOP System::Byte(4)
  1235. #define TBS_BOTTOM System::Byte(0)
  1236. #define TBS_LEFT System::Byte(4)
  1237. #define TBS_RIGHT System::Byte(0)
  1238. #define TBS_BOTH System::Byte(8)
  1239. #define TBS_NOTICKS System::Byte(16)
  1240. #define TBS_ENABLESELRANGE System::Byte(32)
  1241. #define TBS_FIXEDLENGTH System::Byte(64)
  1242. #define TBS_NOTHUMB System::Byte(128)
  1243. #define TBM_GETPOS System::Smallint(1024)
  1244. #define TBM_GETRANGEMIN System::Smallint(1025)
  1245. #define TBM_GETRANGEMAX System::Smallint(1026)
  1246. #define TBM_GETTIC System::Smallint(1027)
  1247. #define TBM_SETTIC System::Smallint(1028)
  1248. #define TBM_SETPOS System::Smallint(1029)
  1249. #define TBM_SETRANGE System::Smallint(1030)
  1250. #define TBM_SETRANGEMIN System::Smallint(1031)
  1251. #define TBM_SETRANGEMAX System::Smallint(1032)
  1252. #define TBM_CLEARTICS System::Smallint(1033)
  1253. #define TBM_SETSEL System::Smallint(1034)
  1254. #define TBM_SETSELSTART System::Smallint(1035)
  1255. #define TBM_SETSELEND System::Smallint(1036)
  1256. #define TBM_GETPTICS System::Smallint(1038)
  1257. #define TBM_GETTICPOS System::Smallint(1039)
  1258. #define TBM_GETNUMTICS System::Smallint(1040)
  1259. #define TBM_GETSELSTART System::Smallint(1041)
  1260. #define TBM_GETSELEND System::Smallint(1042)
  1261. #define TBM_CLEARSEL System::Smallint(1043)
  1262. #define TBM_SETTICFREQ System::Smallint(1044)
  1263. #define TBM_SETPAGESIZE System::Smallint(1045)
  1264. #define TBM_GETPAGESIZE System::Smallint(1046)
  1265. #define TBM_SETLINESIZE System::Smallint(1047)
  1266. #define TBM_GETLINESIZE System::Smallint(1048)
  1267. #define TBM_GETTHUMBRECT System::Smallint(1049)
  1268. #define TBM_GETCHANNELRECT System::Smallint(1050)
  1269. #define TBM_SETTHUMBLENGTH System::Smallint(1051)
  1270. #define TBM_GETTHUMBLENGTH System::Smallint(1052)
  1271. #define TB_LINEUP System::Byte(0)
  1272. #define TB_LINEDOWN System::Byte(1)
  1273. #define TB_PAGEUP System::Byte(2)
  1274. #define TB_PAGEDOWN System::Byte(3)
  1275. #define TB_THUMBPOSITION System::Byte(4)
  1276. #define TB_THUMBTRACK System::Byte(5)
  1277. #define TB_TOP System::Byte(6)
  1278. #define TB_BOTTOM System::Byte(7)
  1279. #define TB_ENDTRACK System::Byte(8)
  1280. #define DL_BEGINDRAG System::Smallint(1157)
  1281. #define DL_DRAGGING System::Smallint(1158)
  1282. #define DL_DROPPED System::Smallint(1159)
  1283. #define DL_CANCELDRAG System::Smallint(1160)
  1284. #define DL_CURSORSET System::Byte(0)
  1285. #define DL_STOPCURSOR System::Byte(1)
  1286. #define DL_COPYCURSOR System::Byte(2)
  1287. #define DL_MOVECURSOR System::Byte(3)
  1288. #define DRAGLISTMSGSTRING "commctrl_DragListMsg"
  1289. #define UPDOWN_CLASS "msctls_updown32"
  1290. #define UD_MAXVAL System::Smallint(32767)
  1291. #define UD_MINVAL System::Smallint(-32767)
  1292. #define UDS_WRAP System::Byte(1)
  1293. #define UDS_SETBUDDYINT System::Byte(2)
  1294. #define UDS_ALIGNRIGHT System::Byte(4)
  1295. #define UDS_ALIGNLEFT System::Byte(8)
  1296. #define UDS_AUTOBUDDY System::Byte(16)
  1297. #define UDS_ARROWKEYS System::Byte(32)
  1298. #define UDS_HORZ System::Byte(64)
  1299. #define UDS_NOTHOUSANDS System::Byte(128)
  1300. #define UDM_SETRANGE System::Smallint(1125)
  1301. #define UDM_GETRANGE System::Smallint(1126)
  1302. #define UDM_SETPOS System::Smallint(1127)
  1303. #define UDM_GETPOS System::Smallint(1128)
  1304. #define UDM_SETBUDDY System::Smallint(1129)
  1305. #define UDM_GETBUDDY System::Smallint(1130)
  1306. #define UDM_SETACCEL System::Smallint(1131)
  1307. #define UDM_GETACCEL System::Smallint(1132)
  1308. #define UDM_SETBASE System::Smallint(1133)
  1309. #define UDM_GETBASE System::Smallint(1134)
  1310. #define UDN_DELTAPOS System::Smallint(-722)
  1311. #define PROGRESS_CLASS "msctls_progress32"
  1312. #define PBM_SETRANGE System::Smallint(1025)
  1313. #define PBM_SETPOS System::Smallint(1026)
  1314. #define PBM_DELTAPOS System::Smallint(1027)
  1315. #define PBM_SETSTEP System::Smallint(1028)
  1316. #define PBM_STEPIT System::Smallint(1029)
  1317. #define HOTKEYF_SHIFT System::Byte(1)
  1318. #define HOTKEYF_CONTROL System::Byte(2)
  1319. #define HOTKEYF_ALT System::Byte(4)
  1320. #define HOTKEYF_EXT System::Byte(8)
  1321. #define HKCOMB_NONE System::Byte(1)
  1322. #define HKCOMB_S System::Byte(2)
  1323. #define HKCOMB_C System::Byte(4)
  1324. #define HKCOMB_A System::Byte(8)
  1325. #define HKCOMB_SC System::Byte(16)
  1326. #define HKCOMB_SA System::Byte(32)
  1327. #define HKCOMB_CA System::Byte(64)
  1328. #define HKCOMB_SCA System::Byte(128)
  1329. #define HKM_SETHOTKEY System::Smallint(1025)
  1330. #define HKM_GETHOTKEY System::Smallint(1026)
  1331. #define HKM_SETRULES System::Smallint(1027)
  1332. #define HOTKEYCLASS "msctls_hotkey32"
  1333. #define CCS_TOP System::Byte(1)
  1334. #define CCS_NOMOVEY System::Byte(2)
  1335. #define CCS_BOTTOM System::Byte(3)
  1336. #define CCS_NORESIZE System::Byte(4)
  1337. #define CCS_NOPARENTALIGN System::Byte(8)
  1338. #define CCS_NOHILITE System::Byte(16)
  1339. #define CCS_ADJUSTABLE System::Byte(32)
  1340. #define CCS_NODIVIDER System::Byte(64)
  1341. #define WC_LISTVIEW "SysListView32"
  1342. #define LVS_ICON System::Byte(0)
  1343. #define LVS_REPORT System::Byte(1)
  1344. #define LVS_SMALLICON System::Byte(2)
  1345. #define LVS_LIST System::Byte(3)
  1346. #define LVS_TYPEMASK System::Byte(3)
  1347. #define LVS_SINGLESEL System::Byte(4)
  1348. #define LVS_SHOWSELALWAYS System::Byte(8)
  1349. #define LVS_SORTASCENDING System::Byte(16)
  1350. #define LVS_SORTDESCENDING System::Byte(32)
  1351. #define LVS_SHAREIMAGELISTS System::Byte(64)
  1352. #define LVS_NOLABELWRAP System::Byte(128)
  1353. #define LVS_AUTOARRANGE System::Smallint(256)
  1354. #define LVS_EDITLABELS System::Smallint(512)
  1355. #define LVS_NOSCROLL System::Smallint(8192)
  1356. #define LVS_TYPESTYLEMASK System::Integer(64512)
  1357. #define LVS_ALIGNTOP System::Byte(0)
  1358. #define LVS_ALIGNLEFT System::Smallint(2048)
  1359. #define LVS_ALIGNMASK System::Smallint(3072)
  1360. #define LVS_OWNERDRAWFIXED System::Smallint(1024)
  1361. #define LVS_NOCOLUMNHEADER System::Smallint(16384)
  1362. #define LVS_NOSORTHEADER System::Integer(32768)
  1363. #define LVM_GETBKCOLOR System::Smallint(4096)
  1364. #define LVM_SETBKCOLOR System::Smallint(4097)
  1365. #define LVM_GETIMAGELIST System::Smallint(4098)
  1366. #define LVSIL_NORMAL System::Byte(0)
  1367. #define LVSIL_SMALL System::Byte(1)
  1368. #define LVSIL_STATE System::Byte(2)
  1369. #define LVM_SETIMAGELIST System::Smallint(4099)
  1370. #define LVM_GETITEMCOUNT System::Smallint(4100)
  1371. #define LVIF_TEXT System::Byte(1)
  1372. #define LVIF_IMAGE System::Byte(2)
  1373. #define LVIF_PARAM System::Byte(4)
  1374. #define LVIF_STATE System::Byte(8)
  1375. #define LVIS_FOCUSED System::Byte(1)
  1376. #define LVIS_SELECTED System::Byte(2)
  1377. #define LVIS_CUT System::Byte(4)
  1378. #define LVIS_DROPHILITED System::Byte(8)
  1379. #define LVIS_LINK System::Byte(64)
  1380. #define LVIS_OVERLAYMASK System::Smallint(3840)
  1381. #define LVIS_STATEIMAGEMASK System::Integer(61440)
  1382. #define LPSTR_TEXTCALLBACKA System::PChar(0xffffffff)
  1383. #define LPSTR_TEXTCALLBACKW System::PWideChar(0xffffffff)
  1384. #define LPSTR_TEXTCALLBACK System::PChar(0xffffffff)
  1385. #define I_IMAGECALLBACK System::Shortint(-1)
  1386. #define LVM_GETITEMA System::Smallint(4101)
  1387. #define LVM_SETITEMA System::Smallint(4102)
  1388. #define LVM_INSERTITEMA System::Smallint(4103)
  1389. #define LVM_GETITEMW System::Smallint(4171)
  1390. #define LVM_SETITEMW System::Smallint(4172)
  1391. #define LVM_INSERTITEMW System::Smallint(4173)
  1392. #define LVM_GETITEM System::Smallint(4101)
  1393. #define LVM_SETITEM System::Smallint(4102)
  1394. #define LVM_INSERTITEM System::Smallint(4103)
  1395. #define LVM_DELETEITEM System::Smallint(4104)
  1396. #define LVM_DELETEALLITEMS System::Smallint(4105)
  1397. #define LVM_GETCALLBACKMASK System::Smallint(4106)
  1398. #define LVM_SETCALLBACKMASK System::Smallint(4107)
  1399. #define LVNI_ALL System::Byte(0)
  1400. #define LVNI_FOCUSED System::Byte(1)
  1401. #define LVNI_SELECTED System::Byte(2)
  1402. #define LVNI_CUT System::Byte(4)
  1403. #define LVNI_DROPHILITED System::Byte(8)
  1404. #define LVNI_PREVIOUS System::Byte(32)
  1405. #define LVNI_ABOVE System::Smallint(256)
  1406. #define LVNI_BELOW System::Smallint(512)
  1407. #define LVNI_TOLEFT System::Smallint(1024)
  1408. #define LVNI_TORIGHT System::Smallint(2048)
  1409. #define LVM_GETNEXTITEM System::Smallint(4108)
  1410. #define LVFI_PARAM System::Byte(1)
  1411. #define LVFI_STRING System::Byte(2)
  1412. #define LVFI_PARTIAL System::Byte(8)
  1413. #define LVFI_WRAP System::Byte(32)
  1414. #define LVFI_NEARESTXY System::Byte(64)
  1415. #define LVM_FINDITEMA System::Smallint(4109)
  1416. #define LVM_FINDITEMW System::Smallint(4179)
  1417. #define LVM_FINDITEM System::Smallint(4109)
  1418. #define LVIR_BOUNDS System::Byte(0)
  1419. #define LVIR_ICON System::Byte(1)
  1420. #define LVIR_LABEL System::Byte(2)
  1421. #define LVIR_SELECTBOUNDS System::Byte(3)
  1422. #define LVM_GETITEMRECT System::Smallint(4110)
  1423. #define LVM_SETITEMPOSITION System::Smallint(4111)
  1424. #define LVM_GETITEMPOSITION System::Smallint(4112)
  1425. #define LVM_GETSTRINGWIDTHA System::Smallint(4113)
  1426. #define LVM_GETSTRINGWIDTHW System::Smallint(4183)
  1427. #define LVM_GETSTRINGWIDTH System::Smallint(4113)
  1428. #define LVHT_NOWHERE System::Byte(1)
  1429. #define LVHT_ONITEMICON System::Byte(2)
  1430. #define LVHT_ONITEMLABEL System::Byte(4)
  1431. #define LVHT_ONITEMSTATEICON System::Byte(8)
  1432. #define LVHT_ONITEM System::Byte(14)
  1433. #define LVHT_ABOVE System::Byte(8)
  1434. #define LVHT_BELOW System::Byte(16)
  1435. #define LVHT_TORIGHT System::Byte(32)
  1436. #define LVHT_TOLEFT System::Byte(64)
  1437. #define LVM_HITTEST System::Smallint(4114)
  1438. #define LVM_ENSUREVISIBLE System::Smallint(4115)
  1439. #define LVM_SCROLL System::Smallint(4116)
  1440. #define LVM_REDRAWITEMS System::Smallint(4117)
  1441. #define LVA_DEFAULT System::Byte(0)
  1442. #define LVA_ALIGNLEFT System::Byte(1)
  1443. #define LVA_ALIGNTOP System::Byte(2)
  1444. #define LVA_ALIGNRIGHT System::Byte(3)
  1445. #define LVA_ALIGNBOTTOM System::Byte(4)
  1446. #define LVA_SNAPTOGRID System::Byte(5)
  1447. #define LVA_SORTASCENDING System::Smallint(256)
  1448. #define LVA_SORTDESCENDING System::Smallint(512)
  1449. #define LVM_ARRANGE System::Smallint(4118)
  1450. #define LVM_EDITLABELA System::Smallint(4119)
  1451. #define LVM_EDITLABELW System::Smallint(4214)
  1452. #define LVM_EDITLABEL System::Smallint(4119)
  1453. #define LVM_GETEDITCONTROL System::Smallint(4120)
  1454. #define LVCF_FMT System::Byte(1)
  1455. #define LVCF_WIDTH System::Byte(2)
  1456. #define LVCF_TEXT System::Byte(4)
  1457. #define LVCF_SUBITEM System::Byte(8)
  1458. #define LVCFMT_LEFT System::Byte(0)
  1459. #define LVCFMT_RIGHT System::Byte(1)
  1460. #define LVCFMT_CENTER System::Byte(2)
  1461. #define LVCFMT_JUSTIFYMASK System::Byte(3)
  1462. #define LVM_GETCOLUMNA System::Smallint(4121)
  1463. #define LVM_GETCOLUMNW System::Smallint(4191)
  1464. #define LVM_GETCOLUMN System::Smallint(4121)
  1465. #define LVM_SETCOLUMNA System::Smallint(4122)
  1466. #define LVM_SETCOLUMNW System::Smallint(4192)
  1467. #define LVM_SETCOLUMN System::Smallint(4122)
  1468. #define LVM_INSERTCOLUMNA System::Smallint(4123)
  1469. #define LVM_INSERTCOLUMNW System::Smallint(4193)
  1470. #define LVM_INSERTCOLUMN System::Smallint(4123)
  1471. #define LVM_DELETECOLUMN System::Smallint(4124)
  1472. #define LVM_GETCOLUMNWIDTH System::Smallint(4125)
  1473. #define LVSCW_AUTOSIZE System::Shortint(-1)
  1474. #define LVSCW_AUTOSIZE_USEHEADER System::Shortint(-2)
  1475. #define LVM_SETCOLUMNWIDTH System::Smallint(4126)
  1476. #define LVM_CREATEDRAGIMAGE System::Smallint(4129)
  1477. #define LVM_GETVIEWRECT System::Smallint(4130)
  1478. #define LVM_GETTEXTCOLOR System::Smallint(4131)
  1479. #define LVM_SETTEXTCOLOR System::Smallint(4132)
  1480. #define LVM_GETTEXTBKCOLOR System::Smallint(4133)
  1481. #define LVM_SETTEXTBKCOLOR System::Smallint(4134)
  1482. #define LVM_GETTOPINDEX System::Smallint(4135)
  1483. #define LVM_GETCOUNTPERPAGE System::Smallint(4136)
  1484. #define LVM_GETORIGIN System::Smallint(4137)
  1485. #define LVM_UPDATE System::Smallint(4138)
  1486. #define LVM_SETITEMSTATE System::Smallint(4139)
  1487. #define LVM_GETITEMSTATE System::Smallint(4140)
  1488. #define LVM_GETITEMTEXTA System::Smallint(4141)
  1489. #define LVM_GETITEMTEXTW System::Smallint(4211)
  1490. #define LVM_GETITEMTEXT System::Smallint(4141)
  1491. #define LVM_SETITEMTEXTA System::Smallint(4142)
  1492. #define LVM_SETITEMTEXTW System::Smallint(4212)
  1493. #define LVM_SETITEMTEXT System::Smallint(4142)
  1494. #define LVM_SETITEMCOUNT System::Smallint(4143)
  1495. #define LVM_SORTITEMS System::Smallint(4144)
  1496. #define LVM_SETITEMPOSITION32 System::Smallint(4145)
  1497. #define LVM_GETSELECTEDCOUNT System::Smallint(4146)
  1498. #define LVM_GETITEMSPACING System::Smallint(4147)
  1499. #define LVM_GETISEARCHSTRINGA System::Smallint(4148)
  1500. #define LVM_GETISEARCHSTRINGW System::Smallint(4213)
  1501. #define LVM_GETISEARCHSTRING System::Smallint(4148)
  1502. #define LVN_ITEMCHANGING System::Shortint(-100)
  1503. #define LVN_ITEMCHANGED System::Shortint(-101)
  1504. #define LVN_INSERTITEM System::Shortint(-102)
  1505. #define LVN_DELETEITEM System::Shortint(-103)
  1506. #define LVN_DELETEALLITEMS System::Shortint(-104)
  1507. #define LVN_COLUMNCLICK System::Shortint(-108)
  1508. #define LVN_BEGINDRAG System::Shortint(-109)
  1509. #define LVN_ENDDRAG System::Shortint(-110)
  1510. #define LVN_BEGINRDRAG System::Shortint(-111)
  1511. #define LVN_ENDRDRAG System::Shortint(-112)
  1512. #define LVN_BEGINLABELEDITA System::Shortint(-105)
  1513. #define LVN_ENDLABELEDITA System::Shortint(-106)
  1514. #define LVN_BEGINLABELEDITW System::Smallint(-175)
  1515. #define LVN_ENDLABELEDITW System::Smallint(-176)
  1516. #define LVN_BEGINLABELEDIT System::Shortint(-105)
  1517. #define LVN_ENDLABELEDIT System::Shortint(-106)
  1518. #define LVN_GETDISPINFOA System::Smallint(-150)
  1519. #define LVN_SETDISPINFOA System::Smallint(-151)
  1520. #define LVN_GETDISPINFOW System::Smallint(-177)
  1521. #define LVN_SETDISPINFOW System::Smallint(-178)
  1522. #define LVN_GETDISPINFO System::Smallint(-150)
  1523. #define LVN_SETDISPINFO System::Smallint(-151)
  1524. #define LVIF_DI_SETITEM System::Smallint(4096)
  1525. #define LVN_KEYDOWN System::Smallint(-155)
  1526. #define WC_TREEVIEW "SysTreeView32"
  1527. #define TVS_HASBUTTONS System::Byte(1)
  1528. #define TVS_HASLINES System::Byte(2)
  1529. #define TVS_LINESATROOT System::Byte(4)
  1530. #define TVS_EDITLABELS System::Byte(8)
  1531. #define TVS_DISABLEDRAGDROP System::Byte(16)
  1532. #define TVS_SHOWSELALWAYS System::Byte(32)
  1533. #define TVIF_TEXT System::Byte(1)
  1534. #define TVIF_IMAGE System::Byte(2)
  1535. #define TVIF_PARAM System::Byte(4)
  1536. #define TVIF_STATE System::Byte(8)
  1537. #define TVIF_HANDLE System::Byte(16)
  1538. #define TVIF_SELECTEDIMAGE System::Byte(32)
  1539. #define TVIF_CHILDREN System::Byte(64)
  1540. #define TVIS_FOCUSED System::Byte(1)
  1541. #define TVIS_SELECTED System::Byte(2)
  1542. #define TVIS_CUT System::Byte(4)
  1543. #define TVIS_DROPHILITED System::Byte(8)
  1544. #define TVIS_BOLD System::Byte(16)
  1545. #define TVIS_EXPANDED System::Byte(32)
  1546. #define TVIS_EXPANDEDONCE System::Byte(64)
  1547. #define TVIS_OVERLAYMASK System::Smallint(3840)
  1548. #define TVIS_STATEIMAGEMASK System::Integer(61440)
  1549. #define TVIS_USERMASK System::Integer(61440)
  1550. #define I_CHILDRENCALLBACK System::Shortint(-1)
  1551. #define TVI_ROOT HTreeItem(0xffff0000)
  1552. #define TVI_FIRST HTreeItem(0xffff0001)
  1553. #define TVI_LAST HTreeItem(0xffff0002)
  1554. #define TVI_SORT HTreeItem(0xffff0003)
  1555. #define TVM_INSERTITEMA System::Smallint(4352)
  1556. #define TVM_INSERTITEMW System::Smallint(4402)
  1557. #define TVM_INSERTITEM System::Smallint(4352)
  1558. #define TVM_DELETEITEM System::Smallint(4353)
  1559. #define TVM_EXPAND System::Smallint(4354)
  1560. #define TVE_COLLAPSE System::Byte(1)
  1561. #define TVE_EXPAND System::Byte(2)
  1562. #define TVE_TOGGLE System::Byte(3)
  1563. #define TVE_COLLAPSERESET System::Integer(32768)
  1564. #define TVM_GETITEMRECT System::Smallint(4356)
  1565. #define TVM_GETCOUNT System::Smallint(4357)
  1566. #define TVM_GETINDENT System::Smallint(4358)
  1567. #define TVM_SETINDENT System::Smallint(4359)
  1568. #define TVM_GETIMAGELIST System::Smallint(4360)
  1569. #define TVSIL_NORMAL System::Byte(0)
  1570. #define TVSIL_STATE System::Byte(2)
  1571. #define TVM_SETIMAGELIST System::Smallint(4361)
  1572. #define TVM_GETNEXTITEM System::Smallint(4362)
  1573. #define TVGN_ROOT System::Byte(0)
  1574. #define TVGN_NEXT System::Byte(1)
  1575. #define TVGN_PREVIOUS System::Byte(2)
  1576. #define TVGN_PARENT System::Byte(3)
  1577. #define TVGN_CHILD System::Byte(4)
  1578. #define TVGN_FIRSTVISIBLE System::Byte(5)
  1579. #define TVGN_NEXTVISIBLE System::Byte(6)
  1580. #define TVGN_PREVIOUSVISIBLE System::Byte(7)
  1581. #define TVGN_DROPHILITE System::Byte(8)
  1582. #define TVGN_CARET System::Byte(9)
  1583. #define TVM_SELECTITEM System::Smallint(4363)
  1584. #define TVM_GETITEMA System::Smallint(4364)
  1585. #define TVM_GETITEMW System::Smallint(4414)
  1586. #define TVM_GETITEM System::Smallint(4364)
  1587. #define TVM_SETITEMA System::Smallint(4365)
  1588. #define TVM_SETITEMW System::Smallint(4415)
  1589. #define TVM_SETITEM System::Smallint(4365)
  1590. #define TVM_EDITLABELA System::Smallint(4366)
  1591. #define TVM_EDITLABELW System::Smallint(4417)
  1592. #define TVM_EDITLABEL System::Smallint(4366)
  1593. #define TVM_GETEDITCONTROL System::Smallint(4367)
  1594. #define TVM_GETVISIBLECOUNT System::Smallint(4368)
  1595. #define TVM_HITTEST System::Smallint(4369)
  1596. #define TVHT_NOWHERE System::Byte(1)
  1597. #define TVHT_ONITEMICON System::Byte(2)
  1598. #define TVHT_ONITEMLABEL System::Byte(4)
  1599. #define TVHT_ONITEMINDENT System::Byte(8)
  1600. #define TVHT_ONITEMBUTTON System::Byte(16)
  1601. #define TVHT_ONITEMRIGHT System::Byte(32)
  1602. #define TVHT_ONITEMSTATEICON System::Byte(64)
  1603. #define TVHT_ONITEM System::Byte(70)
  1604. #define TVHT_ABOVE System::Smallint(256)
  1605. #define TVHT_BELOW System::Smallint(512)
  1606. #define TVHT_TORIGHT System::Smallint(1024)
  1607. #define TVHT_TOLEFT System::Smallint(2048)
  1608. #define TVM_CREATEDRAGIMAGE System::Smallint(4370)
  1609. #define TVM_SORTCHILDREN System::Smallint(4371)
  1610. #define TVM_ENSUREVISIBLE System::Smallint(4372)
  1611. #define TVM_SORTCHILDRENCB System::Smallint(4373)
  1612. #define TVM_ENDEDITLABELNOW System::Smallint(4374)
  1613. #define TVM_GETISEARCHSTRINGA System::Smallint(4375)
  1614. #define TVM_GETISEARCHSTRINGW System::Smallint(4416)
  1615. #define TVM_GETISEARCHSTRING System::Smallint(4375)
  1616. #define TVN_SELCHANGINGA System::Smallint(-401)
  1617. #define TVN_SELCHANGEDA System::Smallint(-402)
  1618. #define TVN_SELCHANGINGW System::Smallint(-450)
  1619. #define TVN_SELCHANGEDW System::Smallint(-451)
  1620. #define TVN_SELCHANGING System::Smallint(-401)
  1621. #define TVN_SELCHANGED System::Smallint(-402)
  1622. #define TVC_UNKNOWN System::Byte(0)
  1623. #define TVC_BYMOUSE System::Byte(1)
  1624. #define TVC_BYKEYBOARD System::Byte(2)
  1625. #define TVN_GETDISPINFOA System::Smallint(-403)
  1626. #define TVN_SETDISPINFOA System::Smallint(-404)
  1627. #define TVN_GETDISPINFOW System::Smallint(-452)
  1628. #define TVN_SETDISPINFOW System::Smallint(-453)
  1629. #define TVN_GETDISPINFO System::Smallint(-403)
  1630. #define TVN_SETDISPINFO System::Smallint(-404)
  1631. #define TVIF_DI_SETITEM System::Smallint(4096)
  1632. #define TVN_ITEMEXPANDINGA System::Smallint(-405)
  1633. #define TVN_ITEMEXPANDEDA System::Smallint(-406)
  1634. #define TVN_BEGINDRAGA System::Smallint(-407)
  1635. #define TVN_BEGINRDRAGA System::Smallint(-408)
  1636. #define TVN_DELETEITEMA System::Smallint(-409)
  1637. #define TVN_BEGINLABELEDITA System::Smallint(-410)
  1638. #define TVN_ENDLABELEDITA System::Smallint(-411)
  1639. #define TVN_ITEMEXPANDINGW System::Smallint(-454)
  1640. #define TVN_ITEMEXPANDEDW System::Smallint(-455)
  1641. #define TVN_BEGINDRAGW System::Smallint(-456)
  1642. #define TVN_BEGINRDRAGW System::Smallint(-457)
  1643. #define TVN_DELETEITEMW System::Smallint(-458)
  1644. #define TVN_BEGINLABELEDITW System::Smallint(-459)
  1645. #define TVN_ENDLABELEDITW System::Smallint(-460)
  1646. #define TVN_ITEMEXPANDING System::Smallint(-405)
  1647. #define TVN_ITEMEXPANDED System::Smallint(-406)
  1648. #define TVN_BEGINDRAG System::Smallint(-407)
  1649. #define TVN_BEGINRDRAG System::Smallint(-408)
  1650. #define TVN_DELETEITEM System::Smallint(-409)
  1651. #define TVN_BEGINLABELEDIT System::Smallint(-410)
  1652. #define TVN_ENDLABELEDIT System::Smallint(-411)
  1653. #define TVN_KEYDOWN System::Smallint(-412)
  1654. #define WC_TABCONTROL "SysTabControl32"
  1655. #define TCS_FORCEICONLEFT System::Byte(16)
  1656. #define TCS_FORCELABELLEFT System::Byte(32)
  1657. #define TCS_SHAREIMAGELISTS System::Byte(64)
  1658. #define TCS_TABS System::Byte(0)
  1659. #define TCS_BUTTONS System::Smallint(256)
  1660. #define TCS_SINGLELINE System::Byte(0)
  1661. #define TCS_MULTILINE System::Smallint(512)
  1662. #define TCS_RIGHTJUSTIFY System::Byte(0)
  1663. #define TCS_FIXEDWIDTH System::Smallint(1024)
  1664. #define TCS_RAGGEDRIGHT System::Smallint(2048)
  1665. #define TCS_FOCUSONBUTTONDOWN System::Smallint(4096)
  1666. #define TCS_OWNERDRAWFIXED System::Smallint(8192)
  1667. #define TCS_TOOLTIPS System::Smallint(16384)
  1668. #define TCS_FOCUSNEVER System::Integer(32768)
  1669. #define TCM_FIRST System::Smallint(4864)
  1670. #define TCM_GETBKCOLOR System::Smallint(4864)
  1671. #define TCM_SETBKCOLOR System::Smallint(4865)
  1672. #define TCM_GETIMAGELIST System::Smallint(4866)
  1673. #define TCM_SETIMAGELIST System::Smallint(4867)
  1674. #define TCM_GETITEMCOUNT System::Smallint(4868)
  1675. #define TCM_DELETEITEM System::Smallint(4872)
  1676. #define TCM_DELETEALLITEMS System::Smallint(4873)
  1677. #define TCM_GETITEMRECT System::Smallint(4874)
  1678. #define TCM_GETCURSEL System::Smallint(4875)
  1679. #define TCM_SETCURSEL System::Smallint(4876)
  1680. #define TCM_HITTEST System::Smallint(4877)
  1681. #define TCM_SETITEMEXTRA System::Smallint(4878)
  1682. #define TCM_ADJUSTRECT System::Smallint(4904)
  1683. #define TCM_SETITEMSIZE System::Smallint(4905)
  1684. #define TCM_REMOVEIMAGE System::Smallint(4906)
  1685. #define TCM_SETPADDING System::Smallint(4907)
  1686. #define TCM_GETROWCOUNT System::Smallint(4908)
  1687. #define TCM_GETTOOLTIPS System::Smallint(4909)
  1688. #define TCM_SETTOOLTIPS System::Smallint(4910)
  1689. #define TCM_GETCURFOCUS System::Smallint(4911)
  1690. #define TCM_SETCURFOCUS System::Smallint(4912)
  1691. #define TCIF_TEXT System::Byte(1)
  1692. #define TCIF_IMAGE System::Byte(2)
  1693. #define TCIF_PARAM System::Byte(8)
  1694. #define TCM_GETITEMA System::Smallint(4869)
  1695. #define TCM_SETITEMA System::Smallint(4870)
  1696. #define TCM_INSERTITEMA System::Smallint(4871)
  1697. #define TCM_GETITEMW System::Smallint(4924)
  1698. #define TCM_SETITEMW System::Smallint(4925)
  1699. #define TCM_INSERTITEMW System::Smallint(4926)
  1700. #define TCM_GETITEM System::Smallint(4869)
  1701. #define TCM_SETITEM System::Smallint(4870)
  1702. #define TCM_INSERTITEM System::Smallint(4871)
  1703. #define TCHT_NOWHERE System::Byte(1)
  1704. #define TCHT_ONITEMICON System::Byte(2)
  1705. #define TCHT_ONITEMLABEL System::Byte(4)
  1706. #define TCHT_ONITEM System::Byte(6)
  1707. #define TCN_KEYDOWN System::Smallint(-550)
  1708. #define TCN_SELCHANGE System::Smallint(-551)
  1709. #define TCN_SELCHANGING System::Smallint(-552)
  1710. #define ANIMATE_CLASS "SysAnimate32"
  1711. #define ACS_CENTER System::Byte(1)
  1712. #define ACS_TRANSPARENT System::Byte(2)
  1713. #define ACS_AUTOPLAY System::Byte(4)
  1714. #define ACM_OPENA System::Smallint(1124)
  1715. #define ACM_OPENW System::Smallint(1127)
  1716. #define ACM_OPEN System::Smallint(1124)
  1717. #define ACM_PLAY System::Smallint(1125)
  1718. #define ACM_STOP System::Smallint(1126)
  1719. #define ACN_START System::Byte(1)
  1720. #define ACN_STOP System::Byte(2)
  1721. extern "C" void __stdcall InitCommonControls(void);
  1722. extern "C" System::Pointer __stdcall CreatePropertySheetPageA(TPropSheetPageA &PSP);
  1723. extern "C" System::Pointer __stdcall CreatePropertySheetPageW(TPropSheetPageW &PSP);
  1724. extern "C" System::Pointer __stdcall CreatePropertySheetPage(TPropSheetPageA &PSP);
  1725. extern "C" System::LongBool __stdcall DestroyPropertySheetPage(System::Pointer hPSP);
  1726. extern "C" System::Integer __stdcall PropertySheetA(TPropSheetHeaderA &PSH);
  1727. extern "C" System::Integer __stdcall PropertySheetW(TPropSheetHeaderW &PSH);
  1728. extern "C" System::Integer __stdcall PropertySheet(TPropSheetHeaderA &PSH);
  1729. extern "C" System::Integer __stdcall ImageList_Create(System::Integer CX, System::Integer CY, System::Integer 
  1730.     Flags, System::Integer Initial, System::Integer Grow);
  1731. extern "C" System::LongBool __stdcall ImageList_Destroy(System::Integer ImageList);
  1732. extern "C" System::Integer __stdcall ImageList_GetImageCount(System::Integer ImageList);
  1733. extern "C" System::Integer __stdcall ImageList_Add(System::Integer ImageList, System::Integer Image, 
  1734.     System::Integer Mask);
  1735. extern "C" System::Integer __stdcall ImageList_ReplaceIcon(System::Integer ImageList, System::Integer 
  1736.     Index, System::Integer Icon);
  1737. extern "C" System::Longint __stdcall ImageList_SetBkColor(System::Integer ImageList, System::Longint 
  1738.     ClrBk);
  1739. extern "C" System::Longint __stdcall ImageList_GetBkColor(System::Integer ImageList);
  1740. extern "C" System::LongBool __stdcall ImageList_SetOverlayImage(System::Integer ImageList, System::Integer 
  1741.     Image, System::Integer Overlay);
  1742. extern System::Integer __fastcall ImageList_AddIcon(System::Integer ImageList, System::Integer Icon)
  1743.     ;
  1744. extern System::Integer __fastcall IndexToOverlayMask(System::Integer Index);
  1745. extern "C" System::LongBool __stdcall ImageList_Draw(System::Integer ImageList, System::Integer Index
  1746.     , System::Integer Dest, System::Integer X, System::Integer Y, System::Integer Style);
  1747. extern "C" System::LongBool __stdcall ImageList_Replace(System::Integer ImageList, System::Integer Index
  1748.     , System::Integer Image, System::Integer Mask);
  1749. extern "C" System::Integer __stdcall ImageList_AddMasked(System::Integer ImageList, System::Integer 
  1750.     Image, System::Longint Mask);
  1751. extern "C" System::LongBool __stdcall ImageList_DrawEx(System::Integer ImageList, System::Integer Index
  1752.     , System::Integer Dest, System::Integer X, System::Integer Y, System::Integer DX, System::Integer DY
  1753.     , System::Longint Bk, System::Longint Fg, System::Cardinal Style);
  1754. extern "C" System::LongBool __stdcall ImageList_Remove(System::Integer ImageList, System::Integer Index
  1755.     );
  1756. extern "C" System::Integer __stdcall ImageList_GetIcon(System::Integer ImageList, System::Integer Index
  1757.     , System::Cardinal Flags);
  1758. extern "C" System::Integer __stdcall ImageList_LoadImage(System::Integer Instance, System::PChar Bmp
  1759.     , System::Integer CX, System::Integer Grow, System::Longint Mask, System::Cardinal pType, System::Cardinal 
  1760.     Flags);
  1761. extern "C" System::LongBool __stdcall ImageList_BeginDrag(System::Integer ImageList, System::Integer 
  1762.     Track, System::Integer XHotSpot, System::Integer YHotSpot);
  1763. extern "C" System::LongBool __stdcall ImageList_EndDrag(void);
  1764. extern "C" System::LongBool __stdcall ImageList_DragEnter(System::Integer LockWnd, System::Integer X
  1765.     , System::Integer Y);
  1766. extern "C" System::LongBool __stdcall ImageList_DragLeave(System::Integer LockWnd);
  1767. extern "C" System::LongBool __stdcall ImageList_DragMove(System::Integer X, System::Integer Y);
  1768. extern "C" System::LongBool __stdcall ImageList_SetDragCursorImage(System::Integer ImageList, System::Integer 
  1769.     Drag, System::Integer XHotSpot, System::Integer YHotSpot);
  1770. extern "C" System::LongBool __stdcall ImageList_DragShowNolock(System::LongBool Show);
  1771. extern "C" System::Integer __stdcall ImageList_GetDragImage(Windows::PPoint Point, Windows::PPoint HotSpot
  1772.     );
  1773. extern void __fastcall ImageList_RemoveAll(System::Integer ImageList);
  1774. extern System::Integer __fastcall ImageList_ExtractIcon(System::Integer Instance, System::Integer ImageList
  1775.     , System::Integer Image);
  1776. extern System::Integer __fastcall ImageList_LoadBitmap(System::Integer Instance, System::PChar Bmp, 
  1777.     System::Integer CX, System::Integer Grow, System::Longint MasK);
  1778. extern "C" System::LongBool __stdcall ImageList_GetIconSize(System::Integer ImageList, System::Integer 
  1779.     &CX, System::Integer &CY);
  1780. extern "C" System::LongBool __stdcall ImageList_SetIconSize(System::Integer ImageList, System::Integer 
  1781.     CX, System::Integer CY);
  1782. extern "C" System::LongBool __stdcall ImageList_GetImageInfo(System::Integer ImageList, System::Integer 
  1783.     Index, TImageInfo &ImageInfo);
  1784. extern "C" System::LongBool __stdcall ImageList_Merge(System::Integer ImageList1, System::Integer Index1
  1785.     , System::Integer ImageList2, System::Integer Index2, System::Integer DX, System::Integer DY);
  1786. extern System::Integer __fastcall Header_GetItemCount(System::Integer Header);
  1787. extern System::Integer __fastcall Header_InsertItem(System::Integer Header, System::Integer Index, const 
  1788.     THDItemA &Item);
  1789. extern System::LongBool __fastcall Header_DeleteItem(System::Integer Header, System::Integer Index);
  1790.     
  1791. extern System::LongBool __fastcall Header_GetItem(System::Integer Header, System::Integer Index, THDItemA 
  1792.     &Item);
  1793. extern System::LongBool __fastcall Header_SetItem(System::Integer Header, System::Integer Index, const 
  1794.     THDItemA &Item);
  1795. extern System::LongBool __fastcall Header_Layout(System::Integer Header, PHDLayout Layout);
  1796. extern "C" System::Integer __stdcall CreateToolBarEx(System::Integer Wnd, System::Longint ws, System::Integer 
  1797.     ID, System::Integer Bitmaps, System::Integer BMInst, System::Cardinal BMID, PTBButton Buttons, System::Integer 
  1798.     NumButtons, System::Integer dxButton, System::Integer dyButton, System::Integer dxBitmap, System::Integer 
  1799.     dyBitmap, System::Integer StructSize);
  1800. extern "C" System::Integer __stdcall CreateMappedBitmap(System::Integer Instance, System::Integer Bitmap
  1801.     , System::Integer Flags, PColorMap ColorMap, System::Integer NumMaps);
  1802. extern "C" void __stdcall DrawStatusTextA(System::Integer hDC, Windows::PRect lprc, System::PChar pzsText
  1803.     , System::Integer uFlags);
  1804. extern "C" void __stdcall DrawStatusTextW(System::Integer hDC, Windows::PRect lprc, System::PWideChar 
  1805.     pzsText, System::Integer uFlags);
  1806. extern "C" void __stdcall DrawStatusText(System::Integer hDC, Windows::PRect lprc, System::PChar pzsText
  1807.     , System::Integer uFlags);
  1808. extern "C" System::Integer __stdcall CreateStatusWindowA(System::Longint Style, System::PChar lpszText
  1809.     , System::Integer hwndParent, System::Integer wID);
  1810. extern "C" System::Integer __stdcall CreateStatusWindowW(System::Longint Style, System::PWideChar lpszText
  1811.     , System::Integer hwndParent, System::Integer wID);
  1812. extern "C" System::Integer __stdcall CreateStatusWindow(System::Longint Style, System::PChar lpszText
  1813.     , System::Integer hwndParent, System::Integer wID);
  1814. extern "C" void __stdcall MenuHelp(System::Integer Msg, System::Longint wParam, System::Longint lParam
  1815.     , System::Integer hMainMenu, System::Integer hInst, System::Integer hwndStatus, Windows::PUINT lpwIDs
  1816.     );
  1817. extern "C" System::LongBool __stdcall ShowHideMenuCtl(System::Integer hWnd, System::Integer uFlags, 
  1818.     Windows::PINT lpInfo);
  1819. extern "C" void __stdcall GetEffectiveClientRect(System::Integer hWnd, Windows::PRect lprc, Windows::PINT 
  1820.     lpInfo);
  1821. extern "C" void __stdcall MakeDragList(System::Integer hLB);
  1822. extern "C" void __stdcall DrawInsert(System::Integer hwndParent, System::Integer hLB, System::Integer 
  1823.     nItem);
  1824. extern "C" System::Integer __stdcall LBItemFromPt(System::Integer hLB, const Windows::TPoint &pt, System::LongBool 
  1825.     bAutoScroll);
  1826. extern "C" System::Integer __stdcall CreateUpDownControl(System::Longint dwStyle, System::Integer X, 
  1827.     System::Integer Y, System::Integer CX, System::Integer CY, System::Integer hParent, System::Integer 
  1828.     nID, System::Integer hInst, System::Integer hBuddy, System::Integer nUpper, System::Integer nLower, 
  1829.     System::Integer nPos);
  1830. extern System::Longint __fastcall ListView_GetBkColor(System::Integer hWnd);
  1831. extern System::LongBool __fastcall ListView_SetBkColor(System::Integer hWnd, System::Longint clrBk);
  1832.     
  1833. extern System::Integer __fastcall ListView_GetImageList(System::Integer hWnd, System::Integer iImageList
  1834.     );
  1835. extern System::Integer __fastcall ListView_SetImageList(System::Integer hWnd, System::Integer himl, 
  1836.     System::Integer iImageList);
  1837. extern System::Integer __fastcall ListView_GetItemCount(System::Integer hWnd);
  1838. extern System::Longint __fastcall IndexToStateImageMask(System::Longint I);
  1839. extern System::LongBool __fastcall ListView_GetItemA(System::Integer hWnd, TLVItemA &pItem);
  1840. extern System::LongBool __fastcall ListView_GetItemW(System::Integer hWnd, TLVItemW &pItem);
  1841. extern System::LongBool __fastcall ListView_GetItem(System::Integer hWnd, TLVItemA &pItem);
  1842. extern System::LongBool __fastcall ListView_SetItemA(System::Integer hWnd, const TLVItemA &pItem);
  1843. extern System::LongBool __fastcall ListView_SetItemW(System::Integer hWnd, const TLVItemW &pItem);
  1844. extern System::LongBool __fastcall ListView_SetItem(System::Integer hWnd, const TLVItemA &pItem);
  1845. extern System::Integer __fastcall ListView_InsertItemA(System::Integer hWnd, const TLVItemA &pItem);
  1846.     
  1847. extern System::Integer __fastcall ListView_InsertItemW(System::Integer hWnd, const TLVItemW &pItem);
  1848.     
  1849. extern System::Integer __fastcall ListView_InsertItem(System::Integer hWnd, const TLVItemA &pItem);
  1850. extern System::LongBool __fastcall ListView_DeleteItem(System::Integer hWnd, System::Integer i);
  1851. extern System::LongBool __fastcall ListView_DeleteAllItems(System::Integer hWnd);
  1852. extern System::Integer __fastcall ListView_GetCallbackMask(System::Integer hWnd);
  1853. extern System::LongBool __fastcall ListView_SetCallbackMask(System::Integer hWnd, System::Integer mask
  1854.     );
  1855. extern System::Integer __fastcall ListView_GetNextItem(System::Integer hWnd, System::Integer iStart, 
  1856.     System::Integer Flags);
  1857. extern System::Integer __fastcall ListView_FindItemA(System::Integer hWnd, System::Integer iStart, const 
  1858.     TLVFindInfoA &plvfi);
  1859. extern System::Integer __fastcall ListView_FindItemW(System::Integer hWnd, System::Integer iStart, const 
  1860.     TLVFindInfoW &plvfi);
  1861. extern System::Integer __fastcall ListView_FindItem(System::Integer hWnd, System::Integer iStart, const 
  1862.     TLVFindInfoA &plvfi);
  1863. extern System::LongBool __fastcall ListView_GetItemRect(System::Integer hWnd, System::Integer i, Windows::TRect 
  1864.     &prc, System::Integer Code);
  1865. extern System::LongBool __fastcall ListView_SetItemPosition(System::Integer hWnd, System::Integer i, 
  1866.     System::Integer x, System::Integer y);
  1867. extern System::LongBool __fastcall ListView_GetItemPosition(System::Integer hwndLV, System::Integer 
  1868.     i, Windows::TPoint &ppt);
  1869. extern System::Integer __fastcall ListView_GetStringWidthA(System::Integer hwndLV, System::PChar psz
  1870.     );
  1871. extern System::Integer __fastcall ListView_GetStringWidthW(System::Integer hwndLV, System::PWideChar 
  1872.     psz);
  1873. extern System::Integer __fastcall ListView_GetStringWidth(System::Integer hwndLV, System::PChar psz)
  1874.     ;
  1875. extern System::Integer __fastcall ListView_HitTest(System::Integer hwndLV, TLVHitTestInfo &pinfo);
  1876. extern System::LongBool __fastcall ListView_EnsureVisible(System::Integer hwndLV, System::Integer i, 
  1877.     System::LongBool fPartialOK);
  1878. extern System::LongBool __fastcall ListView_Scroll(System::Integer hwndLV, System::Integer DX, System::Integer 
  1879.     DY);
  1880. extern System::LongBool __fastcall ListView_RedrawItems(System::Integer hwndLV, System::Integer iFirst
  1881.     , System::Integer iLast);
  1882. extern System::LongBool __fastcall ListView_Arrange(System::Integer hwndLV, System::Integer Code);
  1883. extern System::Integer __fastcall ListView_EditLabelA(System::Integer hwndLV, System::Integer i);
  1884. extern System::Integer __fastcall ListView_EditLabelW(System::Integer hwndLV, System::Integer i);
  1885. extern System::Integer __fastcall ListView_EditLabel(System::Integer hwndLV, System::Integer i);
  1886. extern System::Integer __fastcall ListView_GetEditControl(System::Integer hwndLV);
  1887. extern System::LongBool __fastcall ListView_GetColumnA(System::Integer hwnd, System::Integer iCol, TLVColumnA 
  1888.     &pcol);
  1889. extern System::LongBool __fastcall ListView_GetColumnW(System::Integer hwnd, System::Integer iCol, TLVColumnW 
  1890.     &pcol);
  1891. extern System::LongBool __fastcall ListView_GetColumn(System::Integer hwnd, System::Integer iCol, TLVColumnA 
  1892.     &pcol);
  1893. extern System::LongBool __fastcall ListView_SetColumnA(System::Integer hwnd, System::Integer iCol, const 
  1894.     TLVColumnA &pcol);
  1895. extern System::LongBool __fastcall ListView_SetColumnW(System::Integer hwnd, System::Integer iCol, const 
  1896.     TLVColumnW &pcol);
  1897. extern System::LongBool __fastcall ListView_SetColumn(System::Integer hwnd, System::Integer iCol, const 
  1898.     TLVColumnA &pcol);
  1899. extern System::Integer __fastcall ListView_InsertColumnA(System::Integer hwnd, System::Integer iCol, 
  1900.     const TLVColumnA &pcol);
  1901. extern System::Integer __fastcall ListView_InsertColumnW(System::Integer hwnd, System::Integer iCol, 
  1902.     const TLVColumnW &pcol);
  1903. extern System::Integer __fastcall ListView_InsertColumn(System::Integer hwnd, System::Integer iCol, 
  1904.     const TLVColumnA &pcol);
  1905. extern System::LongBool __fastcall ListView_DeleteColumn(System::Integer hwnd, System::Integer iCol)
  1906.     ;
  1907. extern System::Integer __fastcall ListView_GetColumnWidth(System::Integer hwnd, System::Integer iCol
  1908.     );
  1909. extern System::LongBool __fastcall ListView_SetColumnWidth(System::Integer hwnd, System::Integer iCol
  1910.     , System::Integer cx);
  1911. extern System::Integer __fastcall ListView_CreateDragImage(System::Integer hwnd, System::Integer i, 
  1912.     const Windows::TPoint &lpptUpLeft);
  1913. extern System::LongBool __fastcall ListView_GetViewRect(System::Integer hwnd, Windows::TRect &prc);
  1914. extern System::Longint __fastcall ListView_GetTextColor(System::Integer hwnd);
  1915. extern System::LongBool __fastcall ListView_SetTextColor(System::Integer hwnd, System::Longint clrText
  1916.     );
  1917. extern System::Longint __fastcall ListView_GetTextBkColor(System::Integer hwnd);
  1918. extern System::LongBool __fastcall ListView_SetTextBkColor(System::Integer hwnd, System::Longint clrTextBk
  1919.     );
  1920. extern System::Integer __fastcall ListView_GetTopIndex(System::Integer hwndLV);
  1921. extern System::Integer __fastcall ListView_GetCountPerPage(System::Integer hwndLV);
  1922. extern System::LongBool __fastcall ListView_GetOrigin(System::Integer hwndLV, Windows::TPoint &ppt);
  1923.     
  1924. extern System::LongBool __fastcall ListView_Update(System::Integer hwndLV, System::Integer i);
  1925. extern System::LongBool __fastcall ListView_SetItemState(System::Integer hwndLV, System::Integer i, 
  1926.     System::Integer data, System::Integer mask);
  1927. extern System::Integer __fastcall ListView_GetItemState(System::Integer hwndLV, System::Integer i, System::Integer 
  1928.     mask);
  1929. extern System::Integer __fastcall ListView_GetItemTextA(System::Integer hwndLV, System::Integer i, System::Integer 
  1930.     iSubItem, System::PChar pszText, System::Integer cchTextMax);
  1931. extern System::Integer __fastcall ListView_GetItemTextW(System::Integer hwndLV, System::Integer i, System::Integer 
  1932.     iSubItem, System::PWideChar pszText, System::Integer cchTextMax);
  1933. extern System::Integer __fastcall ListView_GetItemText(System::Integer hwndLV, System::Integer i, System::Integer 
  1934.     iSubItem, System::PChar pszText, System::Integer cchTextMax);
  1935. extern System::LongBool __fastcall ListView_SetItemTextA(System::Integer hwndLV, System::Integer i, 
  1936.     System::Integer iSubItem, System::PChar pszText);
  1937. extern System::LongBool __fastcall ListView_SetItemTextW(System::Integer hwndLV, System::Integer i, 
  1938.     System::Integer iSubItem, System::PWideChar pszText);
  1939. extern System::LongBool __fastcall ListView_SetItemText(System::Integer hwndLV, System::Integer i, System::Integer 
  1940.     iSubItem, System::PChar pszText);
  1941. extern void __fastcall ListView_SetItemCount(System::Integer hwndLV, System::Integer cItems);
  1942. extern System::LongBool __fastcall ListView_SortItems(System::Integer hwndLV, TLVCompare pfnCompare, 
  1943.     System::Longint lPrm);
  1944. extern void __fastcall ListView_SetItemPosition32(System::Integer hwndLV, System::Integer i, System::Integer 
  1945.     x, System::Integer y);
  1946. extern System::Integer __fastcall ListView_GetSelectedCount(System::Integer hwndLV);
  1947. extern System::Longint __fastcall ListView_GetItemSpacing(System::Integer hwndLV, System::Integer fSmall
  1948.     );
  1949. extern System::LongBool __fastcall ListView_GetISearchStringA(System::Integer hwndLV, System::PChar 
  1950.     lpsz);
  1951. extern System::LongBool __fastcall ListView_GetISearchStringW(System::Integer hwndLV, System::PWideChar 
  1952.     lpsz);
  1953. extern System::LongBool __fastcall ListView_GetISearchString(System::Integer hwndLV, System::PChar lpsz
  1954.     );
  1955. extern HTreeItem __fastcall TreeView_InsertItem(System::Integer hwnd, const TTVInsertStructA &lpis);
  1956.     
  1957. extern System::LongBool __fastcall TreeView_DeleteItem(System::Integer hwnd, HTreeItem hitem);
  1958. extern System::LongBool __fastcall TreeView_DeleteAllItems(System::Integer hwnd);
  1959. extern System::LongBool __fastcall TreeView_Expand(System::Integer hwnd, HTreeItem hitem, System::Integer 
  1960.     code);
  1961. extern System::LongBool __fastcall TreeView_GetItemRect(System::Integer hwnd, HTreeItem hitem, Windows::TRect 
  1962.     &prc, System::LongBool code);
  1963. extern System::Integer __fastcall TreeView_GetCount(System::Integer hwnd);
  1964. extern System::Integer __fastcall TreeView_GetIndent(System::Integer hwnd);
  1965. extern System::LongBool __fastcall TreeView_SetIndent(System::Integer hwnd, System::Integer indent);
  1966.     
  1967. extern System::Integer __fastcall TreeView_GetImageList(System::Integer hwnd, System::Integer iImage
  1968.     );
  1969. extern System::Integer __fastcall TreeView_SetImageList(System::Integer hwnd, System::Integer himl, 
  1970.     System::Integer iImage);
  1971. extern HTreeItem __fastcall TreeView_GetNextItem(System::Integer hwnd, HTreeItem hitem, System::Integer 
  1972.     code);
  1973. extern HTreeItem __fastcall TreeView_GetChild(System::Integer hwnd, HTreeItem hitem);
  1974. extern HTreeItem __fastcall TreeView_GetNextSibling(System::Integer hwnd, HTreeItem hitem);
  1975. extern HTreeItem __fastcall TreeView_GetPrevSibling(System::Integer hwnd, HTreeItem hitem);
  1976. extern HTreeItem __fastcall TreeView_GetParent(System::Integer hwnd, HTreeItem hitem);
  1977. extern HTreeItem __fastcall TreeView_GetFirstVisible(System::Integer hwnd);
  1978. extern HTreeItem __fastcall TreeView_GetNextVisible(System::Integer hwnd, HTreeItem hitem);
  1979. extern HTreeItem __fastcall TreeView_GetPrevVisible(System::Integer hwnd, HTreeItem hitem);
  1980. extern HTreeItem __fastcall TreeView_GetSelection(System::Integer hwnd);
  1981. extern HTreeItem __fastcall TreeView_GetDropHilite(System::Integer hwnd);
  1982. extern HTreeItem __fastcall TreeView_GetRoot(System::Integer hwnd);
  1983. extern HTreeItem __fastcall TreeView_Select(System::Integer hwnd, HTreeItem hitem, System::Integer code
  1984.     );
  1985. extern HTreeItem __fastcall TreeView_SelectItem(System::Integer hwnd, HTreeItem hitem);
  1986. extern HTreeItem __fastcall TreeView_SelectDropTarget(System::Integer hwnd, HTreeItem hitem);
  1987. extern HTreeItem __fastcall TreeView_SelectSetFirstVisible(System::Integer hwnd, HTreeItem hitem);
  1988. extern System::LongBool __fastcall TreeView_GetItemA(System::Integer hwnd, TTVItemA &pitem);
  1989. extern System::LongBool __fastcall TreeView_GetItemW(System::Integer hwnd, TTVItemW &pitem);
  1990. extern System::LongBool __fastcall TreeView_GetItem(System::Integer hwnd, TTVItemA &pitem);
  1991. extern System::LongBool __fastcall TreeView_SetItemA(System::Integer hwnd, const TTVItemA &pitem);
  1992. extern System::LongBool __fastcall TreeView_SetItemW(System::Integer hwnd, const TTVItemW &pitem);
  1993. extern System::LongBool __fastcall TreeView_SetItem(System::Integer hwnd, const TTVItemA &pitem);
  1994. extern System::Integer __fastcall TreeView_EditLabelA(System::Integer hwnd, HTreeItem hitem);
  1995. extern System::Integer __fastcall TreeView_EditLabelW(System::Integer hwnd, HTreeItem hitem);
  1996. extern System::Integer __fastcall TreeView_EditLabel(System::Integer hwnd, HTreeItem hitem);
  1997. extern System::Integer __fastcall TreeView_GetEditControl(System::Integer hwnd);
  1998. extern System::Integer __fastcall TreeView_GetVisibleCount(System::Integer hwnd);
  1999. extern HTreeItem __fastcall TreeView_HitTest(System::Integer hwnd, TTVHitTestInfo &lpht);
  2000. extern System::Integer __fastcall TreeView_CreateDragImage(System::Integer hwnd, HTreeItem hitem);
  2001. extern System::LongBool __fastcall TreeView_SortChildren(System::Integer hwnd, HTreeItem hitem, System::Integer 
  2002.     recurse);
  2003. extern System::LongBool __fastcall TreeView_EnsureVisible(System::Integer hwnd, HTreeItem hitem);
  2004. extern System::LongBool __fastcall TreeView_SortChildrenCB(System::Integer hwnd, const TTVSortCB &psort
  2005.     , System::Integer recurse);
  2006. extern System::LongBool __fastcall TreeView_EndEditLabelNow(System::Integer hwnd, System::LongBool fCancel
  2007.     );
  2008. extern System::LongBool __fastcall TreeView_GetISearchStringA(System::Integer hwndTV, System::PChar 
  2009.     lpsz);
  2010. extern System::LongBool __fastcall TreeView_GetISearchStringW(System::Integer hwndTV, System::PWideChar 
  2011.     lpsz);
  2012. extern System::LongBool __fastcall TreeView_GetISearchString(System::Integer hwndTV, System::PChar lpsz
  2013.     );
  2014.  
  2015. #if defined(UNICODE)
  2016. inline System::Integer __stdcall CreateStatusWindow(System::Longint Style, System::PWideChar lpszText
  2017.     , System::Integer hwndParent, System::Integer wID)
  2018. {
  2019.     return CreateStatusWindowW(Style, lpszText, hwndParent, wID);
  2020. }
  2021. #else
  2022. inline System::Integer __stdcall CreateStatusWindow(System::Longint Style, System::PChar lpszText, System::Integer 
  2023.     hwndParent, System::Integer wID)
  2024. {
  2025.     return CreateStatusWindowA(Style, lpszText, hwndParent, wID);
  2026. }
  2027. #endif
  2028.  
  2029.  
  2030. #if defined(UNICODE)
  2031. inline void __stdcall DrawStatusText(System::Integer hDC, Windows::PRect lprc, System::PWideChar pzsText
  2032.     , System::Integer uFlags)
  2033. {
  2034.     DrawStatusTextW(hDC, lprc, pzsText, uFlags);
  2035. }
  2036. #else
  2037. inline void __stdcall DrawStatusText(System::Integer hDC, Windows::PRect lprc, System::PChar pzsText
  2038.     , System::Integer uFlags)
  2039. {
  2040.     DrawStatusTextA(hDC, lprc, pzsText, uFlags);
  2041. }
  2042. #endif
  2043.  
  2044.  
  2045. #if defined(UNICODE)
  2046. inline System::Integer __stdcall PropertySheet(TPropSheetHeaderW &PSH)
  2047. {
  2048.     return PropertySheetW(PSH);
  2049. }
  2050. #else
  2051. inline System::Integer __stdcall PropertySheet(TPropSheetHeaderA &PSH)
  2052. {
  2053.     return PropertySheetA(PSH);
  2054. }
  2055. #endif
  2056.  
  2057.  
  2058. #if defined(UNICODE)
  2059. inline System::Pointer __stdcall CreatePropertySheetPage(TPropSheetPageW &PSP)
  2060. {
  2061.     return CreatePropertySheetPageW(PSP);
  2062. }
  2063. #else
  2064. inline System::Pointer __stdcall CreatePropertySheetPage(TPropSheetPageA &PSP)
  2065. {
  2066.     return CreatePropertySheetPageA(PSP);
  2067. }
  2068. #endif
  2069.  
  2070.  
  2071. }    /* namespace Commctrl */
  2072. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  2073. using namespace Commctrl;
  2074. #endif
  2075. //-- end unit ----------------------------------------------------------------
  2076. #endif    // CommCtrl
  2077.