Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

173 lines
7.1 KiB

  1. VERSION 5.00
  2. Begin VB.PropertyPage ppgWelcome
  3. Caption = "Welcome to File Explorer Configuration"
  4. ClientHeight = 3600
  5. ClientLeft = 0
  6. ClientTop = 0
  7. ClientWidth = 4800
  8. PaletteMode = 0 'Halftone
  9. ScaleHeight = 3600
  10. ScaleWidth = 4800
  11. Begin VB.Label Label2
  12. Caption = "The following pages will help you configure your File Explorer."
  13. BeginProperty Font
  14. Name = "MS Sans Serif"
  15. Size = 8.25
  16. Charset = 0
  17. Weight = 700
  18. Underline = 0 'False
  19. Italic = 0 'False
  20. Strikethrough = 0 'False
  21. EndProperty
  22. Height = 855
  23. Left = 120
  24. TabIndex = 1
  25. Top = 1200
  26. Width = 4455
  27. End
  28. Begin VB.Label Label1
  29. Caption = "Welcome to File Explorer Snap-in Configuration!"
  30. BeginProperty Font
  31. Name = "Arial"
  32. Size = 9.75
  33. Charset = 0
  34. Weight = 700
  35. Underline = 0 'False
  36. Italic = 0 'False
  37. Strikethrough = 0 'False
  38. EndProperty
  39. Height = 615
  40. Left = 240
  41. TabIndex = 0
  42. Top = 240
  43. Width = 4215
  44. End
  45. End
  46. Attribute VB_Name = "ppgWelcome"
  47. Attribute VB_GlobalNameSpace = False
  48. Attribute VB_Creatable = True
  49. Attribute VB_PredeclaredId = False
  50. Attribute VB_Exposed = True
  51. Option Explicit
  52. ' ===========================================================================
  53. ' | THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF |
  54. ' | ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
  55. ' | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
  56. ' | PARTICULAR PURPOSE. |
  57. ' | Copyright (c) 1998-1999 Microsoft Corporation |
  58. ' ===========================================================================
  59. ' =============================================================================
  60. ' File: ppgWelcome.pag
  61. ' Project: FileExplorerSample
  62. ' Type: Property Page for Configuration Wizard
  63. ' =============================================================================
  64. ' Property pages used in a configuration wizard must implement the IWizardPage
  65. ' interface defined by the snap-in designer runtime. The runtime uses this
  66. ' interface to communicate Win32 property sheet events to the page. Note that
  67. ' unlike event handlers, methods of an implemented interface must all be present
  68. ' in the source file even if they do not contain any code.
  69. Implements IWizardPage
  70. ' =============================================================================
  71. ' Method: IWizardPage_Activate
  72. ' Type: Interface Method
  73. ' Description: Called when the page is about to be displayed.
  74. '
  75. ' Parameters: EnableBack Defaults to True. Set to False to disable the
  76. ' Back button.
  77. ' NextOrFinish Defaults to NextButton. Determines type of
  78. ' second button. Other options are
  79. ' EnabledFinishButton and DisabledFinishButton.
  80. ' FinishText If using a Finish button, determines the text
  81. ' that will be displayed in the button. If not
  82. ' set then defaults to "Finish".
  83. ' Output: None
  84. ' Notes: As this is the first page of the wizard we disable the
  85. ' back button. As there are more pages to the wizard, we request
  86. ' a Next button rather than a Finish button.
  87. ' =============================================================================
  88. '
  89. Private Sub IWizardPage_Activate(EnableBack As Boolean, _
  90. NextOrFinish As SnapInLib.WizardPageButtonConstants, _
  91. FinishText As String)
  92. EnableBack = False
  93. NextOrFinish = EnabledNextButton
  94. End Sub
  95. ' =============================================================================
  96. ' Method: IWizardPage_Back
  97. ' Type: Interface Method
  98. ' Description: Called when the user clicks the Back button
  99. '
  100. ' Parameters: NextPage Defaults to zero to allow the user to return
  101. ' to the previous page. Set to -1 to disallow
  102. ' the move, or to a positive integer to move to
  103. ' another page. Pages are numbered from 1 to n
  104. ' based on the order in which the snap-in called
  105. ' PropertySheet.AddWizardPage.
  106. ' Output: None
  107. ' Notes: None
  108. ' =============================================================================
  109. '
  110. Private Sub IWizardPage_Back(NextPage As Long)
  111. End Sub
  112. ' =============================================================================
  113. ' Method: IWizardPage_Cancel
  114. ' Type: Interface Method
  115. ' Description: Called when the user clicks the Cancel button
  116. '
  117. ' Parameters: Allow Defaults to True to allow the user to cancel
  118. ' the wizard. Set to False to disallow the
  119. ' the cancel.
  120. ' Output: None
  121. ' Notes: None
  122. ' =============================================================================
  123. '
  124. Private Sub IWizardPage_Cancel(Allow As Boolean)
  125. Allow = True
  126. End Sub
  127. ' =============================================================================
  128. ' Method: IWizardPage_Finish
  129. ' Type: Interface Method
  130. ' Description: Called when the user clicks the Finish button
  131. '
  132. ' Parameters: Allow Defaults to True to allow the user to finish
  133. ' the wizard. Set to False to disallow the
  134. ' the finish.
  135. ' Output: None
  136. ' Notes: None
  137. ' =============================================================================
  138. '
  139. Private Sub IWizardPage_Finish(Allow As Boolean)
  140. End Sub
  141. ' =============================================================================
  142. ' Method: IWizardPage_Next
  143. ' Type: Interface Method
  144. ' Description: Called when the user clicks the Next button
  145. '
  146. ' Parameters: NextPage Defaults to zero to allow the user to proceed
  147. ' to the next page. Set to -1 to disallow
  148. ' the move, or to a positive integer to move to
  149. ' another page. Pages are numbered from 1 to n
  150. ' based on the order in which the snap-in called
  151. ' PropertySheet.AddWizardPage.
  152. ' Output: None
  153. ' Notes:
  154. ' =============================================================================
  155. '
  156. Private Sub IWizardPage_Next(NextPage As Long)
  157. End Sub