VERSION 5.00 Begin VB.Form DiffResultForm BorderStyle = 3 'Fixed Dialog Caption = "P4OFC Compare Documents" ClientHeight = 2520 ClientLeft = 45 ClientTop = 330 ClientWidth = 4620 ControlBox = 0 'False LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 2520 ScaleWidth = 4620 ShowInTaskbar = 0 'False StartUpPosition = 1 'CenterOwner Begin VB.CommandButton cmdClose Cancel = -1 'True Caption = "OK" Default = -1 'True Height = 375 Left = 1560 TabIndex = 2 Top = 2040 Width = 1215 End Begin VB.CheckBox HideDialog Caption = "&Don't show this dialog again." Height = 375 Left = 360 TabIndex = 1 Top = 1560 Width = 3495 End Begin VB.Label Label2 Caption = "To remove the change bars in the current document use the Edit/Undo command (Ctrl+Z)." Height = 615 Left = 240 TabIndex = 3 Top = 840 Width = 4095 End Begin VB.Label Label1 Caption = "Document comparison has been done in the current document (using default Word Track Changes options)." Height = 1095 Left = 240 TabIndex = 0 Top = 240 Width = 4095 End End Attribute VB_Name = "DiffResultForm" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Private Sub cmdClose_Click() On Error GoTo Error_Block Dim t As Tracker: Set t = GStackTrace.Enter(TypeName(Me), "cmdClose_Click") RegOptions.HideDiffDialog = (HideDialog.Value = 1) Unload Me Exit Sub Error_Block: t.Report End Sub Public Sub ShowMe() Dim t As Tracker: Set t = GStackTrace.Enter(TypeName(Me), "ShowMe") If Not RegOptions.HideDiffDialog Then Screen.MousePointer = vbDefault HideDialog = 0 ShowForm Me End If End Sub