📄 book-index.html
字号:
<DD>CFF_SOURCEFILE structure, 415
<DD>CHECKED, 76
<DD><TT>CheckMenuItem</TT>, 102
<DD><TT>CheckMenuRadioItem</TT>, 102
<DD>Child controls, 41–45
<DL>
<DD>adding to command bar, 79–80
<DD>aliases, 51
<DD>classes, 42
</DL>
<DD>CHOOSECOLOR structure, 66–68
<DD><TT>ChooseFont</TT>, 60
<DD>Class ID, 370
<DD>Class identifiers, 369
<DD>Class name, 222
<DD><TT>ClientToScreen</TT>, 99
<DD>Close button, 85–86
<DD><TT>CloseHandle</TT> function, 201–202
<DD>CM_VOICE_RECORDER, 349–350
<DD>Color dialog, 66–68
<DD>Compatibility, backward, 194
<DD>Combo boxes, inserting into command bar, 84–85
<DD>Command bands, 140–143
<DL>
<DD>functions, 142–143
</DL>
<DD><TT>CommandBands_AddAdornments</TT>, 142
<DD><TT>CommandBands_AddBands</TT>, 142
<DD><TT>CommandBands_Create</TT>, 142–143
<DD><TT>CommandBands_GetCommandBar</TT>, 143
<DD><TT>CommandBands_GetRestoreInformation</TT>, 143
<DD><TT>CommandBands_Height</TT>, 143
<DD><TT>CommandBands_IsVisible</TT>, 143
<DD><TT>CommandBands_Show</TT>, 143
<DD>Command bar:
<DL>
<DD>adding controls to, 79–80
<DD>buttons, adding tool tips, 86–87
<DD>creating, 77–78
<DD>functions, 87–88
<DD>inserting adornments, 85–87
<DD>inserting buttons, 80–84
<DD>inserting combo boxes, 84–85
<DD>inserting menu into, 78–79
</DL>
<DD><TT>CommandBar_AddAdornments</TT>, 85
<DD><TT>CommandBar_AddBitmap</TT>, 83–84
<DD><TT>CommandBar_AddButtons</TT>, 83–84
<DD><TT>CommandBar_AddToolTips</TT>, 86
<DD>Command bar control, 71–74
<DD><TT>CommandBar_Create</TT>, 77–78
<DD><TT>CommandBar_Destroy</TT>, 88
<DD><TT>CommandBar_DrawMenuBar</TT>, 88
<DD><TT>CommandBar_GetMenu</TT>, 88
<DD><TT>CommandBar_Height</TT>, 88
<DD><TT>CommandBar_InsertComboBox</TT>, 84
<DD><TT>CommandBar_InsertMenubar</TT>, 78–79
<DD><TT>CommandBar_IsVisible</TT>, 88
<DD><TT>CommandBar_Show</TT>, 88
<DD>Command identifier, 42
<DD>COMMCTRL.H, 283
<DD>COMMDLG.DLL, 60
<DD>Common controls, 45–48, 105–106
<DL>
<DD>classes, 45
<DD>command bands, 140–143
<DD>creating, 107
<DD>custom draw service, 276
<DD>date time picker control, 123–134
<DD>library, 46
<DD>notifications, responding to, 46–48
<DD>rebar controls, 134–140
<DD><I>see also</I> Month calendar control
</DL>
<DD>Communication APIs, 6
<DD>Configuration, selecting target build, 9
<DD>Configuration combo box, adding manually, 9
<DD>Conflict resolution, 399–402
<DD>Contacts database, 213–218
<DL>
<DD>address cards, 215–216
<DD>API, 218–219
<DD>functions, 216–218
</DL>
<DD>Control classes, loading, 107
<DD>CONTROL.H, 302
<DL>
<DD>indices, 306
</DL>
<DD>Control identifier, 42
<DD>CONTROL keyword, 89
<DD>CONTROL statement, 50
<DD><TT>ControlWndProc</TT>, 301
<DD><TT>CopyFile</TT> function, 178
<DD>Copying, data synchronization, 381–383
<DD><TT>CopyNoteFromOtherProcess</TT>, 439, 441
<DD>Copy Note menu option, 438
<DD><TT>CopyObject</TT>, 381
<DD>CREATE_ALWAYS, 167
<DD><TT>CreateCompatibleBitmap</TT> function, 263
<DD><TT>CreateCompatibleDC</TT> function, 263
<DD><TT>CreateDialog</TT>, 57–58
<DD><TT>CreateDirectory</TT> function, 168
<DD>CREATE_EXISTING, 167
<DD><TT>CreateFileMapping</TT>, 434–435, 439
<DD>Create Helper Process option, 437
<DD><TT>CreateMenu</TT>, 102
<DD>CREATE_NEW, 167
<DD><TT>CreatePopupMenu</TT>, 102
<DD>CREATESTRUCT structure, 28–29
<DD><TT>CreateWindow</TT>, 23–24, 27–31, 42
<DL>
<DD><TT>hMenu</TT> parameter, 70
</DL>
<DD><TT>CreateWindowEx</TT>, 28–31, 42
<DL>
<DD>creating dialog box, 51
</DL>
<DD>CStore, 382–383
<DD>Current record pointer, 192
<DD>CUSTDRAW.EXE, 285–286
<DD>Custom button control:
<DL>
<DD>implementing, 300–310
<DD>styles, 291, 302–303
</DL>
<DD>Custom controls, 289–311
<DL>
<DD>definition, 289
<DD>DLL basics, 293–298
<DD>example, 290–291
<DD>handling button presses, 307–310
<DD><TT>InitCustomButton</TT> function, 301–302
<DD>packaging as DLL, 291–298
<DD>sample application, 310
<DD>using extra window words, 304–307
</DL>
<DD>Custom draw service, 275–288
<DL>
<DD>common controls, 276
<DD>example, 285–286
<DD>notification, 277–281
<DL>
<DD>responding to, 281–284
</DL>
<DD>trackbar control, 276–277
<DD>WM_NOTIFY message, 278–279
</DL>
</DL>
<P><FONT SIZE="+1"><B>D</B></FONT></P>
<DL>
<DD>Data:
<DL>
<DD>properties, 191
<DD>transferring, 388–392
</DL>
<DD>Databases, 185–219
<DL>
<DD><TT>CeOpenDatabase</TT> function, 201–202
<DD><TT>CloseHandle</TT> function, 201–202
<DD>contacts database, 213–218
<DD>creating, 197–198
<DD>design, 194–195
<DD>enumeration, 211–213
<DD>managing records, 206–208
<DD>notifications, 213–214
<DD><TT>OpenDatabase</TT> function, 202–203
<DD>phone list application, 186–191
<DD>record properties, internal representation, 195–197
<DD>searching for records, 208–211
<DD>sorting, 198–201
<DD>technology, 193
</DL>
<DD>Data packets, 363
<DD>Data store, 362
<DL>
<DD>reporting changes, 386–387
<DD>synchronizing device changes, 395–397
</DL>
<DD>Data synchronization, 359–402
<DL>
<DD>conflict resolution, 399–402
<DD>copying items, 381–383
<DD>enumerating objects, 380–386
<DD><TT>GetConflictInfo</TT> method, 400–402
<DD>notifying service manager, 392–395
<DD>programming device service providers, 394–399
<DD>reconstructing folders and items, 377–380
<DD>reporting desktop data store changes, 386–387
<DD>setting options, 384–386
<DD>synchronizing device data store changes, 395–397
<DD>transferring data, 388–392
<DD><I>see also</I> ActiveSync
</DL>
<DD>Dates, custom formats, 128–129
<DD>datetime.h, 130–131
<DD>DATETIMEPICK_CLASS, 124
<DD>Date time picker control, 123–134
<DL>
<DD>complete sample application, 129–134
<DD>custom date time formates, 128–129
<DD>drop-down month calendar control version, 125
<DD>example, 126–128
<DD>messages, 130
<DD>notifications, 131
<DD>styles, 125–126
</DL>
<DD>Day states, 109
<DD>DBTN_TOGGLE, 309–310
<DD>DB_TYPE_PAYROLL, 198
<DD>DB_TYPE_PHONE_LIST, 198
<DD>Debugging, 12–13
<DD>DefaultIcon subkey, 318
<DD><TT>DefDlgProc</TT>, 52
<DD><TT>DefWindowProc</TT>, 25–26, 52, 269
<DD><TT>DeleteFile</TT>, 180
<DD><TT>DeleteMenu</TT>, 102
<DD>Deleting:
<DL>
<DD>files and directories, 156
<DD>registry keys, 239–240
</DL>
<DD>De-serialization, 388
<DD>Desktop service provider, registering, 369–372
<DD>Destination file, 411
<DD><TT>DestroyWindow</TT>, 58
<DD>Device configuration, building application for, 10–12
<DD>Device driver layer, 6
<DD>Device service provider:
<DL>
<DD>exported functions, 395
<DD><TT>GetObjTypeInfo</TT> function, 398–399
<DD><TT>InitObjType</TT> function, 397–398
<DD>programming, 394–399
<DD>registering, 373–374
</DL>
<DD>DEVSETUP.EXE, 373
<DD>Dialog box, 48–59
<DL>
<DD><TT>IsDialogMessage</TT> function, 56–57
<DD>modal, 48–49
<DL>
<DD>invoking and destroying, 55–56
<DD>resource definition, 50
</DL>
<DD>modeless, 48–49, 56–59
<DL>
<DD>creating and destroying, 57–59
</DL>
<DD>procedure, 51–52
<DD>resources, 49–51
<DD>WM_INITDIALOG message, 53–55
</DL>
<DD><TT>DialogBox</TT>, 52, 55–56
<DD>Dialog class, private, 52
<DD>Dialog procedure, 51–52
<DD>Dialogs:
<DL>
<DD>Color, 66–68
<DD>common, 59–61
</DL>
<DD>DIALOGS.EXE, 63–65
<DD>Dialog units, 50
<DD>Directory:
<DL>
<DD>creating, 156, 168
<DD>definition, 153
<DD>deleting, 156, 180
<DD>renaming, 156–158, 179–180
</DL>
<DD>Disabling, menu items, 100–101
<DD>DISCARDABLE keyword, 75
<DD>DISPLAYCLASS, 319
<DD>DLL, 293–298
<DL>
<DD>benefits, 298
<DD>dynamic linking, 294–295
<DD>entry point, 296–298
<DL>
<DD>changing function name, 297
</DL>
<DD>exporting functions, 296
<DD>initializing, 298–300
<DD>packaging custom control as, 291–298
<DD>rich ink control, 333
<DD>static linking, 293–294
</DL>
<DD><TT>DllMain</TT>, 297–298
<DD>Downloading, automatic, 13
<DD>DRAWITEMSTRUCT structure, 248, 252–253
<DD><TT>DrawMenuBar</TT>, 102
<DD>Draw stages, global, 278–279
<DD>Drop-down menus, 74
<DD>DTM_ADDTEXT, 319
<DD>DTM_ADDTEXT message, 321
<DD>DTM_ADDTEXTW, 319
<DD>DTM_ADDTEXTW message, 321
<DD>DTM_IMAGEFAIL, 326
<DD>DTM_SETFORMAT message, 124, 129
<DD>DTM_SETIMAGE message, 326–327
<DD>DTS_APPCANPARSE, 125
<DD>DTS_LONGDATEFORMAT, 125
<DD>DTS_SHORTDATEFORMAT, 125
<DD>DTS_SHOWNONE, 125
<DD>DTS_TIMEFORMAT, 125–126
<DD>DTS_UPDOWN, 126
<DD>DWORD value, 227–228
<DD>Dynamic linking, 294–295
</DL>
<P><FONT SIZE="+1"><B>E</B></FONT></P>
<DL>
<DD><TT>EditDlgProc</TT>, 175–177
<DD>Editing, files, 158–159
<DD>Empty File, 156–157
<DD>Empty Folder, 156–157
<DD>Emulation environment, 150
<DL>
<DD>Palm-size PCs, 330
</DL>
<DD><TT>EnableMenuItem</TT>, 102
<DD><TT>EnableMenuItemI</TT> function, 101–102
<DD>Enabling, menu items, 100–101
<DD><TT>EndDialog</TT>, 55
<DD>End of file marker, 172
<DD>Enter a Note option, 436–437
<DD>Entry point, 31–34
<DL>
<DD>DLL, 296–298
</DL>
<DD>Enumeration context, 211
<DD>Exit button, 343–343
<DD>Extra window word, 306
</DL>
<P><FONT SIZE="+1"><B>F</B></FONT></P>
<DL>
<DD>File:
<DL>
<DD>attributes, 160–162
<DD>copying, 178
<DD>creating, 156
<DD>creating and opening, 166–168
<DD>definition, 153
<DD>deleting, 156, 180
<DD>editing, 158–159
<DD>properties, examining, 159
<DD>random access, 172–174
<DD>renaming, 156–158, 179–180
<DD>search for flash card, 182
<DD>searching for, 162–165
<DD>transferring, 150–151
<DD>writing data to, 174
</DL>
<DD>FILE_BEGIN, 173
<DD>File converters. <I>See</I> File filters
<DD>FILE_CURRENT, 173
<DD>FILE_END, 173
<DD>File filters, 403, 409–411
<DL>
<DD>CFF-CONVERTINFO structure, 413–415
<DD>CFF_DESTINATIONFILE structure, 415
<DD>CFF_SOURCEFILE structure, 415
<DD>example, 415–417
<DD>export, 411
<DD>ICeFileFilter interface, 412–415
<DD>imnport, 410
<DD>registering, 417–419
<DD>sample, 411–417
<DD>type names, 413
</DL>
<DD>FILE_FLAG_RANDOM_ACCESS, 167
<DD>FILE_FLAG_WRITE_THROUGH, 167
<DD>File handles, 159–160
<DD>File mapping, creating, 434–435
<DD>File mapping object, 433
<DL>
<DD>naming, 434
</DL>
<DD>File Open dialog, 59–60, 61
<DL>
<DD>selecting HTML files, 317
</DL>
<DD>File pointer, 171
<DD>FILE_SHARED_READ, 166
<DD>FILE_SHARED_WRITE, 166
<DD>FILESYS.EXE, 154–155
<DL>
<DD>creating files and directories, 156
<DD>deleting files and directories, 156
<DD>editing files, 158–159
<DD>examining file properties, 159
<DD>renaming files and directories, 156–158
</DL>
<DD>File System, 153–183
<DL>
<DD>creating and opening files, 166–168
<DD>creating directories, 168
<DD>deleting files and directories, 180
<DD>Explorer application, 154–159
<DL>
<DD>creating new files and directories, 168–171
<DD>example, 175–177
</DL>
<DD>file attributes, 160–162
<DD>file handles, 159–160
<DD>flash memory cards, 180–181
<DD><TT>ReadFile</TT> function, 172–173
<DD>remote, accessing, 408
<DD>searching for files, 162–165
</DL>
<DD>File view, creating, 435–436
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -