home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / MESSAGES.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  14KB  |  1,069 lines

  1. //----------------------------------------------------------------------------
  2. // Messages.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: Messages.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef MessagesHPP
  6. #define MessagesHPP
  7. //----------------------------------------------------------------------------
  8. #include <Windows.hpp>
  9. #include <System.hpp>
  10. #pragma warn -par
  11. #pragma warn -hid 
  12. #pragma warn -inl
  13.  
  14. namespace Messages
  15. {
  16. //-- type declarations -------------------------------------------------------
  17. struct TMessage;
  18. typedef TMessage *PMessage;
  19.  
  20. struct TMessage
  21. {
  22.     Cardinal Msg;
  23.     union
  24.     {
  25.         struct 
  26.         {
  27.             Word WParamLo;
  28.             Word WParamHi;
  29.             Word LParamLo;
  30.             Word LParamHi;
  31.             Word ResultLo;
  32.             Word ResultHi;
  33.             
  34.         };
  35.         struct 
  36.         {
  37.             long WParam;
  38.             long LParam;
  39.             long Result;
  40.             
  41.         };
  42.         
  43.     };
  44. } ;
  45.  
  46. struct TWMNoParams
  47. {
  48.     Cardinal Msg;
  49.     Word Unused[4];
  50.     long Result;
  51. } ;
  52.  
  53. struct TWMKey
  54. {
  55.     Cardinal Msg;
  56.     Word CharCode;
  57.     Word Unused;
  58.     long KeyData;
  59.     long Result;
  60. } ;
  61.  
  62. struct TWMMouse
  63. {
  64.     Cardinal Msg;
  65.     long Keys;
  66.     union
  67.     {
  68.         struct 
  69.         {
  70.             Windows::TSmallPoint Pos;
  71.             long Result;
  72.             
  73.         };
  74.         struct 
  75.         {
  76.             short XPos;
  77.             short YPos;
  78.             
  79.         };
  80.         
  81.     };
  82. } ;
  83.  
  84. struct TWMWindowPosMsg
  85. {
  86.     Cardinal Msg;
  87.     int Unused;
  88.     WINDOWPOS *WindowPos;
  89.     long Result;
  90. } ;
  91.  
  92. struct TWMScroll
  93. {
  94.     Cardinal Msg;
  95.     short ScrollCode;
  96.     short Pos;
  97.     HWND ScrollBar;
  98.     long Result;
  99. } ;
  100.  
  101. struct TWMActivate
  102. {
  103.     Cardinal Msg;
  104.     Word Active;
  105.     Word Minimized;
  106.     HWND ActiveWindow;
  107.     long Result;
  108. } ;
  109.  
  110. struct TWMActivateApp
  111. {
  112.     Cardinal Msg;
  113.     DWord Active;
  114.     long ThreadId;
  115.     long Result;
  116. } ;
  117.  
  118. struct TWMAskCBFormatName
  119. {
  120.     Cardinal Msg;
  121.     Word NameLen;
  122.     Word Unused;
  123.     char *FormatName;
  124.     long Result;
  125. } ;
  126.  
  127. typedef TWMNoParams  TWMCancelMode;
  128.  
  129. struct TWMChangeCBChain
  130. {
  131.     Cardinal Msg;
  132.     HWND Remove;
  133.     HWND Next;
  134.     long Result;
  135. } ;
  136.  
  137. typedef TWMKey  TWMChar;
  138.  
  139. struct TWMCharToItem
  140. {
  141.     Cardinal Msg;
  142.     Word Key;
  143.     Word CaretPos;
  144.     HWND ListBox;
  145.     long Result;
  146. } ;
  147.  
  148. typedef TWMNoParams  TWMChildActivate;
  149.  
  150. struct TWMChooseFont_GetLogFont
  151. {
  152.     Cardinal Msg;
  153.     long Unused;
  154.     LOGFONTA *LogFont;
  155.     long Result;
  156. } ;
  157.  
  158. typedef TWMNoParams  TWMClear;
  159.  
  160. typedef TWMNoParams  TWMClose;
  161.  
  162. struct TWMCommand
  163. {
  164.     Cardinal Msg;
  165.     Word ItemID;
  166.     Word NotifyCode;
  167.     HWND Ctl;
  168.     long Result;
  169. } ;
  170.  
  171. struct TWMCompacting
  172. {
  173.     Cardinal Msg;
  174.     long CompactRatio;
  175.     long Unused;
  176.     long Result;
  177. } ;
  178.  
  179. struct TWMCompareItem
  180. {
  181.     Cardinal Msg;
  182.     HWND Ctl;
  183.     COMPAREITEMSTRUCT *CompareItemStruct;
  184.     long Result;
  185. } ;
  186.  
  187. typedef TWMNoParams  TWMCopy;
  188.  
  189. struct TWMCopyData
  190. {
  191.     Cardinal Msg;
  192.     HWND From;
  193.     COPYDATASTRUCT *CopyDataStruct;
  194.     long Result;
  195. } ;
  196.  
  197. struct TWMCreate
  198. {
  199.     Cardinal Msg;
  200.     int Unused;
  201.     CREATESTRUCTA *CreateStruct;
  202.     long Result;
  203. } ;
  204.  
  205. struct TWMCtlColor
  206. {
  207.     Cardinal Msg;
  208.     HDC ChildDC;
  209.     HWND ChildWnd;
  210.     long Result;
  211. } ;
  212.  
  213. typedef TWMCtlColor  TWMCtlColorBtn;
  214.  
  215. typedef TWMCtlColor  TWMCtlColorDlg;
  216.  
  217. typedef TWMCtlColor  TWMCtlColorEdit;
  218.  
  219. typedef TWMCtlColor  TWMCtlColorListbox;
  220.  
  221. typedef TWMCtlColor  TWMCtlColorMsgbox;
  222.  
  223. typedef TWMCtlColor  TWMCtlColorScrollbar;
  224.  
  225. typedef TWMCtlColor  TWMCtlColorStatic;
  226.  
  227. typedef TWMNoParams  TWMCut;
  228.  
  229. struct TWMDDE_Ack
  230. {
  231.     Cardinal Msg;
  232.     HWND PostingApp;
  233.     union
  234.     {
  235.         long PackedVal;
  236.         struct 
  237.         {
  238.             Word App;
  239.             Word Topic;
  240.             long Result;
  241.             
  242.         };
  243.         
  244.     };
  245. } ;
  246.  
  247. struct TWMDDE_Advise
  248. {
  249.     Cardinal Msg;
  250.     HWND PostingApp;
  251.     long PackedVal;
  252.     long Result;
  253. } ;
  254.  
  255. struct TWMDDE_Data
  256. {
  257.     Cardinal Msg;
  258.     HWND PostingApp;
  259.     long PackedVal;
  260.     long Result;
  261. } ;
  262.  
  263. struct TWMDDE_Execute
  264. {
  265.     Cardinal Msg;
  266.     HWND PostingApp;
  267.     int Commands;
  268.     long Result;
  269. } ;
  270.  
  271. struct TWMDDE_Initiate
  272. {
  273.     Cardinal Msg;
  274.     HWND PostingApp;
  275.     Word App;
  276.     Word Topic;
  277.     long Result;
  278. } ;
  279.  
  280. struct TWMDDE_Poke
  281. {
  282.     Cardinal Msg;
  283.     HWND PostingApp;
  284.     long PackedVal;
  285.     long Result;
  286. } ;
  287.  
  288. struct TWMDDE_Request
  289. {
  290.     Cardinal Msg;
  291.     HWND PostingApp;
  292.     Word Format;
  293.     Word Item;
  294.     long Result;
  295. } ;
  296.  
  297. struct TWMDDE_Terminate
  298. {
  299.     Cardinal Msg;
  300.     HWND PostingApp;
  301.     long Unused;
  302.     long Result;
  303. } ;
  304.  
  305. struct TWMDDE_Unadvise
  306. {
  307.     Cardinal Msg;
  308.     HWND PostingApp;
  309.     Word Format;
  310.     Word Item;
  311.     long Result;
  312. } ;
  313.  
  314. typedef TWMKey  TWMDeadChar;
  315.  
  316. struct TWMDeleteItem
  317. {
  318.     Cardinal Msg;
  319.     HWND Ctl;
  320.     DELETEITEMSTRUCT *DeleteItemStruct;
  321.     long Result;
  322. } ;
  323.  
  324. typedef TWMNoParams  TWMDestroy;
  325.  
  326. typedef TWMNoParams  TWMDestroyClipboard;
  327.  
  328. struct TWMDevModeChange
  329. {
  330.     Cardinal Msg;
  331.     int Unused;
  332.     char *Device;
  333.     long Result;
  334. } ;
  335.  
  336. typedef TWMNoParams  TWMDrawClipboard;
  337.  
  338. struct TWMDrawItem
  339. {
  340.     Cardinal Msg;
  341.     HWND Ctl;
  342.     DRAWITEMSTRUCT *DrawItemStruct;
  343.     long Result;
  344. } ;
  345.  
  346. struct TWMDropFiles
  347. {
  348.     Cardinal Msg;
  349.     int Drop;
  350.     long Unused;
  351.     long Result;
  352. } ;
  353.  
  354. struct TWMEnable
  355. {
  356.     Cardinal Msg;
  357.     DWord Enabled;
  358.     long Unused;
  359.     long Result;
  360. } ;
  361.  
  362. struct TWMEndSession
  363. {
  364.     Cardinal Msg;
  365.     DWord EndSession;
  366.     long Unused;
  367.     long Result;
  368. } ;
  369.  
  370. struct TWMEnterIdle
  371. {
  372.     Cardinal Msg;
  373.     long Source;
  374.     HWND IdleWnd;
  375.     long Result;
  376. } ;
  377.  
  378. struct TWMEnterMenuLoop
  379. {
  380.     Cardinal Msg;
  381.     DWord IsTrackPopupMenu;
  382.     long Unused;
  383.     long Result;
  384. } ;
  385.  
  386. typedef TWMEnterMenuLoop  TWMExitMenuLoop;
  387.  
  388. struct TWMEraseBkgnd
  389. {
  390.     Cardinal Msg;
  391.     HDC DC;
  392.     long Unused;
  393.     long Result;
  394. } ;
  395.  
  396. typedef TWMNoParams  TWMFontChange;
  397.  
  398. typedef TWMNoParams  TWMGetDlgCode;
  399.  
  400. typedef TWMNoParams  TWMGetFont;
  401.  
  402. struct TWMGetIcon
  403. {
  404.     Cardinal Msg;
  405.     DWord BigIcon;
  406.     long Unused;
  407.     long Result;
  408. } ;
  409.  
  410. typedef TWMNoParams  TWMGetHotKey;
  411.  
  412. struct TWMGetMinMaxInfo
  413. {
  414.     Cardinal Msg;
  415.     int Unused;
  416.     MINMAXINFO *MinMaxInfo;
  417.     long Result;
  418. } ;
  419.  
  420. struct TWMGetText
  421. {
  422.     Cardinal Msg;
  423.     int TextMax;
  424.     char *Text;
  425.     long Result;
  426. } ;
  427.  
  428. typedef TWMNoParams  TWMGetTextLength;
  429.  
  430. struct TWMHotKey
  431. {
  432.     Cardinal Msg;
  433.     long HotKey;
  434.     long Unused;
  435.     long Result;
  436. } ;
  437.  
  438. typedef TWMScroll  TWMHScroll;
  439.  
  440. struct TWMHScrollClipboard
  441. {
  442.     Cardinal Msg;
  443.     HWND Viewer;
  444.     Word ScrollCode;
  445.     Word Pos;
  446.     long Result;
  447. } ;
  448.  
  449. typedef TWMEraseBkgnd  TWMIconEraseBkgnd;
  450.  
  451. struct TWMInitDialog
  452. {
  453.     Cardinal Msg;
  454.     HWND Focus;
  455.     long InitParam;
  456.     long Result;
  457. } ;
  458.  
  459. struct TWMInitMenu
  460. {
  461.     Cardinal Msg;
  462.     HMENU Menu;
  463.     long Unused;
  464.     long Result;
  465. } ;
  466.  
  467. struct TWMInitMenuPopup
  468. {
  469.     Cardinal Msg;
  470.     HMENU MenuPopup;
  471.     short Pos;
  472.     Word SystemMenu;
  473.     long Result;
  474. } ;
  475.  
  476. typedef TWMKey  TWMKeyDown;
  477.  
  478. typedef TWMKey  TWMKeyUp;
  479.  
  480. struct TWMKillFocus
  481. {
  482.     Cardinal Msg;
  483.     HWND FocusedWnd;
  484.     long Unused;
  485.     long Result;
  486. } ;
  487.  
  488. typedef TWMMouse  TWMLButtonDblClk;
  489.  
  490. typedef TWMMouse  TWMLButtonDown;
  491.  
  492. typedef TWMMouse  TWMLButtonUp;
  493.  
  494. typedef TWMMouse  TWMMButtonDblClk;
  495.  
  496. typedef TWMMouse  TWMMButtonDown;
  497.  
  498. typedef TWMMouse  TWMMButtonUp;
  499.  
  500. struct TWMMDIActivate
  501. {
  502.     Cardinal Msg;
  503.     union
  504.     {
  505.         struct 
  506.         {
  507.             HWND DeactiveWnd;
  508.             HWND ActiveWnd;
  509.             long Result;
  510.             
  511.         };
  512.         HWND ChildWnd;
  513.         
  514.     };
  515. } ;
  516.  
  517. struct TWMMDICascade
  518. {
  519.     Cardinal Msg;
  520.     long Cascade;
  521.     long Unused;
  522.     long Result;
  523. } ;
  524.  
  525. struct TWMMDICreate
  526. {
  527.     Cardinal Msg;
  528.     int Unused;
  529.     MDICREATESTRUCTA *MDICreateStruct;
  530.     long Result;
  531. } ;
  532.  
  533. struct TWMMDIDestroy
  534. {
  535.     Cardinal Msg;
  536.     HWND Child;
  537.     long Unused;
  538.     long Result;
  539. } ;
  540.  
  541. typedef TWMNoParams  TWMMDIGetActive;
  542.  
  543. typedef TWMNoParams  TWMMDIIconArrange;
  544.  
  545. struct TWMMDIMaximize
  546. {
  547.     Cardinal Msg;
  548.     HWND Maximize;
  549.     long Unused;
  550.     long Result;
  551. } ;
  552.  
  553. struct TWMMDINext
  554. {
  555.     Cardinal Msg;
  556.     HWND Child;
  557.     long Next;
  558.     long Result;
  559. } ;
  560.  
  561. typedef TWMNoParams  TWMMDIRefreshMenu;
  562.  
  563. struct TWMMDIRestore
  564. {
  565.     Cardinal Msg;
  566.     HWND IDChild;
  567.     long Unused;
  568.     long Result;
  569. } ;
  570.  
  571. struct TWMMDISetMenu
  572. {
  573.     Cardinal Msg;
  574.     HMENU MenuFrame;
  575.     HMENU MenuWindow;
  576.     long Result;
  577. } ;
  578.  
  579. struct TWMMDITile
  580. {
  581.     Cardinal Msg;
  582.     long Tile;
  583.     long Unused;
  584.     long Result;
  585. } ;
  586.  
  587. struct TWMMeasureItem
  588. {
  589.     Cardinal Msg;
  590.     HWND IDCtl;
  591.     MEASUREITEMSTRUCT *MeasureItemStruct;
  592.     long Result;
  593. } ;
  594.  
  595. struct TWMMenuChar
  596. {
  597.     Cardinal Msg;
  598.     char User;
  599.     Byte Unused;
  600.     Word MenuFlag;
  601.     HMENU Menu;
  602.     long Result;
  603. } ;
  604.  
  605. struct TWMMenuSelect
  606. {
  607.     Cardinal Msg;
  608.     Word IDItem;
  609.     Word MenuFlag;
  610.     HMENU Menu;
  611.     long Result;
  612. } ;
  613.  
  614. struct TWMMouseActivate
  615. {
  616.     Cardinal Msg;
  617.     HWND TopLevel;
  618.     Word HitTestCode;
  619.     Word MouseMsg;
  620.     long Result;
  621. } ;
  622.  
  623. typedef TWMMouse  TWMMouseMove;
  624.  
  625. struct TWMMove
  626. {
  627.     Cardinal Msg;
  628.     int Unused;
  629.     union
  630.     {
  631.         struct 
  632.         {
  633.             Windows::TSmallPoint Pos;
  634.             long Result;
  635.             
  636.         };
  637.         struct 
  638.         {
  639.             short XPos;
  640.             short YPos;
  641.             
  642.         };
  643.         
  644.     };
  645. } ;
  646.  
  647. struct TWMNCActivate
  648. {
  649.     Cardinal Msg;
  650.     DWord Active;
  651.     long Unused;
  652.     long Result;
  653. } ;
  654.  
  655. struct TWMNCCalcSize
  656. {
  657.     Cardinal Msg;
  658.     DWord CalcValidRects;
  659.     NCCALCSIZE_PARAMS *CalcSize_Params;
  660.     long Result;
  661. } ;
  662.  
  663. struct TWMNCCreate
  664. {
  665.     Cardinal Msg;
  666.     int Unused;
  667.     CREATESTRUCTA *CreateStruct;
  668.     long Result;
  669. } ;
  670.  
  671. typedef TWMNoParams  TWMNCDestroy;
  672.  
  673. struct TWMNCHitTest
  674. {
  675.     Cardinal Msg;
  676.     long Unused;
  677.     union
  678.     {
  679.         struct 
  680.         {
  681.             Windows::TSmallPoint Pos;
  682.             long Result;
  683.             
  684.         };
  685.         struct 
  686.         {
  687.             short XPos;
  688.             short YPos;
  689.             
  690.         };
  691.         
  692.     };
  693. } ;
  694.  
  695. struct TWMNCHitMessage
  696. {
  697.     Cardinal Msg;
  698.     long HitTest;
  699.     short XCursor;
  700.     short YCursor;
  701.     long Result;
  702. } ;
  703.  
  704. typedef TWMNCHitMessage  TWMNCLButtonDblClk;
  705.  
  706. typedef TWMNCHitMessage  TWMNCLButtonDown;
  707.  
  708. typedef TWMNCHitMessage  TWMNCLButtonUp;
  709.  
  710. typedef TWMNCHitMessage  TWMNCMButtonDblClk;
  711.  
  712. typedef TWMNCHitMessage  TWMNCMButtonDown;
  713.  
  714. typedef TWMNCHitMessage  TWMNCMButtonUp;
  715.  
  716. typedef TWMNCHitMessage  TWMNCMouseMove;
  717.  
  718. struct TWMNCPaint
  719. {
  720.     Cardinal Msg;
  721.     HRGN Rgn;
  722.     long Unused;
  723.     long Result;
  724. } ;
  725.  
  726. typedef TWMNCHitMessage  TWMNCRButtonDblClk;
  727.  
  728. typedef TWMNCHitMessage  TWMNCRButtonDown;
  729.  
  730. typedef TWMNCHitMessage  TWMNCRButtonUp;
  731.  
  732. struct TWMNextDlgCtl
  733. {
  734.     Cardinal Msg;
  735.     long CtlFocus;
  736.     Word Handle;
  737.     Word Unused;
  738.     long Result;
  739. } ;
  740.  
  741. struct TWMNotify
  742. {
  743.     Cardinal Msg;
  744.     long IDCtrl;
  745.     NMHDR *NMHdr;
  746.     long Result;
  747. } ;
  748.  
  749. struct TWMPaint
  750. {
  751.     Cardinal Msg;
  752.     HDC DC;
  753.     long Unused;
  754.     long Result;
  755. } ;
  756.  
  757. struct TWMPaintClipboard
  758. {
  759.     Cardinal Msg;
  760.     HWND Viewer;
  761.     int PaintStruct;
  762.     long Result;
  763. } ;
  764.  
  765. typedef TWMNoParams  TWMPaintIcon;
  766.  
  767. struct TWMPaletteChanged
  768. {
  769.     Cardinal Msg;
  770.     HWND PalChg;
  771.     long Unused;
  772.     long Result;
  773. } ;
  774.  
  775. struct TWMPaletteIsChanging
  776. {
  777.     Cardinal Msg;
  778.     HWND Realize;
  779.     long Unused;
  780.     long Result;
  781. } ;
  782.  
  783. struct TWMParentNotify
  784. {
  785.     Cardinal Msg;
  786.     Word Event;
  787.     union
  788.     {
  789.         struct 
  790.         {
  791.             Word Value1;
  792.             long Value2;
  793.             long Result;
  794.             
  795.         };
  796.         struct 
  797.         {
  798.             Word Value;
  799.             short XPos;
  800.             short YPos;
  801.             
  802.         };
  803.         struct 
  804.         {
  805.             Word ChildID;
  806.             HWND ChildWnd;
  807.             
  808.         };
  809.         
  810.     };
  811. } ;
  812.  
  813. typedef TWMNoParams  TWMPaste;
  814.  
  815. struct TWMPower
  816. {
  817.     Cardinal Msg;
  818.     long PowerEvt;
  819.     long Unused;
  820.     long Result;
  821. } ;
  822.  
  823. typedef TWMNoParams  TWMQueryDragIcon;
  824.  
  825. struct TWMQueryEndSession
  826. {
  827.     Cardinal Msg;
  828.     long Source;
  829.     long Unused;
  830.     long Result;
  831. } ;
  832.  
  833. typedef TWMNoParams  TWMQueryNewPalette;
  834.  
  835. typedef TWMNoParams  TWMQueryOpen;
  836.  
  837. typedef TWMNoParams  TWMQueueSync;
  838.  
  839. struct TWMQuit
  840. {
  841.     Cardinal Msg;
  842.     long ExitCode;
  843.     long Unused;
  844.     long Result;
  845. } ;
  846.  
  847. typedef TWMMouse  TWMRButtonDblClk;
  848.  
  849. typedef TWMMouse  TWMRButtonDown;
  850.  
  851. typedef TWMMouse  TWMRButtonUp;
  852.  
  853. typedef TWMNoParams  TWMRenderAllFormats;
  854.  
  855. struct TWMRenderFormat
  856. {
  857.     Cardinal Msg;
  858.     long Format;
  859.     long Unused;
  860.     long Result;
  861. } ;
  862.  
  863. struct TWMSetCursor
  864. {
  865.     Cardinal Msg;
  866.     HWND CursorWnd;
  867.     Word HitTest;
  868.     Word MouseMsg;
  869.     long Result;
  870. } ;
  871.  
  872. struct TWMSetFocus
  873. {
  874.     Cardinal Msg;
  875.     HWND FocusedWnd;
  876.     long Unused;
  877.     long Result;
  878. } ;
  879.  
  880. struct TWMSetFont
  881. {
  882.     Cardinal Msg;
  883.     HFONT Font;
  884.     Word Redraw;
  885.     Word Unused;
  886.     long Result;
  887. } ;
  888.  
  889. struct TWMSetHotKey
  890. {
  891.     Cardinal Msg;
  892.     long Key;
  893.     long Unused;
  894.     long Result;
  895. } ;
  896.  
  897. struct TWMSetIcon
  898. {
  899.     Cardinal Msg;
  900.     DWord BigIcon;
  901.     HICON Icon;
  902.     long Result;
  903. } ;
  904.  
  905. struct TWMSetRedraw
  906. {
  907.     Cardinal Msg;
  908.     long Redraw;
  909.     long Unused;
  910.     long Result;
  911. } ;
  912.  
  913. struct TWMSetText
  914. {
  915.     Cardinal Msg;
  916.     long Unused;
  917.     char *Text;
  918.     long Result;
  919. } ;
  920.  
  921. struct TWMShowWindow
  922. {
  923.     Cardinal Msg;
  924.     DWord Show;
  925.     long Status;
  926.     long Result;
  927. } ;
  928.  
  929. struct TWMSize
  930. {
  931.     Cardinal Msg;
  932.     long SizeType;
  933.     Word Width;
  934.     Word Height;
  935.     long Result;
  936. } ;
  937.  
  938. struct TWMSizeClipboard
  939. {
  940.     Cardinal Msg;
  941.     HWND Viewer;
  942.     int RC;
  943.     long Result;
  944. } ;
  945.  
  946. struct TWMSpoolerStatus
  947. {
  948.     Cardinal Msg;
  949.     long JobStatus;
  950.     Word JobsLeft;
  951.     Word Unused;
  952.     long Result;
  953. } ;
  954.  
  955. struct TWMStyleChange
  956. {
  957.     Cardinal Msg;
  958.     long StyleType;
  959.     STYLESTRUCT *StyleStruct;
  960.     long Result;
  961. } ;
  962.  
  963. typedef TWMStyleChange  TWMStyleChanged;
  964.  
  965. typedef TWMStyleChange  TWMStyleChanging;
  966.  
  967. typedef TWMKey  TWMSysChar;
  968.  
  969. typedef TWMNoParams  TWMSysColorChange;
  970.  
  971. struct TWMSysCommand
  972. {
  973.     Cardinal Msg;
  974.     long CmdType;
  975.     union
  976.     {
  977.         struct 
  978.         {
  979.             short XPos;
  980.             short YPos;
  981.             long Result;
  982.             
  983.         };
  984.         Word Key;
  985.         HWND ActivateWnd;
  986.         
  987.     };
  988. } ;
  989.  
  990. struct TWMSysDeadChar
  991. {
  992.     Cardinal Msg;
  993.     Word CharCode;
  994.     Word Unused;
  995.     long KeyData;
  996.     long Result;
  997. } ;
  998.  
  999. typedef TWMKey  TWMSysKeyDown;
  1000.  
  1001. typedef TWMKey  TWMSysKeyUp;
  1002.  
  1003. struct TWMSystemError
  1004. {
  1005.     Cardinal Msg;
  1006.     Word ErrSpec;
  1007.     long Unused;
  1008.     long Result;
  1009. } ;
  1010.  
  1011. typedef TWMNoParams  TWMTimeChange;
  1012.  
  1013. struct TWMTimer
  1014. {
  1015.     Cardinal Msg;
  1016.     long TimerID;
  1017.     void *TimerProc;
  1018.     long Result;
  1019. } ;
  1020.  
  1021. typedef TWMNoParams  TWMUndo;
  1022.  
  1023. typedef TWMCharToItem  TWMVKeyToItem;
  1024.  
  1025. typedef TWMScroll  TWMVScroll;
  1026.  
  1027. struct TWMVScrollClipboard
  1028. {
  1029.     Cardinal Msg;
  1030.     HWND Viewer;
  1031.     Word ScollCode;
  1032.     Word ThumbPos;
  1033.     long Result;
  1034. } ;
  1035.  
  1036. typedef TWMWindowPosMsg  TWMWindowPosChanged;
  1037.  
  1038. typedef TWMWindowPosMsg  TWMWindowPosChanging;
  1039.  
  1040. struct TWMWinIniChange
  1041. {
  1042.     Cardinal Msg;
  1043.     int Unused;
  1044.     char *Section;
  1045.     long Result;
  1046. } ;
  1047.  
  1048. struct TWMHelp
  1049. {
  1050.     Cardinal Msg;
  1051.     int Unused;
  1052.     HELPINFO *HelpInfo;
  1053.     long Result;
  1054. } ;
  1055.  
  1056. //-- var, const, procedure ---------------------------------------------------
  1057.  
  1058. }    /* namespace Messages */
  1059.  
  1060. #pragma warn .par
  1061. #pragma warn .hid 
  1062. #pragma warn .inl
  1063.  
  1064. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  1065. using namespace Messages;
  1066. #endif
  1067. //-- end unit ----------------------------------------------------------------
  1068. #endif    // Messages
  1069.