Index
T
T9 text input mode, 952
tab control, 206, 295
Tab key, 93
TA_BASELINE, 45
TA_BOTTOM, 45
TA_CENTER, 45
TA_LEFT, 45
TA_NOUPDATECP, 45
TA_RIGHT, 45
tabs, 868–869, 950
tap-and-hold gestures, 118
TAPI (Telephony API), 958
taps. See also mouse; Smartphone; touch screens
input focus, 116–117
screen position, 109
single vs. double, 109
taskbarsdescribed, 129
examples, 809–816
overview, 808–809
Tasks item, 875
TA_TOP, 45
TA_UPDATECP, 45
TB_AUTOSIZE, 220
TBBUTTON structure, 213–214
TBBUTTONINFO structure, 943
TB_CHECKBUTTON, 215
TB_GETBUTTONINFO, 214, 942
TB_GETIMAGELIST, 216
TB_GETRECT, 218
TBIF_COMMAND, 943
TBIF_LPARAM, 943
TBIF_STATE, 943
TBIF_TEXT, 943
TB_ISBUTTONCHECKED, 215
TB_LOADIMAGES, 216
TBN_DROPDOWN, 217
TB_SETBUTTONINFO, 214, 942
TB_SETDISABLEDIMAGELIST, 216
TBSTATE_AUTOSIZE, 267
TBSTATE_CHECKED, 214, 267
TBSTATE_DROPDOWN, 267
TBSTATE_ENABLED, 213, 267, 943
TBSTATE_HIDDEN, 213
TBSTATE_INDETERMINATE, 214
TBSTATE_PRESSED, 214
TBS_TRANSPARENT, 260
TBSTYLE_AUTOSIZE, 214
TBSTYLE_BUTTON, 214, 942
TBSTYLE_CHECK, 214
TBSTYLE_CHECKGROUP, 214
TBSTYLE_DROPDOWN, 214, 942
TBSTYLE_GROUP, 214
TBSTYLE_SEP, 214
TCS_BOTTOM, 353
TCS_EX_REGISTERDROP, 295
TCS_HOTTRACK, 295
telephones. See cell phones
Telephony API (TAPI), 958
templatesdialog boxes, 298–302
filenames, 410
Pocket PC, 848–849
temporary files, 410
temporary New menu additions, 849
TerminateInstance function, 33
TerminateProcess function, 497
terminating processes, 497–498
terminating zeros, 186
testing for keyboards, 100
text. See also Short Message Service (SMS)
alignment, 45
background colors, 44
background mode, 46
device context attributes, 44–46
displaying, 43
entry cursor, 41
examples, 46–51
fonts, 52–54
foreground colors, 44
formatting, 43
overview, 43–44
scrolling, 108
Smartphone controls, 951–953
window, 22
TEXT macro, 23, 43, 753
TEXTMETRIC structure, 55, 66
TEXT_PROVIDER_SPECIFIC_DATA structure, 967–969
theme colors, Today screen, 879
third-party drivers, 1046
thread stack, 376
ThreadFunc function, 503
THREAD_PRIORITY_ABOVE_IDLE, 500
THREAD_PRIORITY_ABOVE_NORMAL, 500, 505
THREAD_PRIORITY_BELOW_NORMAL, 500
THREAD_PRIORITY_HIGHEST, 500
THREAD_PRIORITY_IDLE, 500, 504
THREAD_PRIORITY_LOWEST, 500
THREAD_PRIORITY_NORMAL, 500–501, 504
THREAD_PRIORITY_TIME_CRITICAL, 500, 504
ThreadProc routine, 509
threadsaddress space, 1026
described, 489
creating, 502–504
custom input methods, 896
fibers, 507–509
local storage, 509–511
overview, 499
power management, 501
priority changes, 504–505
priority processing, 499–501
resuming, 506
scheduling, 499–502
serial communication, 588
serial port data, 587
suspending, 506
synchronizationcritical sections, 521–523
events, 512–514
examples, 535–549
interlocked variable access, 523–525
mutexes, 520–521
overview, 511
semaphores, 518–520
waiting, 514–518
time quantums, 499, 506
thresholds, memory, 381–384
throw keyword, 549–552
thumb positions, 143, 145
TicksSinceLast method, 1140
timedate and time picker control, 289–291
file access, 393–394
notification start and end, 559
OBEX device discovery, 716
process terminations, 498
SMS time estimates, 973
thread quantums, 499, 506
thread scheduling, 499–502
user input timer resets, 1039
time zone translations, 394
timeout parameter, 516
timeout values, serial communication, 592–593, 598
timeouts, preventing suspension, 1039
timer event notificationsexamples, 566–579
overview, 563
TIMEVAL structure, 650
title bars, 133, 300
tlit field, 877
tlitCustom field, 877
TLS (thread local storage), 509–511
TlsAlloc function, 511
TlsFree function, 511
TlsGetValue function, 511
TLS_MINIMUM_AVAILABLE, 510
TlsSetValue function, 511
tmExternalLeading field, 56, 66
tmHeight field, 56, 66
Today screendebugging, 881
described, 833
examples, 881–895
implementing, 876–880
item window, 878–879
options dialog, 880
overview, 875
refreshing, 880
registering, 880
user interaction, 879
Today screen Control Panel applet, 875, 877, 880–881
Today title bar, 875
TODAYDRAWWATERMARKINFO structure, 879
TODAYLISTITEM structure, 876, 878, 880, 894
TODAYLISTITEMTYPE enumeration, 877
TODAYM_DRAWWATERMARK, 879
TODAYM_GETCOLOR, 879
toggled state, key, 98
tool tip control, 207
toolbar control, 206, 296
tooltips, 219, 296
top-down Start menu, 833
top-level forms, 1133
top-level windows, 23, 129
ToString method, 1125
touch panel drivers, 1046
touch screensexamples, 118–127
inking, 110–116
input focus, 116–117
messages, 110
overview, 4, 110
right-button clicks, 117–118
stylus, 110
tap-and-hold gestures, 118
taps, 109, 116–117
TPMPARAMS structure, 181, 218
TPM_RETURNCMD, 181
TPM_VERTICAL, 218
trackbar control, 206, 295
TrackingPopupMenu function, 181
TrackPopupMenuEx function, 218
transferring data, sockets, 644
transferring files. See Object Exchange (OBEX)
transition key state, 97
TranslateAccelerator function, 185
TranslateMessage function, 24, 307
translating file times, 394
translating virtual key codes, 99
TransmitCommChar function, 587, 597
TRANSPARENT, 879
transparent, 46, 73, 89
TransparentImage function, 73
transport technologies. See device-to-device communication
tree view control, 206, 296
triggering notifications. See notifications
TRIVERTEX structure, 81
TrueType fonts, 52, 54
TRUNCATE_EXISTING, 388, 442
truncating files, 392
trusted modules, 525–527, 995
try keyword, 549–556
TryEnterCriticalSection function, 522
tszAppName field, 973
tszParams field, 973
tszProtocolName field, 973
TVS_CHECKBOXES, 296
TVS_SINGLESEL, 296
TVS_TRACKSELECT, 296
TWOSTOPBITS, 591
Type field, 370
Type parameter, 641