Guest User

VB6 types/enums/procedues, etc.

a guest
Aug 30th, 2011
1,297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.47 KB | None | 0 0
  1. //Visual Basic runtime objects and procedures
  2. //Version: 6.0
  3. VBRUN;
  4. GUID = {EA544A21-C82D-11D1-A3E4-00A0C90AEA82};
  5.  
  6.  
  7. //Constants for the PaletteMode property (Form, UserControl, UserDocument, PropertyPage, ActiveX Designer).
  8. Enum PaletteModeConstants;
  9. GUID = {531AFF40-D9E9-11CF-B307-00A0C90AEA82};
  10. //Use system halftone palette.
  11. vbPaletteModeHalftone = 0;
  12. //Use palette from topmost control that has a palette.
  13. vbPaletteModeUseZOrder = 1;
  14. //Use palette specified in Palette property.
  15. vbPaletteModeCustom = 2;
  16. //Use the container's palette for container's that support ambient Palette property.
  17. vbPaletteModeContainer = 3;
  18. //Do not use any palette
  19. vbPaletteModeNone = 4;
  20. //Use the ActiveX Designer's palette.
  21. vbPaletteModeObject = 5;
  22.  
  23. //Constants used for the AsyncRead method
  24. Enum AsyncTypeConstants;
  25. GUID = {35239020-BFE5-11CF-B2E4-00A0C90AEA82};
  26. //The data is provided in a Picture object.
  27. vbAsyncTypePicture = 0;
  28. //The data is provided in a file that is created by Visual Basic.
  29. vbAsyncTypeFile = 1;
  30. //The data is provided as a byte array that contains the retrieved data. It is assumed that the control author will know how to handle the data.
  31. vbAsyncTypeByteArray = 2;
  32.  
  33. //Options for AsyncRead. The default behavior is to asynchronously download checking the server version once per-application lifetime. Some constants can be combined.
  34. Enum AsyncReadConstants;
  35. GUID = {C6879C62-6FFA-11D1-A3AF-00A0C90AEA82};
  36. //AsyncRead will not return until the AsyncReadComplete event has fired.
  37. vbAsyncReadSynchronousDownload = 1;
  38. //AsyncRead will only use the locally cached resource.
  39. vbAsyncReadOfflineOperation = 8;
  40. //AsyncRead will force a download of the resource from the server, ignoring any locally cached copy.
  41. vbAsyncReadForceUpdate = 16;
  42. //AsyncRead will only update the locally cached copy if the server version is newer.
  43. vbAsyncReadResynchronize = 512;
  44. //AsyncRead will use the cached copy if the server connection is not successful.
  45. vbAsyncReadGetFromCacheIfNetFail = 524288;
  46.  
  47. //Constants used for AsyncProperty.StatusCode property.
  48. Enum AsyncStatusCodeConstants;
  49. GUID = {6AA0C551-F895-11D0-B41D-00A0C90AEA82};
  50. //An error occured during the asynchronous download.
  51. vbAsyncStatusCodeError = 0;
  52. //AsyncRead is finding the resource specified in AsyncProperty.Status that holds the storage being downloaded.
  53. vbAsyncStatusCodeFindingResource = 1;
  54. //AsyncRead is connecting to the resource specified in AsyncProperty.Status that holds the storage being downloaded.
  55. vbAsyncStatusCodeConnecting = 2;
  56. //AsyncRead has been redirected to a different location specified in AsyncProperty.Status.
  57. vbAsyncStatusCodeRedirecting = 3;
  58. //AsyncRead has begun receiving data for the storage specified in AsyncProperty.Status.
  59. vbAsyncStatusCodeBeginDownloadData = 4;
  60. //AsyncRead has received more data for the storage specified in AsyncProperty.Status.
  61. vbAsyncStatusCodeDownloadingData = 5;
  62. //AsyncRead has finished receiving data for the storage specified in AsyncProperty.Status.
  63. vbAsyncStatusCodeEndDownloadData = 6;
  64. //AsyncRead is retreiving the requested storage from a cached copy. AsyncProperty.Status is empty.
  65. vbAsyncStatusCodeUsingCachedCopy = 10;
  66. //AsyncRead is requesting the storage specified in AsyncProperty.Status.
  67. vbAsyncStatusCodeSendingRequest = 11;
  68. //The MIME type of the requested storage is specified in AsyncProperty.Status.
  69. vbAsyncStatusCodeMIMETypeAvailable = 13;
  70. //The file name of the local file cache for requested storage is specified in AsyncProperty.Status.
  71. vbAsyncStatusCodeCacheFileNameAvailable = 14;
  72. //The AsyncRead will operate synchronously.
  73. vbAsyncStatusCodeBeginSyncOperation = 15;
  74. //The AsyncRead has completed synchronous operation.
  75. vbAsyncStatusCodeEndSyncOperation = 16;
  76.  
  77. //Constants used for Event Log types
  78. Enum LogEventTypeConstants;
  79. GUID = {C983C420-2128-11D0-9440-00A0C90F26F1};
  80. //Log an Error Event
  81. vbLogEventTypeError = 1;
  82. //Log a Warning Event
  83. vbLogEventTypeWarning = 2;
  84. //Log an Information Event
  85. vbLogEventTypeInformation = 4;
  86.  
  87. //Constants for the UnloadMode parameter of the QueryUnload event of a Form.
  88. Enum QueryUnloadConstants;
  89. GUID = {AD4EF4C0-FAC9-11CF-8425-00A0C9110056};
  90. //User has chosen Close command from Control menu box on form.
  91. vbFormControlMenu = 0;
  92. //Unload method invoked from code.
  93. vbFormCode = 1;
  94. //Current Windows session ending.
  95. vbAppWindows = 2;
  96. //Windows Task Manager is closing the application.
  97. vbAppTaskManager = 3;
  98. //MDI child form is closing because the MDI form is closing.
  99. vbFormMDIForm = 4;
  100. //The owner of the form is closing.
  101. vbFormOwner = 5;
  102.  
  103. //Constants for the ZOrder method.
  104. Enum ZOrderConstants;
  105. GUID = {AD4EF4C1-FAC9-11CF-8425-00A0C9110056};
  106. //Bring to front (ZOrder method).
  107. vbBringToFront = 0;
  108. //Send to back (ZOrder method).
  109. vbSendToBack = 1;
  110.  
  111. //Shift parameter constants (bitfields for the Shift parameter of various events).
  112. Enum ShiftConstants;
  113. GUID = {AD4EF4C2-FAC9-11CF-8425-00A0C9110056};
  114. //Shift key bit mask.
  115. vbShiftMask = 1;
  116. //Ctrl key bit mask.
  117. vbCtrlMask = 2;
  118. //Alt key bit mask.
  119. vbAltMask = 4;
  120.  
  121. //Mouse button bitfield constants.
  122. Enum MouseButtonConstants;
  123. GUID = {AD4EF4C3-FAC9-11CF-8425-00A0C9110056};
  124. //Left mouse button.
  125. vbLeftButton = 1;
  126. //Right mouse button.
  127. vbRightButton = 2;
  128. //Middle mouse button.
  129. vbMiddleButton = 4;
  130.  
  131. //Application start mode constants.
  132. Enum ApplicationStartConstants;
  133. GUID = {AD4EF4C4-FAC9-11CF-8425-00A0C9110056};
  134. //Stand-alone application (Application start mode).
  135. vbSModeStandalone = 0;
  136. //Automation server (Application start mode).
  137. vbSModeAutomation = 1;
  138.  
  139. //Scrollbar property constants.
  140. Enum ScrollBarConstants;
  141. GUID = {AD4EF4C5-FAC9-11CF-8425-00A0C9110056};
  142. //No scroll bar.
  143. vbSBNone = 0;
  144. //Horizontal scroll bar.
  145. vbHorizontal = 1;
  146. //Vertical scroll bar.
  147. vbVertical = 2;
  148. //Both horizontal and vertical scroll bars.
  149. vbBoth = 3;
  150.  
  151. //Constants for the Shape property of the Shape control.
  152. Enum ShapeConstants;
  153. GUID = {AD4EF4C6-FAC9-11CF-8425-00A0C9110056};
  154. //Rectangle shape.
  155. vbShapeRectangle = 0;
  156. //Square shape.
  157. vbShapeSquare = 1;
  158. //Oval shape.
  159. vbShapeOval = 2;
  160. //Circle shape.
  161. vbShapeCircle = 3;
  162. //Rounded rectangle shape.
  163. vbShapeRoundedRectangle = 4;
  164. //Rounded square shape.
  165. vbShapeRoundedSquare = 5;
  166.  
  167. //Picture Object type constants.
  168. Enum PictureTypeConstants;
  169. GUID = {AD4EF4C7-FAC9-11CF-8425-00A0C9110056};
  170. //None (empty) type of picture object.
  171. vbPicTypeNone = 0;
  172. //Bitmap type of picture object.
  173. vbPicTypeBitmap = 1;
  174. //Metafile type of picture object.
  175. vbPicTypeMetafile = 2;
  176. //Icon type of picture object.
  177. vbPicTypeIcon = 3;
  178. //Enhanced metafile type of picture object.
  179. vbPicTypeEMetafile = 4;
  180.  
  181. //Constants for the Style property of a ComboBox control.
  182. Enum ComboBoxConstants;
  183. GUID = {AD4EF4C8-FAC9-11CF-8425-00A0C9110056};
  184. //ComboBox control style that allows typing in a text box or selection from a drop-down list.
  185. vbComboDropdown = 0;
  186. //ComboBox control style that allows typing in a text box or selection from a list, which doesn't drop down.
  187. vbComboSimple = 1;
  188. //Only allows selection from the drop-down list in a ComboBox control.
  189. vbComboDropdownList = 2;
  190.  
  191. //Constants for the MultiSelect property of a ListBox.
  192. Enum MultiSelectConstants;
  193. GUID = {AD4EF4C9-FAC9-11CF-8425-00A0C9110056};
  194. //Doesn't allow multiple selections in the list of a ListBox control.
  195. vbMultiSelectNone = 0;
  196. //Allows clicking the mouse or pressing the SPACEBAR to select or deselect an item in a ListBox control. (Arrow keys move the focus.)
  197. vbMultiSelectSimple = 1;
  198. //Allows multiple-item selection in a ListBox control list. (CTRL+Click selects/deselects individual items. Click on the first item in a group and SHIFT+Click on the last item selects all items in the group.)
  199. vbMultiSelectExtended = 2;
  200.  
  201. //Data control error event constants.
  202. Enum DataErrorConstants;
  203. GUID = {AD4EF4CA-FAC9-11CF-8425-00A0C9110056};
  204. //Continue (Error event).
  205. vbDataErrContinue = 0;
  206. //Display the message (Error event, default).
  207. vbDataErrDisplay = 1;
  208.  
  209. //Data control validate event action constants.
  210. Enum DataValidateConstants;
  211. GUID = {AD4EF4CB-FAC9-11CF-8425-00A0C9110056};
  212. //Cancel the operation when the Sub exits (Validate event).
  213. vbDataActionCancel = 0;
  214. //MoveFirst method (Validate event).
  215. vbDataActionMoveFirst = 1;
  216. //MovePrevious method (Validate event).
  217. vbDataActionMovePrevious = 2;
  218. //MoveNext method (Validate event).
  219. vbDataActionMoveNext = 3;
  220. //MoveLast method (Validate event).
  221. vbDataActionMoveLast = 4;
  222. //AddNew method (Validate event).
  223. vbDataActionAddNew = 5;
  224. //Update operation -- not update record (Validate event).
  225. vbDataActionUpdate = 6;
  226. //Delete method (Validate event).
  227. vbDataActionDelete = 7;
  228. //Find method (Validate event).
  229. vbDataActionFind = 8;
  230. //The Bookmark property has been set.
  231. vbDataActionBookmark = 9;
  232. //Close method (Validate event).
  233. vbDataActionClose = 10;
  234. //The form is being unloaded.
  235. vbDataActionUnload = 11;
  236.  
  237. //Data control beginning-of-file constants.
  238. Enum DataBOFconstants;
  239. GUID = {AD4EF4CC-FAC9-11CF-8425-00A0C9110056};
  240. //Move to first record.
  241. vbMoveFirst = 0;
  242. //Move to beginning of file.
  243. vbBOF = 1;
  244.  
  245. //Data control end-of-file constants.
  246. Enum DataEOFConstants;
  247. GUID = {AD4EF4CD-FAC9-11CF-8425-00A0C9110056};
  248. //Move to last record.
  249. vbMoveLast = 0;
  250. //Move to end of file.
  251. vbEOF = 1;
  252. //Add new record to end of file.
  253. vbAddNew = 2;
  254.  
  255. //Data control Recordset-type constants.
  256. Module RecordsetTypeConstants;
  257. //Table type recordset.
  258. vbRSTypeTable = 0;
  259. //Dynaset type recordset.
  260. vbRSTypeDynaset = 1;
  261. //Snapshot type recordset.
  262. vbRSTypeSnapShot = 2;
  263.  
  264. //Cursor Driver-type constants.
  265. Enum DefaultCursorTypeConstants;
  266. GUID = {DFC5C6E0-08F1-11D0-A365-00A0C90F26FA};
  267. //The ODBC driver will choose the appropriate style of cursors. Server-side cursors are used if they are available.
  268. vbUseDefaultCursor = 0;
  269. //Use the ODBC cursor library.
  270. vbUseODBCCursor = 1;
  271. //Use server-side cursors.
  272. vbUseServersideCursor = 2;
  273.  
  274. //Variant type constants.
  275. Enum VariantTypeConstants;
  276. GUID = {AD4EF4CE-FAC9-11CF-8425-00A0C9110056};
  277. //Empty (uninitialized) data type.
  278. vbVEmpty = 0;
  279. //Null (no valid data) data type.
  280. vbVNull = 1;
  281. //Integer data type.
  282. vbVInteger = 2;
  283. //Long integer data type.
  284. vbVLong = 3;
  285. //Single-precision floating-point data type.
  286. vbVSingle = 4;
  287. //Double-precision floating-point data type.
  288. vbVDouble = 5;
  289. //Currency (scaled integer) data type.
  290. vbVCurrency = 6;
  291. //Date data type.
  292. vbVDate = 7;
  293. //String data type.
  294. vbVString = 8;
  295.  
  296. //DDE LinkError event constants.
  297. Enum LinkErrorConstants;
  298. GUID = {AD4EF4D0-FAC9-11CF-8425-00A0C9110056};
  299. //Another application requested data in wrong format.
  300. vbWrongFormat = 1;
  301. //Destination application attempted to continue after source closed.
  302. vbDDESourceClosed = 6;
  303. //All source links are in use.
  304. vbTooManyLinks = 7;
  305. //Failure to update data in destination control.
  306. vbDataTransferFailed = 8;
  307.  
  308. //Constants for the LinkMode property.
  309. Enum LinkModeConstants;
  310. GUID = {1791AB32-2F5A-11CE-8259-00AA006138F9};
  311. //No DDE interaction.
  312. vbLinkNone = 0;
  313. //Control is source of data in a DDE conversation.
  314. vbLinkSource = 1;
  315. //Control is updated each time linked data changes in a DDE conversation.
  316. vbLinkAutomatic = 1;
  317. //Control is updated only when the LinkRequest method is invoked.
  318. vbLinkManual = 2;
  319. //A LinkNotify event occurs when linked data changes.
  320. vbLinkNotify = 3;
  321.  
  322. //Old constants for the LinkMode property (used for Visual Basic 1.0 compatibility).
  323. Enum OldLinkModeConstants;
  324. GUID = {AD4EF4D1-FAC9-11CF-8425-00A0C9110056};
  325. //Hot LinkMode (used for Visual Basic 1.0 compatibility).
  326. vbHot = 1;
  327. //Server LinkMode (used for Visual Basic 1.0 compatibility).
  328. vbServer = 1;
  329. //Cold LinkMode (used for Visual Basic 1.0 compatibility).
  330. vbCold = 2;
  331.  
  332. //Clipboard format constants.
  333. Enum ClipBoardConstants;
  334. GUID = {AD4EF4D2-FAC9-11CF-8425-00A0C9110056};
  335. //DDE conversation information.
  336. vbCFLink = -16640;
  337. //Text (.TXT file).
  338. vbCFText = 1;
  339. //Bitmap (.BMP file).
  340. vbCFBitmap = 2;
  341. //Metafile (.WMF file).
  342. vbCFMetafile = 3;
  343. //Device-independent bitmap.
  344. vbCFDIB = 8;
  345. //Color palette.
  346. vbCFPalette = 9;
  347. //Enhanced metafile (.EMF file).
  348. vbCFEMetafile = 14;
  349. //Filename list (Microsoft Windows Explorer)
  350. vbCFFiles = 15;
  351. //Rich Text Format (.RTF file).
  352. vbCFRTF = -16639;
  353.  
  354. //State transition constants for the DragOver and OLEDragOver events.
  355. Enum DragOverConstants;
  356. GUID = {AD4EF4D3-FAC9-11CF-8425-00A0C9110056};
  357. //Source control dragged into target.
  358. vbEnter = 0;
  359. //Source control dragged out of target.
  360. vbLeave = 1;
  361. //Source control dragged from one position in target to another.
  362. vbOver = 2;
  363.  
  364. //Constants for the Drag method.
  365. Enum DragConstants;
  366. GUID = {AD4EF4D4-FAC9-11CF-8425-00A0C9110056};
  367. //Cancel drag operation.
  368. vbCancel = 0;
  369. //Begin dragging control.
  370. vbBeginDrag = 1;
  371. //Drop control.
  372. vbEndDrag = 2;
  373.  
  374. //Constants for the DragMode property (but not the OLEDragMode or OLEDropMode properties).
  375. Enum DragModeConstants;
  376. GUID = {1791AB34-2F5A-11CE-8259-00AA006138F9};
  377. //Manual drag mode.
  378. vbManual = 0;
  379. //Automatic drag mode.
  380. vbAutomatic = 1;
  381.  
  382. //Drop effect constants for OLE drag and drop events.
  383. Enum OLEDropEffectConstants;
  384. GUID = {AD4EF4D5-FAC9-11CF-8425-00A0C9110056};
  385. //No OLE drag/drop operation has taken place/would take place.
  386. vbDropEffectNone = 0;
  387. //A mask to indicate that a copy has taken place/would take place.
  388. vbDropEffectCopy = 1;
  389. //A mask to indicate that a move has take place/would take place.
  390. vbDropEffectMove = 2;
  391. //A mask to indicate that the drop target window has scrolled/would scroll.
  392. vbDropEffectScroll = -2147483648;
  393.  
  394. //Constants for the OLEDragMode property (but not the DragMode or OLEDropMode properties).
  395. Enum OLEDragConstants;
  396. GUID = {AD4EF4D6-FAC9-11CF-8425-00A0C9110056};
  397. //OLE drag/drop will be initialized only under programmatic control.
  398. vbOLEDragManual = 0;
  399. //OLE drag/drop will be initialized when the user drags 'out' of the control, or under programmatic control.
  400. vbOLEDragAutomatic = 1;
  401.  
  402. //Constants for the OLEDropMode property (but not the DragMode or OLEDragMode properties).
  403. Enum OLEDropConstants;
  404. GUID = {AD4EF4D7-FAC9-11CF-8425-00A0C9110056};
  405. //Accepts no OLE drag/drop operations.
  406. vbOLEDropNone = 0;
  407. //Accepts an OLE drag/drop under programmatic control only.
  408. vbOLEDropManual = 1;
  409. //Accepts an OLE drag/drop without programmatic control.
  410. vbOLEDropAutomatic = 2;
  411.  
  412. //Constants for a Form's Show method.
  413. Enum FormShowConstants;
  414. GUID = {AD4EF4D8-FAC9-11CF-8425-00A0C9110056};
  415. //Modeless form.
  416. vbModeless = 0;
  417. //Modal form.
  418. vbModal = 1;
  419.  
  420. //Constants for the Arrange method for MDI forms.
  421. Enum FormArrangeConstants;
  422. GUID = {AD4EF4D9-FAC9-11CF-8425-00A0C9110056};
  423. //Cascade all non-minimized MDI child forms.
  424. vbCascade = 0;
  425. //Horizontally tile all non-minimized MDI child forms.
  426. vbTileHorizontal = 1;
  427. //Vertically tile all non-minimized MDI child forms.
  428. vbTileVertical = 2;
  429. //Arrange icons for minimized MDI child forms.
  430. vbArrangeIcons = 3;
  431.  
  432. //Form WindowState property constants.
  433. Enum FormWindowStateConstants;
  434. GUID = {F9C75340-5F26-11CE-95F0-00AA0051E510};
  435. //Normal window state.
  436. vbNormal = 0;
  437. //Minimized window state.
  438. vbMinimized = 1;
  439. //Maximized window state.
  440. vbMaximized = 2;
  441.  
  442. //Keycode constants.
  443. Enum KeyCodeConstants;
  444. GUID = {AD4EF4DA-FAC9-11CF-8425-00A0C9110056};
  445. //Left mouse button
  446. vbKeyLButton = 1;
  447. //Right mouse button.
  448. vbKeyRButton = 2;
  449. //Cancel key.
  450. vbKeyCancel = 3;
  451. //Middle mouse button.
  452. vbKeyMButton = 4;
  453. //Backspace key.
  454. vbKeyBack = 8;
  455. //Tab key.
  456. vbKeyTab = 9;
  457. //Clear key.
  458. vbKeyClear = 12;
  459. //Return (Enter) key.
  460. vbKeyReturn = 13;
  461. //Shift key.
  462. vbKeyShift = 16;
  463. //Ctrl key.
  464. vbKeyControl = 17;
  465. //Menu key.
  466. vbKeyMenu = 18;
  467. //Pause key.
  468. vbKeyPause = 19;
  469. //Caps key.
  470. vbKeyCapital = 20;
  471. //Esc key.
  472. vbKeyEscape = 27;
  473. //Spacebar key.
  474. vbKeySpace = 32;
  475. //PAGE UP key.
  476. vbKeyPageUp = 33;
  477. //PAGE DOWN key.
  478. vbKeyPageDown = 34;
  479. //End key.
  480. vbKeyEnd = 35;
  481. //Home key.
  482. vbKeyHome = 36;
  483. //Left key.
  484. vbKeyLeft = 37;
  485. //Up key.
  486. vbKeyUp = 38;
  487. //Right key.
  488. vbKeyRight = 39;
  489. //Down key.
  490. vbKeyDown = 40;
  491. //Select key.
  492. vbKeySelect = 41;
  493. //PrintScreen key.
  494. vbKeyPrint = 42;
  495. //Execute key.
  496. vbKeyExecute = 43;
  497. //Snapshot key.
  498. vbKeySnapshot = 44;
  499. //Insert key.
  500. vbKeyInsert = 45;
  501. //Delete key.
  502. vbKeyDelete = 46;
  503. //Help key.
  504. vbKeyHelp = 47;
  505. //Num Lock key.
  506. vbKeyNumlock = 144;
  507. //Scroll Lock key.
  508. vbKeyScrollLock = 145;
  509. //A key.
  510. vbKeyA = 65;
  511. //B key.
  512. vbKeyB = 66;
  513. //C key.
  514. vbKeyC = 67;
  515. //D key.
  516. vbKeyD = 68;
  517. //E key.
  518. vbKeyE = 69;
  519. //F key.
  520. vbKeyF = 70;
  521. //G key.
  522. vbKeyG = 71;
  523. //H key.
  524. vbKeyH = 72;
  525. //I key.
  526. vbKeyI = 73;
  527. //J key.
  528. vbKeyJ = 74;
  529. //K key.
  530. vbKeyK = 75;
  531. //L key.
  532. vbKeyL = 76;
  533. //M key.
  534. vbKeyM = 77;
  535. //N key.
  536. vbKeyN = 78;
  537. //O key.
  538. vbKeyO = 79;
  539. //P key.
  540. vbKeyP = 80;
  541. //Q key.
  542. vbKeyQ = 81;
  543. //R key.
  544. vbKeyR = 82;
  545. //S key.
  546. vbKeyS = 83;
  547. //T key.
  548. vbKeyT = 84;
  549. //U key.
  550. vbKeyU = 85;
  551. //V key.
  552. vbKeyV = 86;
  553. //W key.
  554. vbKeyW = 87;
  555. //X key.
  556. vbKeyX = 88;
  557. //Y key.
  558. vbKeyY = 89;
  559. //Z key.
  560. vbKeyZ = 90;
  561. //0 key.
  562. vbKey0 = 48;
  563. //1 key.
  564. vbKey1 = 49;
  565. //2 key.
  566. vbKey2 = 50;
  567. //3 key.
  568. vbKey3 = 51;
  569. //4 key.
  570. vbKey4 = 52;
  571. //5 key.
  572. vbKey5 = 53;
  573. //6 key.
  574. vbKey6 = 54;
  575. //7 key.
  576. vbKey7 = 55;
  577. //8 key.
  578. vbKey8 = 56;
  579. //9 key.
  580. vbKey9 = 57;
  581. //0 key on the numeric keypad.
  582. vbKeyNumpad0 = 96;
  583. //1 key on the numeric keypad.
  584. vbKeyNumpad1 = 97;
  585. //2 key on the numeric keypad.
  586. vbKeyNumpad2 = 98;
  587. //3 key on the numeric keypad.
  588. vbKeyNumpad3 = 99;
  589. //4 key on the numeric keypad.
  590. vbKeyNumpad4 = 100;
  591. //5 key on the numeric keypad.
  592. vbKeyNumpad5 = 101;
  593. //6 key on the numeric keypad.
  594. vbKeyNumpad6 = 102;
  595. //7 key on the numeric keypad.
  596. vbKeyNumpad7 = 103;
  597. //8 key on the numeric keypad.
  598. vbKeyNumpad8 = 104;
  599. //9 key on the numeric keypad.
  600. vbKeyNumpad9 = 105;
  601. //Multiply (*) key on the numeric keypad.
  602. vbKeyMultiply = 106;
  603. //Plus (+) key on the numeric keypad.
  604. vbKeyAdd = 107;
  605. //Enter key on the numeric keypad.
  606. vbKeySeparator = 108;
  607. //Minus (-) key on the numeric keypad.
  608. vbKeySubtract = 109;
  609. //Decimal (.) key on the numeric keypad.
  610. vbKeyDecimal = 110;
  611. //Divide (/) key on the numeric keypad.
  612. vbKeyDivide = 111;
  613. //F1 key.
  614. vbKeyF1 = 112;
  615. //F2 key.
  616. vbKeyF2 = 113;
  617. //F3 key.
  618. vbKeyF3 = 114;
  619. //F4 key.
  620. vbKeyF4 = 115;
  621. //F5 key.
  622. vbKeyF5 = 116;
  623. //F6 key.
  624. vbKeyF6 = 117;
  625. //F7 key.
  626. vbKeyF7 = 118;
  627. //F8 key.
  628. vbKeyF8 = 119;
  629. //F9 key.
  630. vbKeyF9 = 120;
  631. //F10 key.
  632. vbKeyF10 = 121;
  633. //F11 key.
  634. vbKeyF11 = 122;
  635. //F12 key.
  636. vbKeyF12 = 123;
  637. //F13 key.
  638. vbKeyF13 = 124;
  639. //F14 key.
  640. vbKeyF14 = 125;
  641. //F15 key.
  642. vbKeyF15 = 126;
  643. //F16 key.
  644. vbKeyF16 = 127;
  645.  
  646. //User-defined shortcut keystrokes
  647. Enum MenuAccelConstants;
  648. GUID = {AD4EF4DB-FAC9-11CF-8425-00A0C9110056};
  649. //User-defined shortcut keystrokes
  650. vbMenuAccelCtrlA = 1;
  651. //User-defined shortcut keystrokes
  652. vbMenuAccelCtrlB = 2;
  653. //User-defined shortcut keystrokes
  654. vbMenuAccelCtrlC = 3;
  655. //User-defined shortcut keystrokes
  656. vbMenuAccelCtrlD = 4;
  657. //User-defined shortcut keystrokes
  658. vbMenuAccelCtrlE = 5;
  659. //User-defined shortcut keystrokes
  660. vbMenuAccelCtrlF = 6;
  661. //User-defined shortcut keystrokes
  662. vbMenuAccelCtrlG = 7;
  663. //User-defined shortcut keystrokes
  664. vbMenuAccelCtrlH = 8;
  665. //User-defined shortcut keystrokes
  666. vbMenuAccelCtrlI = 9;
  667. //User-defined shortcut keystrokes
  668. vbMenuAccelCtrlJ = 10;
  669. //User-defined shortcut keystrokes
  670. vbMenuAccelCtrlK = 11;
  671.  
  672. //User-defined shortcut keystrokes
  673. vbMenuAccelCtrlL = 12;
  674. //User-defined shortcut keystrokes
  675. vbMenuAccelCtrlM = 13;
  676. //User-defined shortcut keystrokes
  677. vbMenuAccelCtrlN = 14;
  678. //User-defined shortcut keystrokes
  679. vbMenuAccelCtrlO = 15;
  680. //User-defined shortcut keystrokes
  681. vbMenuAccelCtrlP = 16;
  682. //User-defined shortcut keystrokes
  683. vbMenuAccelCtrlQ = 17;
  684. //User-defined shortcut keystrokes
  685. vbMenuAccelCtrlR = 18;
  686. //User-defined shortcut keystrokes
  687. vbMenuAccelCtrlS = 19;
  688. //User-defined shortcut keystrokes
  689. vbMenuAccelCtrlT = 20;
  690. //User-defined shortcut keystrokes
  691. vbMenuAccelCtrlU = 21;
  692. //User-defined shortcut keystrokes
  693. vbMenuAccelCtrlV = 22;
  694. //User-defined shortcut keystrokes
  695. vbMenuAccelCtrlW = 23;
  696. //User-defined shortcut keystrokes
  697. vbMenuAccelCtrlX = 24;
  698. //User-defined shortcut keystrokes
  699. vbMenuAccelCtrlY = 25;
  700. //User-defined shortcut keystrokes
  701. vbMenuAccelCtrlZ = 26;
  702. //User-defined shortcut keystrokes
  703. vbMenuAccelF1 = 27;
  704. //User-defined shortcut keystrokes
  705. vbMenuAccelF2 = 28;
  706. //User-defined shortcut keystrokes
  707. vbMenuAccelF3 = 29;
  708. //User-defined shortcut keystrokes
  709. vbMenuAccelF4 = 30;
  710. //User-defined shortcut keystrokes
  711. vbMenuAccelF5 = 31;
  712. //User-defined shortcut keystrokes
  713. vbMenuAccelF6 = 32;
  714. //User-defined shortcut keystrokes
  715. vbMenuAccelF7 = 33;
  716. //User-defined shortcut keystrokes
  717. vbMenuAccelF8 = 34;
  718. //User-defined shortcut keystrokes
  719. vbMenuAccelF9 = 35;
  720. //User-defined shortcut keystrokes
  721. vbMenuAccelF11 = 36;
  722. //User-defined shortcut keystrokes
  723. vbMenuAccelF12 = 37;
  724. //User-defined shortcut keystrokes
  725. vbMenuAccelCtrlF1 = 38;
  726. //User-defined shortcut keystrokes
  727. vbMenuAccelCtrlF2 = 39;
  728. //User-defined shortcut keystrokes
  729. vbMenuAccelCtrlF3 = 40;
  730. //User-defined shortcut keystrokes
  731. vbMenuAccelCtrlF4 = 41;
  732. //User-defined shortcut keystrokes
  733. vbMenuAccelCtrlF5 = 42;
  734. //User-defined shortcut keystrokes
  735. vbMenuAccelCtrlF6 = 43;
  736. //User-defined shortcut keystrokes
  737. vbMenuAccelCtrlF7 = 44;
  738. //User-defined shortcut keystrokes
  739. vbMenuAccelCtrlF8 = 45;
  740. //User-defined shortcut keystrokes
  741. vbMenuAccelCtrlF9 = 46;
  742. //User-defined shortcut keystrokes
  743. vbMenuAccelCtrlF11 = 47;
  744. //User-defined shortcut keystrokes
  745. vbMenuAccelCtrlF12 = 48;
  746. //User-defined shortcut keystrokes
  747. vbMenuAccelShiftF1 = 49;
  748. //User-defined shortcut keystrokes
  749. vbMenuAccelShfitF2 = 50;
  750. //User-defined shortcut keystrokes
  751. vbMenuAccelShiftF3 = 51;
  752. //User-defined shortcut keystrokes
  753. vbMenuAccelShiftF4 = 52;
  754. //User-defined shortcut keystrokes
  755. vbMenuAccelShiftF5 = 53;
  756. //User-defined shortcut keystrokes
  757. vbMenuAccelShiftF6 = 54;
  758. //User-defined shortcut keystrokes
  759. vbMenuAccelShiftF7 = 55;
  760. //User-defined shortcut keystrokes
  761. vbMenuAccelShiftF8 = 56;
  762. //User-defined shortcut keystrokes
  763. vbMenuAccelShiftF9 = 57;
  764. //User-defined shortcut keystrokes
  765. vbMenuAccelShiftF11 = 58;
  766. //User-defined shortcut keystrokes
  767. vbMenuAccelShiftF12 = 59;
  768. //User-defined shortcut keystrokes
  769. vbMenuAccelShiftCtrlF1 = 60;
  770. //User-defined shortcut keystrokes
  771. vbMenuAccelShiftCtrlF2 = 61;
  772. //User-defined shortcut keystrokes
  773. vbMenuAccelShiftCtrlF3 = 62;
  774. //User-defined shortcut keystrokes
  775. vbMenuAccelShiftCtrlF4 = 63;
  776. //User-defined shortcut keystrokes
  777. vbMenuAccelShiftCtrlF5 = 64;
  778. //User-defined shortcut keystrokes
  779. vbMenuAccelShiftCtrlF6 = 65;
  780. //User-defined shortcut keystrokes
  781. vbMenuAccelShiftCtrlF7 = 66;
  782. //User-defined shortcut keystrokes
  783. vbMenuAccelShiftCtrlF8 = 67;
  784. //User-defined shortcut keystrokes
  785. vbMenuAccelShiftCtrlF9 = 68;
  786. //User-defined shortcut keystrokes
  787. vbMenuAccelShiftCtrlF11 = 69;
  788. //User-defined shortcut keystrokes
  789. vbMenuAccelShiftCtrlF12 = 70;
  790. //User-defined shortcut keystrokes
  791. vbMenuAccelCtrlIns = 71;
  792. //User-defined shortcut keystrokes
  793. vbMenuAccelShiftIns = 72;
  794. //User-defined shortcut keystrokes
  795. vbMenuAccelDel = 73;
  796. //User-defined shortcut keystrokes
  797. vbMenuAccelShiftDel = 74;
  798. //User-defined shortcut keystrokes
  799. vbMenuAccelAltBksp = 75;
  800.  
  801. //Color constants (see also SystemColorConstants).
  802. Enum ColorConstants;
  803. GUID = {AD4EF4DC-FAC9-11CF-8425-00A0C9110056};
  804. //Black.
  805. vbBlack = 0;
  806. //Red.
  807. vbRed = 255;
  808. //Green.
  809. vbGreen = 65280;
  810. //Yellow.
  811. vbYellow = 65535;
  812. //Blue.
  813. vbBlue = 16711680;
  814. //Magenta.
  815. vbMagenta = 16711935;
  816. //Cyan.
  817. vbCyan = 16776960;
  818. //White.
  819. vbWhite = 16777215;
  820.  
  821. //System color constants (see also ColorConstants).
  822. Enum SystemColorConstants;
  823. GUID = {AD4EF4DD-FAC9-11CF-8425-00A0C9110056};
  824. //Scroll-bars gray area color.
  825. vbScrollBars = -2147483648;
  826. //Desktop color.
  827. vbDesktop = -2147483647;
  828. //Active window caption color.
  829. vbActiveTitleBar = -2147483646;
  830. //Inactive window caption color.
  831. vbInactiveTitleBar = -2147483645;
  832. //Menu background color.
  833. vbMenuBar = -2147483644;
  834. //Window background color.
  835. vbWindowBackground = -2147483643;
  836. //Window frame color.
  837. vbWindowFrame = -2147483642;
  838. //Text color in menus.
  839. vbMenuText = -2147483641;
  840. //Text color in windows.
  841. vbWindowText = -2147483640;
  842. //Text color in active caption, size box, scroll-bar arrow box.
  843. vbTitleBarText = -2147483639;
  844. //Active window border color.
  845. vbActiveBorder = -2147483638;
  846. //Inactive window border color.
  847. vbInactiveBorder = -2147483637;
  848. //Background color of multiple document interface (MDI) applications.
  849. vbApplicationWorkspace = -2147483636;
  850. //Background color of items selected in a control.
  851. vbHighlight = -2147483635;
  852. //Text color of items selected in a control.
  853. vbHighlightText = -2147483634;
  854. //Face shading on command buttons.
  855. vbButtonFace = -2147483633;
  856. //Edge shading on command buttons.
  857. vbButtonShadow = -2147483632;
  858. //Grayed (disabled) text.
  859. vbGrayText = -2147483631;
  860. //Text color on push buttons.
  861. vbButtonText = -2147483630;
  862. //Text color in active caption, size box, scroll-bar arrow box.
  863. vbActiveTitleBarText = -2147483639;
  864. //Text color in inactive window caption, size box, scroll-bar arrow box.
  865. vbInactiveTitleBarText = -2147483629;
  866. //Color of text in an inactive caption.
  867. vbInactiveCaptionText = -2147483629;
  868. //Highlight color for 3D display elements.
  869. vb3DHighlight = -2147483628;
  870. //Dark shadow color for three-dimensional display elements.
  871. vb3DFace = -2147483633;
  872. //Color of automatic window shadows.
  873. vb3DShadow = -2147483632;
  874. //Darkest shadow.
  875. vb3DDKShadow = -2147483627;
  876. //Second lightest of the 3D colors after vb3DHilight.
  877. vb3DLight = -2147483626;
  878. //Color of text in ToolTips.
  879. vbInfoText = -2147483625;
  880. //Background color of ToolTips.
  881. vbInfoBackground = -2147483624;
  882.  
  883. //Constants for the Align property.
  884. Enum AlignConstants;
  885. GUID = {1791AB33-2F5A-11CE-8259-00AA006138F9};
  886. //Size and location set at design time or in code.
  887. vbAlignNone = 0;
  888. //Control at top of form (Align).
  889. vbAlignTop = 1;
  890. //Control at bottom of form (Align).
  891. vbAlignBottom = 2;
  892. //Control at left of form (Align).
  893. vbAlignLeft = 3;
  894. //Control at right of form (Align).
  895. vbAlignRight = 4;
  896.  
  897. //Constants for the Alignment property.
  898. Enum AlignmentConstants;
  899. GUID = {AD4EF4DE-FAC9-11CF-8425-00A0C9110056};
  900. //Left justify (Alignment).
  901. vbLeftJustify = 0;
  902. //Right justify (Alignment).
  903. vbRightJustify = 1;
  904. //Center (Alignment).
  905. vbCenter = 2;
  906.  
  907. //Form BorderStyle property constants.
  908. Enum FormBorderStyleConstants;
  909. GUID = {F9C75341-5F26-11CE-95F0-00AA0051E510};
  910. //No border
  911. vbBSNone = 0;
  912. //Fixed single (form BorderStyle).
  913. vbFixedSingle = 1;
  914. //Sizable (form BorderStyle).
  915. vbSizable = 2;
  916. //Fixed double (same as vbFixedDialog).
  917. vbFixedDouble = 3;
  918. //Fixed dialog (form BorderStyle).
  919. vbFixedDialog = 3;
  920. //Fixed Toolwindow (form BorderStyle).
  921. vbFixedToolWindow = 4;
  922. //Sizable Toolwindow (form BorderStyle).
  923. vbSizableToolWindow = 5;
  924.  
  925. //Constants for the BorderStyle property of controls (not Forms).
  926. Enum BorderStyleConstants;
  927. GUID = {AD4EF4DF-FAC9-11CF-8425-00A0C9110056};
  928.  
  929. //Transparent (shape and line BorderStyle).
  930. vbTransparent = 0;
  931. //Solid (shape and line BorderStyle).
  932. vbBSSolid = 1;
  933. //Dash (shape and line BorderStyle).
  934. vbBSDash = 2;
  935. //Dot (shape and line BorderStyle).
  936. vbBSDot = 3;
  937. //Dash-dot (shape and line BorderStyle).
  938. vbBSDashDot = 4;
  939. //Dash-dot-dot (shape and line BorderStyle).
  940. vbBSDashDotDot = 5;
  941. //Inside solid (shape and line BorderStyle).
  942. vbBSInsideSolid = 6;
  943.  
  944. //MousePointer property constants.
  945. Enum MousePointerConstants;
  946. GUID = {AD4EF4E0-FAC9-11CF-8425-00A0C9110056};
  947. //Default (MousePointer).
  948. vbDefault = 0;
  949. //Arrow mouse pointer.
  950. vbArrow = 1;
  951. //Cross mouse pointer.
  952. vbCrosshair = 2;
  953. //I-Beam mouse pointer.
  954. vbIbeam = 3;
  955. //Icon mouse pointer.
  956. vbIconPointer = 4;
  957. //Size mouse pointer.
  958. vbSizePointer = 5;
  959. //Size NE SW mouse pointer.
  960. vbSizeNESW = 6;
  961. //Size N S mouse pointer.
  962. vbSizeNS = 7;
  963. //Size NW SE mouse pointer.
  964. vbSizeNWSE = 8;
  965. //Size W E mouse pointer.
  966. vbSizeWE = 9;
  967. //Up arrow mouse pointer.
  968. vbUpArrow = 10;
  969. //Hourglass mouse pointer.
  970. vbHourglass = 11;
  971. //No drop mouse pointer.
  972. vbNoDrop = 12;
  973. //Arrow and hourglass.
  974. vbArrowHourglass = 13;
  975. //Arrow and question mark.
  976. vbArrowQuestion = 14;
  977. //Size all.
  978. vbSizeAll = 15;
  979. //Custom mouse pointer icon specified by the MouseIcon property.
  980. vbCustom = 99;
  981.  
  982. //DrawMode property constants.
  983. Enum DrawModeConstants;
  984. GUID = {AD4EF4E1-FAC9-11CF-8425-00A0C9110056};
  985. //Black (DrawMode).
  986. vbBlackness = 1;
  987. //Not Merge Pen (DrawMode).
  988. vbNotMergePen = 2;
  989. //Mask Not Pen (DrawMode).
  990. vbMaskNotPen = 3;
  991. //Not Copy Pen (DrawMode).
  992. vbNotCopyPen = 4;
  993. //Mask Pen Not (DrawMode).
  994. vbMaskPenNot = 5;
  995. //Invert (DrawMode).
  996. vbInvert = 6;
  997. //Xor Pen (DrawMode).
  998. vbXorPen = 7;
  999. //Not Mask Pen (DrawMode).
  1000. vbNotMaskPen = 8;
  1001. //Mask Pen (DrawMode).
  1002. vbMaskPen = 9;
  1003. //Not Xor Pen (DrawMode).
  1004. vbNotXorPen = 10;
  1005. //No operation - output remains unchanged (DrawMode).
  1006. vbNop = 11;
  1007. //Merge Not Pen (DrawMode).
  1008. vbMergeNotPen = 12;
  1009. //Copy Pen (DrawMode).
  1010. vbCopyPen = 13;
  1011. //Merge Pen Not (DrawMode).
  1012. vbMergePenNot = 14;
  1013. //Merge Pen (DrawMode).
  1014. vbMergePen = 15;
  1015. //White (DrawMode).
  1016. vbWhiteness = 16;
  1017.  
  1018. //StartUpPosition property constants
  1019. Enum StartUpPositionConstants;
  1020. GUID = {4BAE98E0-29DA-11D0-A369-00A0C90F26FA};
  1021. //Startup position will be set using Top and Left properties
  1022. vbStartUpManual = 0;
  1023. //Startup position will be centered on the owner window
  1024. vbStartUpOwner = 1;
  1025. //Startup position will be centered on the screen
  1026. vbStartUpScreen = 2;
  1027. //Startup position will use Windows default location
  1028. vbStartUpWindowsDefault = 3;
  1029.  
  1030. //DrawStyle property constants.
  1031. Enum DrawStyleConstants;
  1032. GUID = {AD4EF4E2-FAC9-11CF-8425-00A0C9110056};
  1033. //Solid (DrawStyle).
  1034. vbSolid = 0;
  1035. //Dash (DrawStyle).
  1036. vbDash = 1;
  1037. //Dot (DrawStyle).
  1038. vbDot = 2;
  1039. //Dash-dot (DrawStyle).
  1040. vbDashDot = 3;
  1041. //Dash-dot-dot (DrawStyle).
  1042. vbDashDotDot = 4;
  1043. //Invisible (DrawStyle).
  1044. vbInvisible = 5;
  1045. //Inside solid (DrawStyle).
  1046. vbInsideSolid = 6;
  1047.  
  1048. //FillStyle property constants.
  1049. Enum FillStyleConstants;
  1050. GUID = {AD4EF4E3-FAC9-11CF-8425-00A0C9110056};
  1051. //Solid (FillStyle).
  1052. vbFSSolid = 0;
  1053. //Transparent (FillStyle).
  1054. vbFSTransparent = 1;
  1055. //Horizontal line (FillStyle).
  1056. vbHorizontalLine = 2;
  1057. //Vertical line (FillStyle).
  1058. vbVerticalLine = 3;
  1059. //Upward diagonal (FillStyle).
  1060. vbUpwardDiagonal = 4;
  1061. //Downward diagonal (FillStyle).
  1062. vbDownwardDiagonal = 5;
  1063. //Cross (FillStyle).
  1064. vbCross = 6;
  1065. //Diagonal cross (FillStyle).
  1066. vbDiagonalCross = 7;
  1067.  
  1068. //ScaleMode property constants.
  1069. Enum ScaleModeConstants;
  1070. GUID = {AD4EF4E4-FAC9-11CF-8425-00A0C9110056};
  1071. //User (ScaleMode).
  1072. vbUser = 0;
  1073. //Twip (ScaleMode).
  1074. vbTwips = 1;
  1075. //Point (ScaleMode).
  1076. vbPoints = 2;
  1077. //Pixel (ScaleMode).
  1078. vbPixels = 3;
  1079. //Character (ScaleMode).
  1080. vbCharacters = 4;
  1081. //Inch (ScaleMode).
  1082. vbInches = 5;
  1083. //Millimeter (ScaleMode).
  1084. vbMillimeters = 6;
  1085. //Centimeter (ScaleMode).
  1086. vbCentimeters = 7;
  1087. //Himetric (ScaleMode).
  1088. vbHimetric = 8;
  1089. //Units used by the control's container to determine the control's position (ScaleX/ScaleY method, UserControl only)
  1090. vbContainerPosition = 9;
  1091. //Units used by the control's container to determine the control's size (ScaleX/ScaleY method, UserControl only)
  1092. vbContainerSize = 10;
  1093.  
  1094. //Miscellaneous OLE container control properties.
  1095. Enum OLEContainerConstants;
  1096. GUID = {AD4EF4E5-FAC9-11CF-8425-00A0C9110056};
  1097. //OLE container control contains a linked object.
  1098. vbOLELinked = 0;
  1099. //OLE container control contains an embedded object.
  1100. vbOLEEmbedded = 1;
  1101. //OLE container control does not contain an object.
  1102. vbOLENone = 3;
  1103. //OLE container control can contain either a linked or an embedded object.
  1104. vbOLEEither = 2;
  1105. //Object is updated each time the linked data changes.
  1106. vbOLEAutomatic = 0;
  1107. //Object is updated whenever the user saves the linked document.
  1108. vbOLEFrozen = 1;
  1109. //Object is updated only when the Action property is set to 6 (Update).
  1110. vbOLEManual = 2;
  1111. //OLE object is not automatically activated.
  1112. vbOLEActivateManual = 0;
  1113. //Object is activated when the OLE container control gets the focus.
  1114. vbOLEActivateGetFocus = 1;
  1115. //Object is activated when the OLE container control is double-clicked.
  1116. vbOLEActivateDoubleclick = 2;
  1117. //Object is activated based on the object's preferred method of activation.
  1118. vbOLEActivateAuto = 3;
  1119. //Object's image is clipped by the OLE container control's borders.
  1120. vbOLESizeClip = 0;
  1121. //Object's image is sized to fill the OLE container control.
  1122. vbOLESizeStretch = 1;
  1123. //OLE container control is automatically resized to display the entire object.
  1124. vbOLESizeAutoSize = 2;
  1125. //Object's image is stretched but is still shown proportionally correct.
  1126. vbOLESizeZoom = 3;
  1127. //Object's data is displayed in the OLE container control.
  1128. vbOLEDisplayContent = 0;
  1129. //Object's icon is displayed in the OLE container control.
  1130. vbOLEDisplayIcon = 1;
  1131. //Object's data has changed.
  1132. vbOLEChanged = 0;
  1133. //Object's data has been saved by the application that created the object.
  1134. vbOLESaved = 1;
  1135. //Application file containing the linked object's data has been closed.
  1136. vbOLEClosed = 2;
  1137. //Application file containing the linked object's data has been renamed.
  1138. vbOLERenamed = 3;
  1139. //Default action for the object.
  1140. vbOLEPrimary = 0;
  1141. //Activates the object for editing.
  1142. vbOLEShow = -1;
  1143. //Opens the object in a separate application window.
  1144. vbOLEOpen = -2;
  1145. //For embedded objects, hides the application that created the object.
  1146. vbOLEHide = -3;
  1147. //All UI's associated with the object are visible and ready for use.
  1148. vbOLEUIActivate = -4;
  1149. //Object is ready for the user to click inside it and start working with it.
  1150. vbOLEInPlaceActivate = -5;
  1151. //For discarding all record of changes that the object's application can undo.
  1152. vbOLEDiscardUndoState = -6;
  1153. //Grayed menu item.
  1154. vbOLEFlagGrayed = 1;
  1155. //Disabled menu item.
  1156. vbOLEFlagDisabled = 2;
  1157. //Checked menu item.
  1158. vbOLEFlagChecked = 8;
  1159. //Separator bar in menu item list.
  1160. vbOLEFlagSeparator = 2048;
  1161. //Causes control to use memory to store the object while it is loaded.
  1162. vbOLEMiscFlagMemStorage = 1;
  1163. //Forces OLE container control to activate objects in a separate window.
  1164. vbOLEMiscFlagDisableInPlace = 2;
  1165.  
  1166. //Miscellaneous Menu control constants.
  1167. Enum MenuControlConstants;
  1168. GUID = {AD4EF4E6-FAC9-11CF-8425-00A0C9110056};
  1169. //Pop-up menu aligned left.
  1170. vbPopupMenuLeftAlign = 0;
  1171. //Pop-up menu centered.
  1172. vbPopupMenuCenterAlign = 4;
  1173. //Pop-up menu aligned right.
  1174. vbPopupMenuRightAlign = 8;
  1175. //Pop-up menu recognizes left mouse button only.
  1176. vbPopupMenuLeftButton = 0;
  1177. //Pop-up menu recognizes right and left mouse button.
  1178. vbPopupMenuRightButton = 2;
  1179.  
  1180. //Miscellaneous Printer object constants.
  1181. Enum PrinterObjectConstants;
  1182. GUID = {AD4EF4E7-FAC9-11CF-8425-00A0C9110056};
  1183. //Monochrome printer output.
  1184. vbPRCMMonochrome = 1;
  1185. //Color printer output.
  1186. vbPRCMColor = 2;
  1187. //Single-sided printing.
  1188. vbPRDPSimplex = 1;
  1189. //Double-sided horizontal printing.
  1190. vbPRDPHorizontal = 2;
  1191. //Double-sided vertical printing.
  1192. vbPRDPVertical = 3;
  1193. //Documents print with the top at the narrow side of the paper.
  1194. vbPRORPortrait = 1;
  1195. //Documents print with the top at the wide side of the paper.
  1196. vbPRORLandscape = 2;
  1197. //Draft print quality.
  1198. vbPRPQDraft = -1;
  1199. //Low print quality.
  1200. vbPRPQLow = -2;
  1201. //Medium print quality.
  1202. vbPRPQMedium = -3;
  1203. //High print quality.
  1204. vbPRPQHigh = -4;
  1205. //Use paper from the upper bin.
  1206. vbPRBNUpper = 1;
  1207. //Use paper from the lower bin.
  1208. vbPRBNLower = 2;
  1209. //Use paper from the middle bin.
  1210. vbPRBNMiddle = 3;
  1211. //Wait for manual insertion of each sheet of paper.
  1212. vbPRBNManual = 4;
  1213. //Use envelopes from the envelope feeder.
  1214. vbPRBNEnvelope = 5;
  1215. //Use envelopes from the envelope feeder, but wait for manual insertion.
  1216. vbPRBNEnvManual = 6;
  1217. //Use paper from the current default bin (Default).
  1218. vbPRBNAuto = 7;
  1219. //Use paper fed from the tractor feeder.
  1220. vbPRBNTractor = 8;
  1221. //Use paper from the small paper feeder.
  1222. vbPRBNSmallFmt = 9;
  1223. //Use paper from the large paper bin.
  1224. vbPRBNLargeFmt = 10;
  1225. //Use paper from the large capacity feeder.
  1226. vbPRBNLargeCapacity = 11;
  1227. //Use paper from the attached cassette cartridge.
  1228. vbPRBNCassette = 14;
  1229. //Letter, 8 1/2 x 11 in. (PaperSize).
  1230. vbPRPSLetter = 1;
  1231. //+A611Letter Small, 8 1/2 x 11 in. (PaperSize).
  1232. vbPRPSLetterSmall = 2;
  1233. //Tabloid, 11 x 17 in. (PaperSize).
  1234. vbPRPSTabloid = 3;
  1235. //Ledger, 17 x 11 in. (PaperSize).
  1236. vbPRPSLedger = 4;
  1237. //Legal, 8 1/2 x 14 in. (PaperSize).
  1238. vbPRPSLegal = 5;
  1239. //Statement, 5 1/2 x 8 1/2 in. (PaperSize).
  1240. vbPRPSStatement = 6;
  1241. //Executive, 7 1/2 x 10 1/2 in. (PaperSize).
  1242. vbPRPSExecutive = 7;
  1243. //A3, 297 x 420 mm (PaperSize).
  1244. vbPRPSA3 = 8;
  1245. //A4, 210 x 297 mm (PaperSize).
  1246. vbPRPSA4 = 9;
  1247. //A4 Small, 210 x 297 mm (PaperSize).
  1248. vbPRPSA4Small = 10;
  1249. //A5, 148 x 210 mm (PaperSize).
  1250. vbPRPSA5 = 11;
  1251. //B4, 250 x 354 mm (PaperSize).
  1252. vbPRPSB4 = 12;
  1253. //B5, 182 x 257 mm (PaperSize).
  1254. vbPRPSB5 = 13;
  1255. //Folio, 8 1/2 x 13 in. (PaperSize).
  1256. vbPRPSFolio = 14;
  1257. //Quarto, 215 x 275 mm (PaperSize).
  1258. vbPRPSQuarto = 15;
  1259. //10 x 14 in. (PaperSize).
  1260. vbPRPS10x14 = 16;
  1261. //11 x 17 in. (PaperSize).
  1262. vbPRPS11x17 = 17;
  1263. //Note, 8 1/2 x 11 in. (PaperSize).
  1264. vbPRPSNote = 18;
  1265. //Envelope #9, 3 7/8 x 8 7/8 in. (PaperSize).
  1266. vbPRPSEnv9 = 19;
  1267. //Envelope #10, 4 1/8 x 9 1/2 in. (PaperSize).
  1268. vbPRPSEnv10 = 20;
  1269. //Envelope #11, 4 1/2 x 10 3/8 in. (PaperSize).
  1270. vbPRPSEnv11 = 21;
  1271. //Envelope #12, 4 1/2 x 11 in. (PaperSize).
  1272. vbPRPSEnv12 = 22;
  1273. //Envelope #14, 5 x 11 1/2 in. (PaperSize).
  1274. vbPRPSEnv14 = 23;
  1275. //C size sheet (PaperSize).
  1276. vbPRPSCSheet = 24;
  1277. //D size sheet (PaperSize).
  1278. vbPRPSDSheet = 25;
  1279. //E size sheet (PaperSize).
  1280. vbPRPSESheet = 26;
  1281. //Envelope DL, 110 x 220 mm (PaperSize).
  1282. vbPRPSEnvDL = 27;
  1283. //Envelope C3, 324 x 458 mm (PaperSize).
  1284. vbPRPSEnvC3 = 29;
  1285. //Envelope C4, 229 x 324 mm (PaperSize).
  1286. vbPRPSEnvC4 = 30;
  1287. //Envelope C5, 162 x 229 mm (PaperSize).
  1288. vbPRPSEnvC5 = 28;
  1289. //Envelope C6, 114 x 162 mm (PaperSize).
  1290. vbPRPSEnvC6 = 31;
  1291. //Envelope C65, 114 x 229 mm (PaperSize).
  1292. vbPRPSEnvC65 = 32;
  1293. //Envelope B4, 250 x 353 mm (PaperSize).
  1294. vbPRPSEnvB4 = 33;
  1295. //Envelope B5, 176 x 250 mm (PaperSize).
  1296. vbPRPSEnvB5 = 34;
  1297. //Envelope B6, 176 x 125 mm (PaperSize).
  1298. vbPRPSEnvB6 = 35;
  1299. //Envelope, 110 x 230 mm (PaperSize).
  1300. vbPRPSEnvItaly = 36;
  1301. //Envelope Monarch, 3 7/8 x 7 1/2 in. (PaperSize).
  1302. vbPRPSEnvMonarch = 37;
  1303. //Envelope, 3 5/8 x 6 1/2 in. (PaperSize).
  1304. vbPRPSEnvPersonal = 38;
  1305. //U.S. Standard Fanfold, 14 7/8 x 11 in. (PaperSize).
  1306. vbPRPSFanfoldUS = 39;
  1307. //German Standard Fanfold, 8 1/2 x 12 in. (PaperSize).
  1308. vbPRPSFanfoldStdGerman = 40;
  1309. //German Legal Fanfold, 8 1/2 x 13 in. (PaperSize).
  1310. vbPRPSFanfoldLglGerman = 41;
  1311. //User-defined (PaperSize).
  1312. vbPRPSUser = 256;
  1313.  
  1314. //Opcode constants for the PaintPicture method.
  1315. Enum RasterOpConstants;
  1316. GUID = {AD4EF4E8-FAC9-11CF-8425-00A0C9110056};
  1317. //Inverts the destination bitmap.
  1318. vbDstInvert = 5570569;
  1319. //Combines the pattern and the source bitmap.
  1320. vbMergeCopy = 12583114;
  1321. //Combines the inverted source bitmap with the destination bitmap.
  1322. vbMergePaint = 12255782;
  1323. //Copies the inverted source bitmap to the destination.
  1324. vbNotSrcCopy = 3342344;
  1325. //Inverts the result of combining the destination and source bitmaps.
  1326. vbNotSrcErase = 1114278;
  1327. //Combines pixels of the destination and source bitmaps.
  1328. vbSrcAnd = 8913094;
  1329. //Copies the source bitmap to the destination bitmap.
  1330. vbSrcCopy = 13369376;
  1331. //Inverts the destination bitmap; combines the result with the source bitmap.
  1332. vbSrcErase = 4457256;
  1333. //Combines pixels of the destination and source bitmaps.
  1334. vbSrcInvert = 6684742;
  1335. //Combines pixels of the destination and source bitmaps.
  1336. vbSrcPaint = 15597702;
  1337. //Copies the pattern to the destination bitmap.
  1338. vbPatCopy = 15728673;
  1339. //Combines the destination bitmap with the pattern.
  1340. vbPatPaint = 16452105;
  1341. //Combines the inverted source bitmap/pattern with a destination bitmap.
  1342. vbPatInvert = 5898313;
  1343.  
  1344. //Checkbox Value property constants.
  1345. Enum CheckBoxConstants;
  1346. GUID = {AD4EF4E9-FAC9-11CF-8425-00A0C9110056};
  1347. //Unchecked check value.
  1348. vbUnchecked = 0;
  1349. //Checked check value.
  1350. vbChecked = 1;
  1351. //Grayed check value.
  1352. vbGrayed = 2;
  1353.  
  1354. //Constants for the LoadResData and LoadResPicture methods.
  1355. Enum LoadResConstants;
  1356. GUID = {AD4EF4EA-FAC9-11CF-8425-00A0C9110056};
  1357. //Bitmap resource.
  1358. vbResBitmap = 0;
  1359. //Cursor resource.
  1360. vbResIcon = 1;
  1361. //Cursor resource.
  1362. vbResCursor = 2;
  1363.  
  1364. //Button Constants (for CommandButton, CheckBox, and OptionButton).
  1365. Enum ButtonConstants;
  1366. GUID = {AD4EF4EB-FAC9-11CF-8425-00A0C9110056};
  1367. //Standard Windows appearance.
  1368. vbButtonStandard = 0;
  1369. //Graphical appearance (picture, text, and/or non-standard Backcolor).
  1370. vbButtonGraphical = 1;
  1371.  
  1372. //ListBox Constants for the Style property.
  1373. Enum ListBoxConstants;
  1374. GUID = {AD4EF4EC-FAC9-11CF-8425-00A0C9110056};
  1375. //Standard Windows appearance.
  1376. vbListBoxStandard = 0;
  1377. //Entries contain selectable checkboxes.
  1378. vbListBoxCheckbox = 1;
  1379.  
  1380. //Constants for the ParentControlsType property.
  1381. Enum ParentControlsType;
  1382. GUID = {73007F01-3D85-11D0-9469-00A0C91110ED};
  1383. //The ParentControls collection will return the control itself.
  1384. vbNoExtender = 0;
  1385. //The ParentControls collection will return the extender for the control.
  1386. vbExtender = 1;
  1387.  
  1388. //Constants used for LoadPicture Size.
  1389. Enum LoadPictureSizeConstants;
  1390. GUID = {8D2DA731-ED9D-11D0-A1BB-00A0C90F2731};
  1391. //System small icon
  1392. vbLPSmall = 0;
  1393. //System large icon
  1394. vbLPLarge = 1;
  1395. //Shell small icon
  1396. vbLPSmallShell = 2;
  1397. //Shell large icon
  1398. vbLPLargeShell = 3;
  1399. //Custom size
  1400. vbLPCustom = 4;
  1401.  
  1402. //Constants used for LoadPicture ColorDepth.
  1403. Enum LoadPictureColorConstants;
  1404. GUID = {0F2F26F0-ED9E-11D0-A1BB-00A0C90F2731};
  1405. //System chooses best match
  1406. vbLPDefault = 0;
  1407. //2 colors
  1408. vbLPMonochrome = 1;
  1409. //16 colors
  1410. vbLPVGAColor = 2;
  1411. //256 colors
  1412. vbLPColor = 3;
  1413.  
  1414. //Constants used for HitResult parameter of HitTest event
  1415. Enum HitResultConstants;
  1416. GUID = {7C5FCAA0-549F-11D1-A1E1-00A0C90F2731};
  1417. //Outside the object.
  1418. vbHitResultOutside = 0;
  1419. //Within the bounds of the object, but on a transparent area.
  1420. vbHitResultTransparent = 1;
  1421. //Not on the object, but close enough to be considered a hit.
  1422. vbHitResultClose = 2;
  1423. //On the visible area of the object.
  1424. vbHitResultHit = 3;
  1425.  
  1426. //Constants for the App object's LogMode property
  1427. Enum LogModeConstants;
  1428. GUID = {FD062850-343A-11D1-84FB-00A0C90DC8A9};
  1429. //Under Windows 95, messages are logged to the file in the LogPath property. Under Windows NT, messages are logged to the NT Application Event Log (using App.Title as the application source).
  1430. vbLogAuto = 0;
  1431. //Turns all logging off.
  1432. vbLogOff = 1;
  1433. //Forces logging to the file specified by the LogPath property.
  1434. vbLogToFile = 2;
  1435. //Forces logging to the NT event log if running on Windows NT, otherwise logging is ignored.
  1436. vbLogToNT = 3;
  1437. //Indicates that the logfile should be recreated each time the application starts. This value can be combined with other mode options using the OR operator.
  1438. vbLogOverwrite = 16;
  1439. //Indicates that the current thread ID be prepended to the message. This value can be combined with other mode options using the OR operator.
  1440. vbLogThreadID = 32;
  1441.  
  1442. //VB5 version of PropertyBag interface. Use this interface to maintain binary compatibility with VB5 projects that use this interface.
  1443. Dispatch PropertyBag_VB5;
  1444. GUID = {45046D60-08CA-11CF-A90F-00AA0062BB4C};
  1445. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1446. function AddRef: UI4; stdcall;
  1447. function Release: UI4; stdcall;
  1448. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1449. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1450. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1451. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1452. //Returns a persisted value from a PropertyBag class object.
  1453. function ReadProperty(Name: BSTR; out DefaultValue: Variant): Variant; stdcall;
  1454. //Writes a value to be persisted to a PropertyBag class object.
  1455. function WriteProperty(Name: BSTR; Value: Variant; out DefaultValue: Variant); stdcall;
  1456.  
  1457. //A PropertyBag object holds information that is to be persisted across invocations of a control.
  1458. Dispatch _PropertyBag;
  1459. GUID = {4495AD01-C993-11D1-A3E4-00A0C90AEA82};
  1460. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1461. function AddRef: UI4; stdcall;
  1462. function Release: UI4; stdcall;
  1463. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1464. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1465. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1466. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1467. //Returns a persisted value from a PropertyBag class object.
  1468. function ReadProperty(Name: BSTR; out DefaultValue: Variant): Variant; stdcall;
  1469. //Writes a value to be persisted to a PropertyBag class object.
  1470. function WriteProperty(Name: BSTR; Value: Variant; out DefaultValue: Variant); stdcall;
  1471. //A byte array representing the contents of the PropertyBag
  1472. property-get Contents: Variant; stdcall;
  1473. //A byte array representing the contents of the PropertyBag
  1474. property-put Contents(: Variant); stdcall;
  1475.  
  1476. //A PropertyBag object holds information that is to be persisted across invocations of a control.
  1477. CoClass PropertyBag;
  1478. GUID = {D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731};
  1479.  
  1480. //The DataObjectFiles object is a collection of filenames used by the DataObject object (vbCFFiles format only).
  1481. Dispatch DataObjectFiles;
  1482. GUID = {41A7D761-6018-11CF-9016-00AA0068841E};
  1483. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1484. function AddRef: UI4; stdcall;
  1485. function Release: UI4; stdcall;
  1486. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1487. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1488. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1489. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1490. //Returns a specific filename by index from the Files collection of a DataObject object (vbCFFiles format only).
  1491. property-get Item(index: I4): BSTR; stdcall;
  1492. //Returns the number of filenames in the Files collection of a DataObject object (vbCFFiles format only)
  1493. property-get Count: I4; stdcall;
  1494. //Adds a filename to the Files collection of a DataObject object (vbCFFiles format only).
  1495. function Add(Filename: BSTR; out index: Variant); stdcall;
  1496. //Clears all filenames stored in the Files collection of a DataObject object (vbCFFiles format only).
  1497. function Clear; stdcall;
  1498. //Removes a filename from the Files collection of a DataObject object (vbCFFiles format only).
  1499. function Remove(index: Variant); stdcall;
  1500. function _NewEnum: IUnknown; stdcall;
  1501.  
  1502. //The DataObject object is used for specifying formats and data that will be supported for OLE drag and drop operations.
  1503. Dispatch DataObject;
  1504. GUID = {41A7D760-6018-11CF-9016-00AA0068841E};
  1505. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1506. function AddRef: UI4; stdcall;
  1507. function Release: UI4; stdcall;
  1508. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1509. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1510. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1511. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1512. //Clears all data and formats in a DataObject object.
  1513. function Clear; stdcall;
  1514. //Adds a supported format and possibly its data to a DataObject object.
  1515. function SetData(out Value: Variant; out Format: Variant); stdcall;
  1516. //Retrieves data of a specified format from a DataObject object.
  1517. function GetData(Format: I2): Variant; stdcall;
  1518. //Determines if a specified clipboard format is supported by the DataObject object.
  1519. function GetFormat(Format: I2): Bool; stdcall;
  1520. //A collection of filenames used by the vbCFFiles format.
  1521. property-get Files: ^DataObjectFiles; stdcall;
  1522.  
  1523. //The AmbientProperties object allows access to the ambient properties of the container.
  1524. Dispatch AmbientProperties;
  1525. GUID = {B28FA150-0FF0-11CF-A911-00AA0062BB4C};
  1526. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1527. function AddRef: UI4; stdcall;
  1528. function Release: UI4; stdcall;
  1529. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1530. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1531. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1532. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1533. //A color that contains the suggested interior color of the contained control.
  1534. property-get BackColor: OLE_COLOR; stdcall;
  1535. //A string containing the name that the control should display for itself.
  1536. property-get DisplayName: BSTR; stdcall;
  1537. //Returns a Font object.
  1538. property-get Font: ^IFontDisp; stdcall;
  1539. //A color that contains the suggested foreground color of the contained control.
  1540. property-get ForeColor: OLE_COLOR; stdcall;
  1541. //Returns a long value that contains the Locale identification (language and country) of the user.
  1542. property-get LocaleID: I4; stdcall;
  1543. //Returns a boolean value stating whether the control container handles message reflection automatically.
  1544. property-get MessageReflect: Bool; stdcall;
  1545. //Returns a string value that is the name of the coordinate units being used by the container.
  1546. property-get ScaleUnits: BSTR; stdcall;
  1547. //Returns an enumerated value of type TextAlignChoices stating what kind of text alignment the container would like the control to do.
  1548. property-get TextAlign: I2; stdcall;
  1549. //Returns a boolean value indicating whether the control is being used by a form designer or a form user.
  1550. property-get UserMode: Bool; stdcall;
  1551. //Returns a boolean value indicating whether the control should be responsive to the user or not.
  1552. property-get UIDead: Bool; stdcall;
  1553. //Returns a boolean value stating whether the control should show grab handles.
  1554. property-get ShowGrabHandles: Bool; stdcall;
  1555. //Returns a boolean value stating whether the control should show hatching around the control.
  1556. property-get ShowHatching: Bool; stdcall;
  1557. //Returns a boolean value to determine if the control is the default button for the container, and therefore should display itself as the default control.
  1558. property-get DisplayAsDefault: Bool; stdcall;
  1559. //Returns a boolean value stating whether the control’s container handles access keys for the control.
  1560. property-get SupportsMnemonics: Bool; stdcall;
  1561. //Returns/sets an image that contains the palette to use for the control.
  1562. property-get Palette: ^IPictureDisp; stdcall;
  1563. //Returns a boolean value indicating text display direction and control visual appearance on a bidirectional system.
  1564. property-get RightToLeft: Bool; stdcall;
  1565.  
  1566. //A collection object that can contain all the currently selected controls on an object.
  1567. Dispatch SelectedControls;
  1568. GUID = {2CE46480-1A08-11CF-AD63-00AA00614F3E};
  1569. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1570. function AddRef: UI4; stdcall;
  1571. function Release: UI4; stdcall;
  1572. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1573. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1574. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1575. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1576. //Returns the number of members in a collection.
  1577. property-get Count: I4; stdcall;
  1578. //Returns a specific member of a Collection object.
  1579. property-get Item(index: I4): IDispatch; stdcall;
  1580. function _NewEnum: IUnknown; stdcall;
  1581.  
  1582. //A collection that allows access to the other controls in the control's container.
  1583. Dispatch ParentControls;
  1584. GUID = {BE8F9800-2AAA-11CF-AD67-00AA00614F3E};
  1585. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1586. function AddRef: UI4; stdcall;
  1587. function Release: UI4; stdcall;
  1588. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1589. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1590. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1591. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1592. //Returns the number of members in a collection.
  1593. property-get Count: I4; stdcall;
  1594. //Returns a specific member of a collection.
  1595. property-get Item(index: I4): IDispatch; stdcall;
  1596. function _NewEnum: IUnknown; stdcall;
  1597. //Returns/sets whether the ParentControls collection returns the extender or the control itself.
  1598. property-get ParentControlsType: ParentControlsType; stdcall;
  1599. //Returns/sets whether the ParentControls collection returns the extender or the control itself.
  1600. property-put ParentControlsType(: ParentControlsType); stdcall;
  1601.  
  1602. //A collection that allows access to the controls contained within the control that were added to the control by the developer who uses the control.
  1603. Dispatch ContainedControls;
  1604. GUID = {C0324960-2AAA-11CF-AD67-00AA00614F3E};
  1605. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1606. function AddRef: UI4; stdcall;
  1607. function Release: UI4; stdcall;
  1608. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1609. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1610. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1611. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1612. //Returns the number of members in a collection.
  1613. property-get Count: I4; stdcall;
  1614. //Returns a specific member of a collection.
  1615. property-get Item(index: I4): IDispatch; stdcall;
  1616. function _NewEnum: IUnknown; stdcall;
  1617.  
  1618. //DataBindings is a collection of DataBinding objects.
  1619. Dispatch DataBindings;
  1620. GUID = {D4E0F020-720A-11CF-8136-00AA00C14959};
  1621. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1622. function AddRef: UI4; stdcall;
  1623. function Release: UI4; stdcall;
  1624. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1625. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1626. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1627. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1628. //Returns the number of DataBinding objects in this collection.
  1629. property-get Count: I4; stdcall;
  1630. //Returns a specific DataBinding object by index or PropertyName from this collection.
  1631. property-get Item(_Index: Variant): IDispatch; stdcall;
  1632. function _NewEnum: IUnknown; stdcall;
  1633.  
  1634. //An object describing the attributes of the property a control is bound to.
  1635. Dispatch DataBinding;
  1636. GUID = {7500A6BA-EB65-11D1-938D-0000F87557C9};
  1637. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1638. function AddRef: UI4; stdcall;
  1639. function Release: UI4; stdcall;
  1640. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1641. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1642. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1643. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1644. //Returns the name of the property this object refers to.
  1645. property-get PropertyName: BSTR; stdcall;
  1646. //Returns/sets the column name used in binding this property to a recordsource.
  1647. property-get DataField: BSTR; stdcall;
  1648. //Returns/sets the column name used in binding this property to a recordsource.
  1649. property-put DataField(: BSTR); stdcall;
  1650. //Returns/sets a value indicating that data in this property has changed by some process other than by retrieving data from the current record.
  1651. property-get DataChanged: Bool; stdcall;
  1652. //Returns/sets a value indicating that data in this property has changed by some process other than by retrieving data from the current record.
  1653. property-put DataChanged(: Bool); stdcall;
  1654. //Returns the name of the data source control this property is bound to.
  1655. property-get DataSourceName: BSTR; stdcall;
  1656. //Returns the name of the data source control this property is bound to.
  1657. property-put DataSourceName(: BSTR); stdcall;
  1658. //Returns a Boolean to indicate whether the property is a data source
  1659. property-get IsDataSource: Bool; stdcall;
  1660. //Returns a Boolean to indicate if the property is bindable
  1661. property-get IsBindable: Bool; stdcall;
  1662. //Returns/sets the name of the DataMember of the DataSource this property is bound to
  1663. property-get DataMember: DataMember; stdcall;
  1664. //Returns/sets the name of the DataMember of the DataSource this property is bound to
  1665. property-put DataMember(: DataMember); stdcall;
  1666. //Returns/sets the DataFormat object for this property
  1667. property-get DataFormat: ^DataFormat; stdcall;
  1668. //Returns/sets the DataFormat object for this property
  1669. property-putref DataFormat(: ^DataFormat); stdcall;
  1670. //Returns/sets the DataSource object for this property
  1671. property-get DataSource: ^DataSource; stdcall;
  1672. //Returns/sets the DataSource object for this property
  1673. property-putref DataSource(: ^DataSource); stdcall;
  1674.  
  1675. //An object describing a single parameter of an event
  1676. Dispatch EventParameter;
  1677. GUID = {C4D651F0-7697-11D1-A1E9-00A0C90F2731};
  1678. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1679. function AddRef: UI4; stdcall;
  1680. function Release: UI4; stdcall;
  1681. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1682. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1683. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1684. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1685. //The value of the event parameter
  1686. property-get Value: Variant; stdcall;
  1687. //The value of the event parameter
  1688. property-put Value(: Variant); stdcall;
  1689. //The name of the event parameter
  1690. property-get Name: BSTR; stdcall;
  1691.  
  1692. //A collection of EventParameter objects
  1693. Dispatch EventParameters;
  1694. GUID = {C4D651F1-7697-11D1-A1E9-00A0C90F2731};
  1695. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1696. function AddRef: UI4; stdcall;
  1697. function Release: UI4; stdcall;
  1698. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1699. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1700. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1701. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1702. //Returns a specific EventParameter by index or by name
  1703. property-get Item(index: Variant): ^EventParameter; stdcall;
  1704. //The number of EventParameters in the collection
  1705. property-get Count: I4; stdcall;
  1706. function _NewEnum: IUnknown; stdcall;
  1707.  
  1708. //An object describing an event
  1709. Dispatch EventInfo;
  1710. GUID = {C4D651F2-7697-11D1-A1E9-00A0C90F2731};
  1711. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1712. function AddRef: UI4; stdcall;
  1713. function Release: UI4; stdcall;
  1714. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1715. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1716. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1717. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1718. //The name of the event
  1719. property-get Name: BSTR; stdcall;
  1720. //The collection of parameters to the event
  1721. property-get EventParameters: ^EventParameters; stdcall;
  1722.  
  1723. //The Hyperlink object allows browser navigation in a suitable host
  1724. Dispatch Hyperlink;
  1725. GUID = {888A5A60-B283-11CF-8AD5-00A0C90AEA82};
  1726. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1727. function AddRef: UI4; stdcall;
  1728. function Release: UI4; stdcall;
  1729. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1730. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1731. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1732. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1733. //Execute a hyperlink jump forward in the history list.
  1734. function GoForward; stdcall;
  1735. //Execute a hyperlink jump back in the history list.
  1736. function GoBack; stdcall;
  1737. //Execute a hyperlink jump to the specified target.
  1738. function NavigateTo(Target: BSTR; out Location: BSTR; out FrameName: BSTR); stdcall;
  1739.  
  1740. //VB5 version of the AsyncProperty interface. Use this interface to maintain binary compatibility with VB5 projects that use this interface.
  1741. Dispatch AsyncProperty_VB5;
  1742. GUID = {14E469E0-BF61-11CF-8385-8F69D8F1350B};
  1743. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1744. function AddRef: UI4; stdcall;
  1745. function Release: UI4; stdcall;
  1746. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1747. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1748. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1749. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1750. //A Variant containing the results of the asychronous read. This is the default property of the AsyncProperty object.
  1751. property-get Value: Variant; stdcall;
  1752. //An enumeration specifying the type of the data in the Value property.
  1753. property-get AsyncType: AsyncTypeConstants; stdcall;
  1754. //A string containing the property name that was passed in the AsyncRead method.
  1755. property-get PropertyName: BSTR; stdcall;
  1756.  
  1757. //The AsyncProperty object is passed in to the AsyncReadComplete and AsyncReadProgress events, and contains the results of the asynchronous read.
  1758. Dispatch AsyncProperty;
  1759. GUID = {CBB76011-C508-11D1-A3E3-00A0C90AEA82};
  1760. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1761. function AddRef: UI4; stdcall;
  1762. function Release: UI4; stdcall;
  1763. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1764. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1765. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1766. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1767. //A Variant containing the results of the asychronous read. This is the default property of the AsyncProperty object.
  1768. property-get Value: Variant; stdcall;
  1769. //An enumeration specifying the type of the data in the Value property.
  1770. property-get AsyncType: AsyncTypeConstants; stdcall;
  1771. //A string containing the property name that was passed in the AsyncRead method.
  1772. property-get PropertyName: BSTR; stdcall;
  1773. //The Target parameter that was passed to AsyncRead.
  1774. property-get Target: BSTR; stdcall;
  1775. //The total number of bytes that have been read.
  1776. property-get BytesRead: I4; stdcall;
  1777. //The estimated maximum number of bytes to be read.
  1778. property-get BytesMax: I4; stdcall;
  1779. //Protocol specific status information about the AsyncRead.
  1780. property-get Status: BSTR; stdcall;
  1781. //An enumeration specifying the current status of the AsyncRead.
  1782. property-get StatusCode: AsyncStatusCodeConstants; stdcall;
  1783.  
  1784. //A collection of data members to show at design time for this data source.
  1785. Dispatch DataMembers;
  1786. GUID = {83C49FF0-B294-11D0-9488-00A0C91110ED};
  1787. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1788. function AddRef: UI4; stdcall;
  1789. function Release: UI4; stdcall;
  1790. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1791. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1792. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1793. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1794. //Returns a specific data member by index from the DataMembers collection.
  1795. property-get Item(index: I4): DataMember; stdcall;
  1796. //Returns the number of data members in the DataMembers collection.
  1797. property-get Count: I4; stdcall;
  1798. //Adds a data member string to the DataMembers collection.
  1799. function Add(DataMember: DataMember); stdcall;
  1800. //Removes all data member strings from the DataMembers collection.
  1801. function Clear; stdcall;
  1802. //Removes a data member string from the DataMembers collection.
  1803. function Remove(index: Variant); stdcall;
  1804. function _NewEnum: IUnknown; stdcall;
  1805.  
  1806. Interface IClassModuleEvt;
  1807. GUID = {FCFB3D21-A0FA-1068-A738-08002B3371B5};
  1808. //Occurs when an application creates an instance of a Class.
  1809. function Initialize: HResult; stdcall;
  1810. //Occurs when an instance of a Class is removed from memory by setting all the variables that refer to the object to Nothing or when the last reference to the object falls out of scope.
  1811. function Terminate: HResult; stdcall;
  1812.  
  1813. Interface IDataSourceClassEvt;
  1814. GUID = {6B121A01-45DF-11D1-8907-00A0C9110049};
  1815. //Occurs when an application creates an instance of a Class.
  1816. function Initialize: HResult; stdcall;
  1817. //Occurs when an instance of a Class is removed from memory by setting all the variables that refer to the object to Nothing or when the last reference to the object falls out of scope.
  1818. function Terminate: HResult; stdcall;
  1819. //Occurs when a data consumer requests a data member from the Class.
  1820. function GetDataMember(out DataMember: ^BSTR; out Data: ^IDispatch): HResult; stdcall;
  1821.  
  1822. Interface IPersistableClassEvt;
  1823. GUID = {6B121A02-45DF-11D1-8907-00A0C9110049};
  1824. //Occurs when an application creates an instance of a Class.
  1825. function Initialize: HResult; stdcall;
  1826. //Occurs when an instance of a Class is removed from memory by setting all the variables that refer to the object to Nothing or when the last reference to the object falls out of scope.
  1827. function Terminate: HResult; stdcall;
  1828. function InitProperties: HResult; stdcall;
  1829. function ReadProperties(out PropBag: ^^_PropertyBag): HResult; stdcall;
  1830. function WriteProperties(out PropBag: ^^_PropertyBag): HResult; stdcall;
  1831.  
  1832. Interface IPersistableDataSourceClassEvt;
  1833. GUID = {6B121A03-45DF-11D1-8907-00A0C9110049};
  1834. //Occurs when an application creates an instance of a Class.
  1835. function Initialize: HResult; stdcall;
  1836. //Occurs when an instance of a Class is removed from memory by setting all the variables that refer to the object to Nothing or when the last reference to the object falls out of scope.
  1837. function Terminate: HResult; stdcall;
  1838. //Occurs when a data consumer requests a data member from the Class.
  1839. function GetDataMember(out DataMember: ^BSTR; out Data: ^IDispatch): HResult; stdcall;
  1840. function InitProperties: HResult; stdcall;
  1841. function ReadProperties(out PropBag: ^^_PropertyBag): HResult; stdcall;
  1842. function WriteProperties(out PropBag: ^^_PropertyBag): HResult; stdcall;
  1843.  
  1844. Interface IDataProviderClassEvt;
  1845. GUID = {6B121A04-45DF-11D1-8907-00A0C9110049};
  1846. //Occurs when an application creates an instance of a Class.
  1847. function Initialize: HResult; stdcall;
  1848. //Occurs when an instance of a Class is removed from memory by setting all the variables that refer to the object to Nothing or when the last reference to the object falls out of scope.
  1849. function Terminate: HResult; stdcall;
  1850. //Occurs when a data consumer requests a data member from the Class.
  1851. function GetDataMember(out DataMember: ^BSTR; out Data: ^IDispatch): HResult; stdcall;
  1852. //Occurs when a data consumer requests a data member from the Class.
  1853. function DataConnection(ConnectionString: ^BSTR): HResult; stdcall;
  1854.  
  1855. Interface IPersistableDataProviderClassEvt;
  1856. GUID = {6B121A05-45DF-11D1-8907-00A0C9110049};
  1857. //Occurs when an application creates an instance of a Class.
  1858. function Initialize: HResult; stdcall;
  1859. //Occurs when an instance of a Class is removed from memory by setting all the variables that refer to the object to Nothing or when the last reference to the object falls out of scope.
  1860. function Terminate: HResult; stdcall;
  1861. //Occurs when a data consumer requests a data member from the Class.
  1862. function GetDataMember(out DataMember: ^BSTR; out Data: ^IDispatch): HResult; stdcall;
  1863. //Occurs when a data consumer requests a data member from the Class.
  1864. function DataConnection(ConnectionString: BSTR): HResult; stdcall;
  1865. function InitProperties: HResult; stdcall;
  1866. function ReadProperties(out PropBag: ^^_PropertyBag): HResult; stdcall;
  1867. function WriteProperties(out PropBag: ^^_PropertyBag): HResult; stdcall;
  1868.  
  1869. Dispatch _DClass;
  1870. GUID = {FCFB3D2B-A0FA-1068-A738-08002B3371B5};
  1871.  
  1872. Dispatch _DDataBoundClass;
  1873. GUID = {EB41E8C1-4442-11D1-8906-00A0C9110049};
  1874. //Notifies data binding agents that a property on a Class has been changed.
  1875. function PropertyChanged(out PropertyName: BSTR); stdcall;
  1876. //Asks data binding agents if a property bound to a data source can be changed.
  1877. function CanPropertyChange(out PropertyName: BSTR): Bool; stdcall;
  1878.  
  1879. Dispatch _DDataSourceClass;
  1880. GUID = {EB41E8C2-4442-11D1-8906-00A0C9110049};
  1881. //Notifies data consumers that a data member of the Class has changed.
  1882. function DataMemberChanged(out DataMember: DataMember); stdcall;
  1883. //Returns a collection of data members to show at design time for this data source.
  1884. property-get DataMembers: ^DataMembers; stdcall;
  1885.  
  1886. Dispatch _DDataBoundAndDataSourceClass;
  1887. GUID = {EB41E8C3-4442-11D1-8906-00A0C9110049};
  1888. //Notifies data binding agents that a property on a Class has been changed.
  1889. function PropertyChanged(out PropertyName: BSTR); stdcall;
  1890. //Asks data binding agents if a property bound to a data source can be changed.
  1891. function CanPropertyChange(out PropertyName: BSTR): Bool; stdcall;
  1892. //Notifies data consumers that a data member of the Class has changed.
  1893. function DataMemberChanged(out DataMember: DataMember); stdcall;
  1894. //Returns a collection of data members to show at design time for this data source.
  1895. property-get DataMembers: ^DataMembers; stdcall;
  1896.  
  1897. Dispatch _DPersistableClass;
  1898. GUID = {EB41E8C4-4442-11D1-8906-00A0C9110049};
  1899. //Notifies data binding agents that a property on a Class has been changed.
  1900. function PropertyChanged(out PropertyName: BSTR); stdcall;
  1901.  
  1902. Dispatch _DPersistableDataSourceClass;
  1903. GUID = {EB41E8C5-4442-11D1-8906-00A0C9110049};
  1904. //Notifies data binding agents that a property on a Class has been changed.
  1905. function PropertyChanged(out PropertyName: BSTR); stdcall;
  1906. //Notifies data consumers that a data member of the Class has changed.
  1907. function DataMemberChanged(out DataMember: DataMember); stdcall;
  1908. //Returns a collection of data members to show at design time for this data source.
  1909. property-get DataMembers: ^DataMembers; stdcall;
  1910.  
  1911. //An object returned by the Licenses collection that contains license information for a control.
  1912. Dispatch LicenseInfo;
  1913. GUID = {8284B8A2-A8A8-11D1-A3D2-00A0C90AEA82};
  1914. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1915. function AddRef: UI4; stdcall;
  1916. function Release: UI4; stdcall;
  1917. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1918. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1919. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1920. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1921. //The ProgId for the control.
  1922. property-get ProgId: BSTR; stdcall;
  1923. //The license key for the control specified by the ProgId property of this object.
  1924. property-get LicenseKey: BSTR; stdcall;
  1925.  
  1926. //A collection of LicenseInfo objects for use with Controls.Add.
  1927. Dispatch Licenses;
  1928. GUID = {737361EC-467F-11D1-810F-0000F87557AA};
  1929. function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  1930. function AddRef: UI4; stdcall;
  1931. function Release: UI4; stdcall;
  1932. function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  1933. function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  1934. function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  1935. function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  1936. //Returns a specific LicenseInfo object by index from the Licenses collection.
  1937. property-get Item(index: Variant): ^LicenseInfo; stdcall;
  1938. //Returns the number of LicenseInfo objects in the Licenses collection.
  1939. property-get Count: I4; stdcall;
  1940. //Creates a LicenseInfo object and adds it to the Licenses collection.
  1941. function Add(ProgId: BSTR; out LicenseKey: BSTR): BSTR; stdcall;
  1942. //Removes all LicenseInfo objects from the Licenses collection.
  1943. function Clear; stdcall;
  1944. //Removes a LicenseInfo object from the Licenses collection.
  1945. function Remove(index: Variant); stdcall;
  1946. function _NewEnum: IUnknown; stdcall;
  1947.  
  1948. Interface IProjectControl;
  1949. GUID = {27F56410-6161-11D1-946E-00A0C90F26F1};
  1950. //Retain the project data structures on the threads.
  1951. function RetainProject: HResult; stdcall;
  1952. //Allow the project data structures to be unloaded from threads.
  1953. function UnloadProject: HResult; stdcall;
  1954. //Run time project retention is active
  1955. function IsRetained(out Return: ^Bool): HResult; stdcall;
  1956. //Design time project retention is active
  1957. function IsPermanent(out Return: ^Bool): HResult; stdcall;
  1958.  
  1959. Interface IVbeRuntimeHost;
  1960. GUID = {E43FD401-8715-11D1-98E7-00A0C9702442};
  1961. function get_AppObject(pguidTypeInfo: ^GUID; out ppdispAppObject: ^IDispatch): HResult; stdcall;
Advertisement
Add Comment
Please, Sign In to add comment