7.16 Numeric Text Items 193
7.17 Multiline Text Items 193
7.18 Drop Target Items 194
7.18.1 Programming a Panel Drop Target Item 196
7.18.1.1 Create the drop target item 196
7.18.1.2 Specify the glyphs 196
7.18.1.3 Create the drag and drop object 197
7.18.1.4 Define the drop target item’s requestor 197
7.18.1.5 Controlling the glyphs 198
7.18.1.6 Dropping on the drop target 198
7.18.1.7 Dragging from the drop target item 198
7.18.2 Drop Target Notification 198
7.19 Advanced Panel Usage 199
7.19.1 Attaching Data to Panel Items 199
7.19.2 Using PANEL_REPAINT_PROC 202
7.19.3 Painting Panel Items 205
7.19.4 Panel Event Handling 205
7.19.5 Using an Interpose Function 207
7.19.6 Using PANEL_BACKGROUND_PROC 207
7.19.7 Using PANEL_EVENT_PROC 207
7.19.8 Event Handling Example 208
7.20 Panel Package Summary 209
Chapter 8 Text Subwindows 215
8.1 Creating Text Subwindows 216
8.2 Setting Text Subwindow Attributes 216
8.3 Text Subwindow Contents 216
8.4 Editing a Text Subwindow 217
8.4.1 Loading a File 217
8.4.2 Checking the Status of the Text Subwindow 218
8.4.3 Writing to a Text Subwindow 219
8.4.3.1 Setting the insertion point 219
8.4.4 Reading from a Text Subwindow 219
8.4.5 Deleting Text 220
8.4.6 Emulating an Editing Character 221
8.4.7 Replacing Characters 221
8.4.8 The Editing Log 222
8.4.9 Which File is Being Edited? 222
8.4.9.1 Interactions with the file system 223
8.5 Saving Edits in a Subwindow 223
8.5.1 Storing Edits 223
8.5.2 Discarding Edits 224
8.6 Setting the Contents of a Text Subwindow ...