home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2001 June / HDC50.iso / Runimage / Delphi50 / Help / DEL5CW.TOC (.txt) < prev    next >
Microsoft Windows Help File Content  |  1999-08-11  |  13KB  |  230 lines

  1. :Base del5CW.hlp>main
  2. :Title Component Writer's Guide
  3. 1 Creating Custom Components
  4. 2 Introduction to component creation
  5. 3 Overview of component creation=cwgOverviewOfComponentCreation
  6. 3 The Visual Component Library=cwgTheVisualComponentLibrary
  7. 3 Components and classes=cwgComponentsAndObjects
  8. 3 How do you create components?=cwgWhatKindsOfComponentsCanYouCreate
  9. 3 Modifying existing controls=cwgCustomControls
  10. 3 Creating original controls=cwgWindowedControls
  11. 3 Creating graphic controls=cwgGraphicalControls
  12. 3 Subclassing Windows controls=cwgSubclassedControls
  13. 3 Creating nonvisual components=cwgGenericComponents
  14. 3 What goes into a component?=cwgWhatGoesIntoAComponent
  15. 3 Removing dependencies=cwgRemovingContracts
  16. 3 Properties, methods, and events=cwgPropertiesMethodsAndEvents
  17. 3 Graphics encapsulation=cwgGraphicsEncapsulation
  18. 3 Registration Overview=cwgStreamingAndRegistration
  19. 3 Creating a new component=cwgCreatingANewComponent
  20. 3 Using the Component wizard=cwgUsingTheComponentExpert
  21. 3 Creating a component manually=cwgCreatingAComponentManually
  22. 3 Creating a unit=cwgCreatingAUnit
  23. 3 Deriving the component=cwgDerivingTheComponentObject
  24. 3 Registering the component=cwgRegisteringTheComponent
  25. 3 Testing uninstalled components=cwgTestingUninstalledComponents
  26. 2 Object-oriented programming for component writers
  27. 3 Object-oriented programming for component writers: Overview=cwgOOPForComponentWriters
  28. 3 Defining new classes=cwgDerivingNewObjects
  29. 3 Deriving new classes=cwgDerivingNewTypes
  30. 3 Changing class defaults to avoid repetition=cwgChangingTypeDefaults
  31. 3 Adding new capabilities to a class=cwgAddingNewCapabilities
  32. 3 Declaring a new component class=cwgDeclaringANewComponentType
  33. 3 Ancestors and descendants=cwgAncestorsAndDescendants
  34. 3 Controlling access=cwgControllingAccess
  35. 3 Hiding implementation details=cwgHidingImplementationDetails
  36. 3 Defining the developer's interface=cwgDefiningTheDevelopersInterface
  37. 3 Defining the runtime interface=cwgDefiningTheRunTimeInterface
  38. 3 Defining the design-time interface=cwgDefiningTheDesignTimeInterface
  39. 3 Dispatching methods=cwgDispatchingMethods
  40. 3 Static methods=cwgStaticMethods
  41. 3 Virtual methods=cwgOOPVirtualMethods
  42. 3 Overriding methods=cwgOverridingMethods
  43. 3 Dynamic methods=cwgDynamicMethods
  44. 3 Abstract class members=cwgAbstractClassMembers
  45. 3 Classes and pointers=cwgObjectsAndPointers
  46. 2 Creating properties
  47. 3 Creating properties: Overview=cwgCreatingProperties
  48. 3 Why create properties?=cwgPropertyWhy
  49. 3 Types of properties=cwgPropertyTypes
  50. 3 Publishing inherited properties=cwgPublishingInheritedPropertiesP
  51. 3 Defining component properties=cwgDefiningProperties
  52. 3 The property declaration=cwgPropertyDeclaration
  53. 3 Internal data storage (properties)=cwgPropertyStorage
  54. 3 Direct access=cwgDirectAccess
  55. 3 Access methods (properties)=cwgPropertyMethods
  56. 3 The read method=cwgTheReadMethod
  57. 3 The write method=cwgTheWriteMethod
  58. 3 Default property values=cwgDefaultPropertyValues
  59. 3 Specifying no default value=cwgSpecifyingNoDefaultValue
  60. 3 Creating array properties=cwgCreatingIndexedProperties
  61. 3 Storing and loading properties=cwgStoringAndLoadingProperties
  62. 3 Using the store-and-load mechanism=cwgStoreLoad
  63. 3 Specifying default values=cwgSpecifyingDefaultValues
  64. 3 Determining what to store=cwgStoringUnpublishedData
  65. 3 Initializing after loading=cwgInitializingAfterLoading
  66. 3 Storing and loading unpublished properties=cwgStoringAndLoadingUnpublishedProperties
  67. 3 Creating methods to store and load property values=cwgCreatingMethodsToStoreAndLoadPropertyValues
  68. 3 Overriding the DefineProperties method=cwgOverridingTheDefinePropertiesMethod
  69. 2 Creating events
  70. 3 Creating events: Overview=cwgCreatingEvents
  71. 3 What are events?=cwgWhatAreEvents
  72. 3 Events are method pointers=cwgEventsAreMethodPointers
  73. 3 Calling the click-event handler=cwgEventsAreMethodPointersEx
  74. 3 Events are properties=cwgEventsAreProperties
  75. 3 Event types are method-pointer types=cwgEventTypesAreMethodPointerTypes
  76. 3 Event handler types are procedures=cwgEventHandlerTypesAreProcedures
  77. 3 Event handlers are optional=cwgEventHandlersAreOptional
  78. 3 Implementing the standard events=cwgImplementingTheStandardEvents
  79. 3 Identifying standard events=cwgWhatAreTheStandardEvents
  80. 3 Making events visible=cwgMakingEventHooksVisible
  81. 3 Changing the standard event handling=cwgChangingTheStandardEventHandling
  82. 3 Defining your own events=cwgDefiningYourOwnEvents
  83. 3 Triggering the event=cwgSpecifyingTheEvent
  84. 3 Two kinds of events=cwgTwoKindsOfEvents
  85. 3 Defining the handler type=cwgDefiningTheHandlerType
  86. 3 Declaring the event=cwgDeclaringTheEvent
  87. 3 Calling the event=cwgCallingTheEvent
  88. 3 Empty handlers must be valid=cwgEmptyHandlers
  89. 3 Users can override default handling=cwgUsersCanOverrideDefaultHandling
  90. 2 Creating methods
  91. 3 Creating methods: Overview=cwgCreatingMethods
  92. 3 Avoiding interdependencies=cwgAvoidContracts
  93. 3 Naming methods=cwgNamingMethods
  94. 3 Protecting methods=cwgPublicOrProtected
  95. 3 Methods that should be public=cwgMethodsThatShouldBePublic
  96. 3 Methods that should be protected=cwgMethodsThatShouldBeProtected
  97. 3 Abstract methods=cwgAbstractMethods
  98. 3 Making methods virtual=cwgVirtualMethods
  99. 3 Declaring methods=cwgDeclaringMethods
  100. 2 Using graphics in components
  101. 3 Using graphics in components: Overview=cwgUsingGraphicsInComponents
  102. 3 Overview of graphics=cwgOverviewOfGraphics
  103. 3 Using the canvas=cwgUsingTheCanvas
  104. 3 Working with pictures=cwgWorkingWithPictures
  105. 3 Using a picture, graphic, or canvas=cwgPicturesGraphicsAndCanvases
  106. 3 Loading and storing graphics=cwgGraphicsInFiles
  107. 3 Handling palettes=cwgHandlingPalettes
  108. 3 Specifying a palette for a control=cwgSpecifyingAPaletteForAControl
  109. 3 Responding to palette changes=cwgRespondingToPaletteChanges
  110. 3 Offscreen bitmaps=cwgOffscreenBitmaps
  111. 3 Creating and managing off-screen bitmaps=cwgCreatingAndManagingOffscreenBitmaps
  112. 3 Copying bitmapped images=cwgCopyingBitmappedImages
  113. 3 Responding to changes=cwgRespondingToChanges
  114. 2 Handling messages
  115. 3 Handling messages: Overview=cwgRespondingToMessages
  116. 3 Understanding the message-handling system=cwgUnderstandingMessages
  117. 3 What's in a Windows message?=cwgWhatsInAWindowsMessage
  118. 3 Dispatching messages=cwgDispatchingMessages
  119. 3 Changing message handling=cwgChangingMessageHandling
  120. 3 Overriding the handler method=cwgOverridingTheResponseMethod
  121. 3 Using message parameters=cwgUsingMessageParameters
  122. 3 Trapping messages=cwgTrappingMessages
  123. 3 The WndProc method=cwgTrappingMessagesEx
  124. 3 Creating new message handlers=cwgCreatingNewMessageHandlers
  125. 3 Declaring a message identifier=cwgDeclaringAMessageIdentifier
  126. 3 Declaring a message-structure type=cwgDeclaringAMessageType
  127. 3 Declaring a new message-handling method=cwgDeclaringANewMessageResponseMethod
  128. 2 Making components available at design time
  129. 3 Making components available at design time: Overview=cwgMakingComponentsAvailableAtDesignTime
  130. 3 Registering components=cwgRegisteringComponentsWithTheIDE
  131. 3 Declaring the register procedure=cwgDeclaringTheRegisterFunction
  132. 3 Writing the Register procedure=cwgWritingTheRegisterFunction
  133. 3 Specifying the components=cwgSpecifyingTheComponents
  134. 3 Specifying the palette page=cwgSpecifyingThePalettePage
  135. 3 Using the RegisterComponents function=cwgUsingTheRegisterComponentsFunction
  136. 3 Adding palette bitmaps=cwgAddingPaletteBitmaps
  137. 3 Providing Help for your component=cwgProvidingHelpOnProperties
  138. 3 Creating the help file=cwgCreatingTheHelpFile
  139. 3 Creating the entries=cwgCreatingTheEntries
  140. 3 Making component help context-sensitive=cwgMakingComponentHelpContextSensitive
  141. 3 Adding component help files=cwgAddingComponentHelpToSystemHelp
  142. 3 Adding property editors=cwgAddingPropertyEditors
  143. 3 Deriving a property-editor class=cwgDerivingAPropertyEditorObject
  144. 3 Setting the property value=cwgSettingThePropertyValue
  145. 3 Editing the property as a whole=cwgEditingThePropertyAsAWhole
  146. 3 Specifying editor attributes=cwgSpecifyingEditorAttributes
  147. 3 Registering the property editor=cwgRegisteringThePropertyEditor
  148. 3 Adding component editors=cwgAddingComponentEditors
  149. 3 Adding items to the context menu=cwgAddingItemsToTheContextMenu
  150. 3 Specifying menu items=cwgSpecifyingMenuItems
  151. 3 Implementing commands=cwgImplementingCommands
  152. 3 Changing the double-click behavior=cwgChangingTheDoubleClickBehavior
  153. 3 Adding clipboard formats=cwgAddingClipboardFormats
  154. 3 Registering the component editor=cwgRegisteringTheComponentEditor
  155. 3 Property categories=cwgPropertyCategories
  156. 3 Registering one property at a time=cwgRegisteringOnePropertyAtATime
  157. 3 Registering multiple properties at once=cwgRegisteringMultiplePropertiesAtOnce
  158. 3 Property category classes=cwgPropertyCategoryClasses
  159. 3 Using the IsPropertyInCategory function=cwgUsingTheIsPropertyInCategoryFunction
  160. 3 Compiling components into packages=cwgCompilingComponentsIntoPackages
  161. 2 Modifying an existing component
  162. 3 Modifying an existing component: Overview=cwgModifyingAnExistingComponent
  163. 3 Creating and registering the component=cwgCreatingAndRegisteringTheComponent
  164. 3 Modifying the component object=cwgModifyingTheComponentObject
  165. 3 Overriding the constructor=cwgOverridingTheConstructor
  166. 3 Specifying the new default property value=cwgSpecifyingTheNewDefaultPropertyValue
  167. 2 Creating a graphic component
  168. 3 Creating a graphic component=cwgCreatingAGraphicComponent
  169. 3 Creating and registering the component=cwgCreatingAndRegisteringTheComponentS
  170. 3 Publishing inherited properties=cwgPublishingInheritedPropertiesS
  171. 3 Adding graphic capabilities=cwgAddingGraphicCapabilities
  172. 3 Determining what to draw=cwgDeterminingWhatToDraw
  173. 3 Declaring the property type=cwgDeclaringThePropertyType
  174. 3 Declaring the property=cwgDeclaringTheProperty
  175. 3 Writing the implementation method=cwgWritingTheImplementationMethod
  176. 3 Overriding the constructor and destructor=cwgOverridingTheConstructorAndDestructor
  177. 3 Publishing the pen and brush=cwgPublishingThePenAndBrush
  178. 3 Declaring the class fields=cwgDeclaringTheClassFields
  179. 3 Declaring the access properties=cwgDeclaringTheAccessProperties
  180. 3 Initializing owned classes=cwgInitializingOwnedClasses
  181. 3 Setting owned classes' properties=cwgSettingOwnedClassesProperties
  182. 3 Drawing the component image=cwgDrawingTheComponentImage
  183. 3 Refining the shape drawing=cwgRefiningTheShapeDrawing
  184. 2 Customizing a grid
  185. 3 Customizing a grid: Overview=cwgCustomizingAGrid
  186. 3 Creating and registering the component=cwgCreatingAndRegisteringTheComponentC
  187. 3 Publishing inherited properties=cwgPublishingInheritedPropertiesC
  188. 3 Changing initial values=cwgChangingInitialValues
  189. 3 Resizing the cells=cwgResizingTheCells
  190. 3 Filling in the cells=cwgFillingInTheCells
  191. 3 Tracking the date=cwgTrackingTheDate
  192. 3 Storing the internal date=cwgStoringTheInternalDate
  193. 3 Accessing the day, month, and year=cwgAccessingTheDayMonthAndYear
  194. 3 Generating the day numbers=cwgGeneratingTheDayNumbers
  195. 3 Selecting the current day=cwgSelectingTheCurrentDay
  196. 3 Navigating months and years=cwgNavigatingMonthsAndYears
  197. 3 Navigating days=cwgNavigatingDays
  198. 3 Moving the selection=cwgMovingTheSelection
  199. 3 Providing an OnChange event=cwgProvidingAnOnChangeEvent
  200. 3 Excluding blank cells=cwgExcludingBlankCells
  201. 2 Making a control data aware
  202. 3 Making a control data aware=cwgMakingAControlDataAware
  203. 3 Creating a data-browsing control=cwgCreatingAData-browsingControl
  204. 3 Creating and registering the component=cwgCreatingAndRegisteringTheComponentDB
  205. 3 Making the control read-only=cwgMakingTheControlRead-only
  206. 3 Adding the read-only property=cwgAddingTheReadOnlyProperty
  207. 3 Allowing needed updates=cwgAllowingNeededUpdates
  208. 3 Adding the data link=cwgAddingTheDataLink
  209. 3 Declaring the class field=cwgDeclaringTheClassField
  210. 3 Declaring the access properties for a data-aware control=cwgDeclaringTheAccessProperties2
  211. 3 Initializing the data link=cwgInitializingTheDataLink
  212. 3 Responding to data changes=cwgRespondingToDataChanges
  213. 3 Creating a data-editing control=cwgCreatingAData-editingControl
  214. 3 Changing the default value of FReadOnly=cwgChangingTheDefaultValueOfFReadOnly
  215. 3 Handling mouse-down and key-down messages=cwgHandlingMouse-downAndKey-downMessages
  216. 3 Responding to mouse-down messages=cwgRespondingToMouseDownMessages
  217. 3 Responding to key-down messages=cwgRespondingToKeyDownMessages
  218. 3 Updating the field datalink object=cwgUpdatingTheFielddatalinkObject
  219. 3 Modifying the Change method=cwgModifyingTheChangeMethod
  220. 3 Updating the dataset=cwgUpdatingTheDataset
  221. 2 Making a dialog box a component
  222. 3 Making a dialog box a component: Overview=cwgMakingADialogBoxAComponent
  223. 3 Defining the component interface=cwgDefiningTheComponentInterface
  224. 3 Creating and registering the component=cwgCreatingAndRegisteringTheComponentDlg
  225. 3 Creating the component interface=cwgCreatingTheComponentInterface
  226. 3 Including the form unit=cwgIncludingTheFormUnit
  227. 3 Adding interface properties=cwgAddingInterfaceProperties
  228. 3 Adding the Execute method=cwgAddingTheExecuteMethod
  229. 3 Testing the component=cwgTestingTheComponent
  230.