home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q102 / 9 / 78.TXT < prev    next >
Encoding:
Text File  |  1994-02-19  |  15.4 KB  |  426 lines

  1. DOCUMENT:Q102978  18-FEB-1994  [W_NT]
  2. TITLE   :REG: User Preferences Entries, PART 3
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Windows NT operating system version 3.1
  12.  - Windows NT Advanced Server version 3.1
  13.  
  14. The article contains REGISTRY entries for User Preferences, Part 3. These
  15. subgroups are included:
  16.  
  17.  - International Entry Values for Users
  18.  - Keyboard and Keyboard Layout Entries for Users
  19.  - Mouse Entries for Users
  20.  - Multimedia and Sound Entries for Users
  21. --------------------------------------------------------------
  22.  
  23. This is the third of five articles on the User Preferences entries; for the
  24. other entries, see "User Preferences Entries, Part 1," and "User
  25. Preferences Entries, Part 2," "User Preferences Entries, Part 4," and "User
  26. Preferences Entries, Part 5".
  27.  
  28. REGISTRY ENTRIES FOR USER PREFERENCES
  29. =====================================
  30.  
  31. The information presented here is primarily for troubleshooting, showing
  32. the default entry values and explaining the meaning of important entries.
  33. There are no hidden values that you can set for user preferences. All of
  34. these values can be set using the icons in Control Panel or the tools in
  35. the Administrative Tools group, or other programs provided with Windows NT.
  36.  
  37. All Registry paths shown here are for HKEY_CURRENT_USER, to show how you
  38. can view entries for the currently logged on user. However, most of these
  39. entries also appear in HKEY_USERS\.DEFAULT, where changing entries will
  40. change values for the default user profile.
  41.  
  42. INTERNATIONAL ENTRY VALUES FOR USERS
  43. ====================================
  44.  
  45. The International subkey describes how to display dates, times, currency,
  46. and other items for a specific country, under the following Registry path:
  47.  
  48.    HKEY_CURRENT_USER\Control Panel\International
  49.  
  50. The International\Sorting Order key is not used in this version of Windows
  51. NT.
  52.  
  53. The following table summarizes entry values under this subkey. All data
  54. types are REG_SZ. To change any of these items, choose the International
  55. icon in Control Panel.
  56.  
  57. iCountry   REG_SZ   country
  58. ---------------------------
  59. The U.S. English default is 1.
  60.  
  61. Specifies the country code. This number matches the countryÆs international
  62. telephone code, except for Canada, which is 2.
  63.  
  64. iCurrDigits   REG_SZ   number
  65. -----------------------------
  66. The U.S. English default is 2.
  67.  
  68. Specifies the number of digits to put after the decimal separator in
  69. currency.
  70.  
  71. iCurrency   REG_SZ   number
  72. ---------------------------
  73. The U.S. English default is 0. The actual currency symbol is specified by
  74. the sCurrency value.
  75.  
  76.  
  77. Specifies a positive currency format, where 0 = $2, 1 = 2$, 2 = $ 2, and 3
  78.  
  79. = 2 $. iDate   REG_SZ   number
  80. -----------------------
  81. The U.S. English default is 0. The actual date divider is specified by the
  82. sShortDate value.
  83.  
  84. Specifies a numerical date format for compatibility with Windows 2.x, where
  85. 0 = 12/31/90, 1 = 31/12/90, and 2 = 90/12/31.
  86.  
  87. iDigits   REG_SZ   number
  88. -------------------------
  89. The U.S. English default is 2.
  90.  
  91. Specifies the number of digits to display after the decimal separator in
  92. numbers.
  93.  
  94. iLZero   REG_SZ   0 or 1
  95. ------------------------
  96. The U.S. English default is 1. The actual decimal separator is specified by
  97. the sDecimal value.
  98.  
  99. Specifies whether to put leading zeros in decimal numbers, where 0 = .7 and
  100. 1 = 0.7.
  101.  
  102. iMeasure   REG_SZ   0 or 1
  103. --------------------------
  104. The U.S. English default is 1.
  105.  
  106. Specifies the measurement system as metric or English, where 0 = metric and
  107. 1 = English.
  108.  
  109. iNegCurr   REG_SZ   number
  110. --------------------------
  111. The U.S. English default is 1. The actual currency symbol is specified by
  112. the sCurrency  value.
  113.  
  114. Specifies a negative number format, where:
  115.  
  116.    0 = ($1)   4 = (1$)   8 = -1 $   12 = $ -1.1
  117.    1 = -$1   5 = -1$   9 = -$ 1   13 = 1.1- $
  118.    2 = $-1   6 = 1-$   10 = 1 $-   14 = ($ 1.1)
  119.    3 = $1-   7 = 1$-   11 = $ 1-   15 = (1.1 $)
  120.  
  121. iTime   REG_SZ   number
  122. -----------------------
  123. The U.S. English default is 0. The actual time separator is specified by
  124. the sTime value.
  125.  
  126. Specifies whether to format time using a 12-hour or 24-hour clock, where 0
  127. = 1:00 (12-hour clock) and 1 = 13:00 (24-hour clock).
  128.  
  129. iTLZero   REG_SZ   number
  130. -------------------------
  131.  The U.S. English default is 0. The actual time separator is specified by
  132. the sTime value.
  133.  
  134. Specifies whether to put leading zeros in time, where 0 = 9:15 and 1 =
  135. 09:15.
  136.  
  137. Locale   REG_SZ   number
  138. ------------------------
  139. The U.S. English default is 00000409.
  140.  
  141. Specifies the current userÆs locale ID for the local language preferences,
  142. based on values defined in CurrentControlSet\Control\Nls\Language.
  143.  
  144. s1159   REG_SZ   string
  145. -----------------------
  146. The U.S. English default is AM.
  147.  
  148. Specifies the time marker to use in time strings before noon in the 12-hour
  149. time format.
  150.  
  151. s2359   REG_SZ   string
  152. -----------------------
  153.  
  154. Specifies the time marker to use in time strings after noon in the 12-hour
  155. format or that follows all times in the 24-hour format. The U.S. English
  156. default is PM.
  157.  
  158. sCountry   REG_SZ   string
  159. --------------------------
  160.  The U.S. English default is United States.
  161.  
  162. Specifies the name of the country whose standard value you want to use.
  163.  
  164. sCurrency   REG_SZ   string
  165. ---------------------------
  166. The U.S. English default is $.
  167.  
  168. Specifies the currency symbol you want to use.
  169.  
  170. sDate   REG_SZ   string
  171. -----------------------
  172. The U.S. English default is /.
  173.  
  174. Specifies the symbol separating numbers for the short date.
  175.  
  176. sDecimal   REG_SZ   string
  177. --------------------------
  178. The U.S. English default is . (a period).
  179.  
  180. Specifies the punctuation used to separate the fractional part of a decimal
  181. number from the whole number part.
  182.  
  183. sLanguage   REG_SZ   string
  184. ---------------------------
  185.  
  186. Specifies the language you want to work in. Windows applications that
  187. provide language specific tasks, such as sorting or spell checking, use
  188. this entry. The U.S. English default is enu. Values for the locales
  189. supported for the first version of Windows NT are the following:
  190.  
  191.    csy = Czech                     rc = French (Canadian)
  192.    dan = Danish                   frs = French (Swiss)
  193.    deu = German                   hun = Hungarian
  194.    des = German (Swiss)           isl = Icelandic
  195.    dea = German (Austrian)        ita = Italian
  196.    ell = Greek                    its = Italian (Swiss)
  197.    ena = English (Australia)      nlb = Dutch (Belgian)
  198.    enc = English (canada)         nld = Dutch
  199.    eng = English (U.K.)           non = Norwegian (Nynorsk)
  200.    eni = English (Irish)          nor = Norwegian (Bokmal)
  201.    enu = English (U.S.)           plk = Polish
  202.    enz = English (New Zeal.)      ptb = Portuguese (Brazilian)
  203.    esm = Spanish (Mexican)        ptg = Portuguese
  204.    esn = Modern Spanish           rus = Russian
  205.    esp = Castilian Spanish        sky = Slovak
  206.    fin = Finnish                  svc = Swedish
  207.    fra = French                   trk = Turkish
  208.    frb = French (Belgian)
  209.  
  210. sLiisl = Icelandic   st   REG_SZ   string
  211. -----------------------------------------
  212. The U.S. English default is , (comma).
  213.  
  214. ita = ItalianSpecifies the character used to separate items in a list. In
  215. U.S. English, the nld = Dutchmost common separator is a comma.
  216.  
  217. sLonor = Norwegian   ngDate   REG_SZ   format
  218. ---------------------------------------------
  219. The U.S. English default is dddd, MMMM dd, yyyy (that is, Friday, June 1,
  220. 1990).
  221.  
  222. ptg = Portuguese   Specifies your choices for the long date formats,
  223. including abbreviations for the sve = Swedish   words and separators.
  224. Control Panel accepts only certain format combinations. Therefore, you
  225. should use Control Panel to change these entries.  Values are:
  226.  
  227.    d = Day (1-31)
  228.    dd = Day (01-31)
  229.    ddd = Day (Mon-Sun)
  230.    dddd = Day (Monday-Sunday)
  231.    M = Month (1-12)
  232.    MM = Month (01-12)
  233.    MMM = Month (Jan-Dec)
  234.    MMMM = Month (January-December)
  235.    yy = Year (00-99)
  236.    yyyy = Year (1900-2040)
  237.  
  238. sShortDate   REG_SZ   format
  239. ----------------------------
  240. The U.S. English default is M/d/yy (that is, 6/1/90).
  241.  
  242. Specifies a choice for the short date format, including abbreviations for
  243. the words and separators, according to the list described for sLongDate.
  244. Control Panel accepts only certain format combinations. Therefore, you
  245. should use Control Panel to change this setting.
  246.  
  247. sThousand   REG_SZ   string
  248. ---------------------------
  249. The U.S. English default is , (comma).
  250.  
  251. Specifies the symbol used to separate thousands. For example, if the value
  252. is a comma, the number appears as 3,000.
  253.  
  254. sTime   REG_SZ   string
  255. -----------------------
  256. The U.S. English default is : (a colon).
  257.  
  258. Specifies the character used to separate the hours, minutes, and seconds in
  259. time. For example, if the value is a colon, the time appears as 15:29:31.
  260.  
  261. KEYBOARD AND KEYBOARD LAYOUT ENTRIES FOR USERS
  262. ==============================================
  263.  
  264. The Keyboard entry contains user preferences as defined by choosing the
  265. Keyboard icon in Control Panel. Entries are found under this Registry path:
  266.  
  267.    HKEY_CURRENT_USER\Control Panel\Keyboard
  268.  
  269. InitialKeyboardIndicators   REG_SZ   Number
  270. -------------------------------------------
  271. Default: 0
  272.  
  273. Specifies initial values for keys. 0 means that NUMLOCK is turned off after
  274. the user logs on; 2 means NUMLOCK is turned on after the user logs on. This
  275. value is set during log off or shutdown to preseve the state of the NUMLOCK
  276. key at that time.
  277.  
  278. KeyboardDelay   REG_SZ   0 to 3
  279. -------------------------------
  280. Default: 1
  281.  
  282. Establishes how much time elapses after you hold down a key before the key
  283. starts to repeat. The values 0 through 3 provide a linear scale from the
  284. smallest delay supported by the keyboard driver to the largest delay.
  285. Typically, 0 represents 250 milliseconds, and 3 represents 1 second, with a
  286. 20 percent accuracy.
  287.  
  288. KeyboardSpeed   REG_SZ   0 to 31
  289. --------------------------------
  290. Default: 31
  291.  
  292. Sets how much time elapses between repetitions of a character on the
  293. display when you hold down a keyboard key. The values 0 through 31 provide
  294. a linear scale from the slowed repeat rate supported by the keyboard driver
  295. to the fastest repeat rate. Typically, 0 represents 2 per second, and 31
  296. represents 30 per second.
  297.  
  298. The Keyboard Layout key records the userÆs preferred layout, which is
  299. loaded and activated by the system when the user logs on. Entries are found
  300. under this Registry path:
  301.  
  302.    HKEY_CURRENT_USER\Control Panel\Keyboard Layout
  303.  
  304. When the user logs off, the userÆs current keyboard layout is stored here.
  305. The value for the entry is based on those defined in
  306. CurrentControlSet\Control\NLS\KeyboardLayout. To change the keyboard
  307. layout, choose the Windows NT Setup icon from the Main program group.
  308.  
  309. Active   REG_SZ   KeyboardLayout
  310. --------------------------------
  311. Default: 00000409 (for standard U.S. English)
  312.  
  313. The Keyboard Layout\Substitutes key is empty by default. This subkey
  314. records a mapping between keyboard layout names. The system checks the
  315. userÆs Substitutes subkey when loading the keyboard driver, and if a
  316. substitute is specified, the corresponding layout name is substituted. For
  317. example, an entry such as the following under the Keyboard
  318. Layout\Substitutes subkey indicates that the user prefers the Dvorak U.S.
  319. English keyboard layout (00010409) to the standard U.S. English keyboard
  320. layout (00000409).
  321.  
  322. 00000409 : REG_SZ : 00010409
  323. ----------------------------
  324.  
  325. MOUSE ENTRIES FOR USERS
  326. =======================
  327.  
  328. To change these entries, choose the Mouse icon from Control Panel.
  329.  
  330. DoubleClickSpeed   REG_SZ   milliseconds
  331. ----------------------------------------
  332. Default: 686
  333.  
  334. Sets the maximum time between clicks of the mouse button that the system
  335. permits for one double-click. The lower the value for this entry, the less
  336. time you have to click twice to double-click.
  337.  
  338. MouseSpeed   REG_SZ   0 or 1 or 2
  339. ---------------------------------
  340. Default: 1
  341.  
  342. Sets the relationship between mouse and cursor movement when the value of
  343. either MouseThreshold1 or MouseThreshold2 is exceeded. When this occurs,
  344. cursor movement accelerates according to the value of MouseSpeed.
  345.  
  346. Value      Meaning
  347. ------------------
  348.  
  349. 0          No acceleration
  350. 1          The cursor is moved twice the normal speed when mouse movement
  351.            exceeds the value of MouseThreshold1
  352. 2          The cursor is moved twice the normal speed when the mouse
  353.            movementexceeds the value of MouseThreshold1, or four times the
  354.            normal speed if mouse movement exceeds MouseThreshold2.
  355.  
  356.  
  357. MouseThreshold1   REG_SZ   pixels
  358. MouseThreshold2   REG_SZ   pixels
  359. ---------------------------------
  360. Default:          MouseThreshold1=6
  361.                   MouseThreshold2=10
  362.  
  363. These entries set the maximum number of pixels that the mouse can move
  364. between mouse interrupts before the system alters the relationship between
  365. mouse and cursor movement. If the mouse movement exceeds the threshold
  366. defined by MouseThreshold1 and if MouseSpeed is greater than 0, the system
  367. moves the cursor at twice the normal speed. If the mouse movement exceeds
  368. the threshold defined by MouseThreshold2 and if MouseSpeed is 2, the system
  369. moves the cursor at four times the normal speed.
  370.  
  371. SwapMouseButtons   REG_SZ   Boolean
  372. -----------------------------------
  373. Default: 0
  374.  
  375. Specifies whether to swap the right and left mouse buttons. If the value is
  376. 1, the buttons are swapped.
  377.  
  378. Multimedia and Sound Entries for Users Values related to user preferences
  379. for multimedia items in Control Panel are found in the following Registry
  380. path:
  381.  
  382.    HKEY_CURRENT_USER\Control Panel
  383.  
  384. The informtaion here is for troubleshooting reference. All changes should
  385. be made using the Devices, Drivers, MIDI Mapper, and Sound icons in Control
  386. Panel. The following lists the default entries. All are REG_SZ data types.
  387.  
  388. Multimedia subkey   Default value entries
  389. -----------------------------------------
  390.  
  391. MMCPL            H=230
  392.                  NumApps=20
  393.                  W=442
  394.                  X=88
  395.                  Y=84
  396. Sound            Beep=yes
  397. Sounds           Enable=1
  398.                  SystemAsterisk=chord.wav,Asterisk
  399.                  SystemDefault=ding.wav,Default Beep
  400.                  SystemExclamation=chord.wav,Exclamation
  401.                  SystemExit=chord.wav,Windows Logoff
  402.                  SystemHand=chord.wav,Critical Stop
  403.                  SystemQuestion=chord.wav,Question
  404.                  SystemStart=tada.wav.Windows Logon
  405.  
  406. Reference: "The Windows NT Resource Kit for Operating System Version 3.1".
  407.  
  408. Additional reference words: 3.10
  409. KBCategory:
  410. KBSubCategory: KEYREG
  411.  
  412. =============================================================================
  413.  
  414. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  415. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  416. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  417. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  418. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  419. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  420. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  421. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  422. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  423. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  424. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  425.  
  426. Copyright Microsoft Corporation 1994.