home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / System32 / ServerUnifiedOptin.dll / UIFILE / 800
Text File  |  2008-01-19  |  4KB  |  80 lines

  1. <!-- DUI dialog code adapted from WU optin code. WU code author: KenSh -->
  2. <duixml>
  3.  
  4. <stylesheets>
  5.  
  6. <style resid="dialogStyle">
  7.     <element accessible="true" background="argb(0,0,0,0)" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)"/>
  8.     <edit accessible="true" accRole="text"/>
  9.     <button accessible="true" accRole="pushbutton" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)"/>
  10.     <combobox accessible="true" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)" transparent="true"/>
  11.     <ccsyslink font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)" accessible="true" accrole="link" contentalign="wrapleft"/>
  12.     <CCCommandLink accessible="true" accrole="pushbutton" transparent="true"/>
  13.     <CCProgressBar accessible="true" transparent="true"/>
  14.     <if class="dialog_background">
  15.         <element accessible="true" background="themeable(dtb(TaskDialog,TDLG_PRIMARYPANEL,0), threedface)"/>
  16.     </if>
  17.     <if class="dialogBoldText">
  18.         <element accessible="true" font="gtf(TextStyle,TEXT_BODYTITLE,0)" foreground="gtc(TextStyle,TEXT_BODYTITLE,0,TMT_TEXTCOLOR)"/>
  19.     </if>
  20.  
  21.     <!-- Copied from cp_content_link in cplstyles.h, plus "noprefix" -->
  22.     <if class="dlg_content_link">
  23.         <!-- content link markup -->
  24.         <Button accessible="true" accRole="link" accdefaction="click" contentalign="wrapleft | noprefix" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL)" overhang="false"/>
  25.         <if keyfocused="true">
  26.             <Button contentalign="wrapleft | noprefix | focusrect"/>
  27.         </if>
  28.         <if enabled="false">
  29.             <Button foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED)"/>
  30.         </if>
  31.         <if mousefocused="true">
  32.             <Button cursor="hand" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT)"/>
  33.         </if>
  34.    </if>
  35.  
  36.    <if class="dlg_tabstop_text">
  37.         <button accessible="true" accrole="text" contentalign="wrapleft | noprefix" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)" overhang="false"/>
  38.         <if keyfocused="true">
  39.             <button contentalign="wrapleft | noprefix | focusrect"/>
  40.         </if>
  41.    </if>
  42.  
  43. </style>
  44.  
  45. </stylesheets>
  46.  
  47. <element resid="OptInChoice" layout="borderlayout()" sheet="dialogStyle" class="dialog_background">
  48.     
  49.     <OptInChoice layoutpos="top" width="515rp" layout="borderlayout()">
  50.  
  51.     <element layoutpos="top" layout="flowlayout()" contentalign="wrapleft | noprefix">
  52.  
  53.     <!-- There seems to be a bug in TaskDialog/CCCommandLink in which
  54.     using windowless DUI element as a leaf node before any
  55.     windowed DUI element causes the command link below to occupy
  56.     the whole screen. Therefore the CCSysLink is left to display
  57.     static text. Note: keyboard focus has also been removed from
  58.     the CCSysLink to prevent actionless tab stop. -->
  59.  
  60.         <CCSysLink active="inactive" accrole="statictext" content="resstr(1101)"/>
  61.  
  62.     </element>
  63.  
  64.         <element layoutpos="top" layout="flowlayout()" margin="rect(0,5rp,0,0)">
  65.         <button id="atom(MoreInfoLink)" class="dlg_content_link" active="mouse | keyboard" content="resstr(1100)"/>
  66.     </element>
  67.  
  68.         <element layoutpos="top" layout="borderlayout()" contentalign="wrapleft | noprefix" padding="rect(0,12rp,0,0)" class="dialog_background">
  69.  
  70.             <CCCommandLink id="atom(RecommendedCommandLink)" layoutpos="top" active="mouse | keyboard" content="resstr(1102)" note="resstr(1104)"/>
  71.             <CCCommandLink id="atom(ManualCommandLink)" layoutpos="top" active="mouse | keyboard" content="resstr(1103)" note="resstr(1105)"/>
  72.  
  73.     </element>
  74.  
  75.     </OptInChoice>
  76.  
  77. </element>
  78.  
  79. </duixml>
  80.