<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">

	<Script file="WIM_History.lua"/> 

	<Frame name="WIM_HistoryFrame" movable="true" alpha="1" enableMouse="true" toplevel="true" frameStrata="DIALOG" parent="UIParent" hidden="true"  clampedToScreen="true">
		<Size>
			<AbsDimension x="600" y="500" />
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="0" />
				</Offset>
			</Anchor>
		</Anchors>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11" />
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32" />
			</TileSize>
			<EdgeSize>
				<AbsValue val="32" />
			</EdgeSize>
		</Backdrop>
		<Frames>
			<Frame name="$parentTitle" inherits="WIM_Options_TitlePanelTemplate">
				<Size>
					<AbsDimension x="580" y="35" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="10" y="-10" />
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentText"  inherits="GameFontNormal" text="WIM_LOCALIZED_HISTORY_TITLE">
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="3"/>
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="16" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parentExitButton">
						<Size>
							<AbsDimension x="32" y="32"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="-2" y="-2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
						<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
						<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
							</OnLoad>
							<OnClick>
								this:GetParent():GetParent():Hide();
							</OnClick>
						</Scripts>
					</Button>
					<Frame name="WIM_HistoryExportFormatMenu" inherits="UIDropDownMenuTemplate" enableMouse="true">
						<Anchors>
							<Anchor point="TOPRIGHT" relativeTo="$parentExitButton" relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="48" y="-35"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<!-- Ensure that the correct information is displayed
							Also setup the different options and function for selecting options-->
							<OnShow>
								WIM_History_ExportFormat_OnShow();
							</OnShow>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</Frame>
					
					
					
				</Frames>
			</Frame>
			<Frame name="$parentNameList" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="160" y="290" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="3" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Frame name="$parentTitle" inherits="WIM_Options_PanelTemplate">
						<Size>
							<AbsDimension x="50" y="30" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="2" y="-1" />
								</Offset>
							</Anchor>
							<Anchor point="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText"  inherits="GameFontNormal" text="WIM_LOCALIZED_HISTORY_USERS">
									<Anchors>
										<Anchor point="CENTER">
											<Offset>
												<AbsDimension x="0" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="1" b="1" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-2"/>
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-30" y="12"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(16, WIM_HistoryViewNameScrollBar_Update); 
							</OnVerticalScroll>
							<OnShow>
								WIM_HistoryViewNameScrollBar_Update();
							</OnShow>
						</Scripts>
					</ScrollFrame>
					<Button name="$parentButton1" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton2" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton3" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton4" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton5" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton6" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton7" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton8" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton9" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton10" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton11" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton10" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton12" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton11" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton13" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton12" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton14" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton13" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton15" inherits="WIM_HistoryUsersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton14" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
				</Frames>
			</Frame>
			<Frame name="$parentFilterList" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="160" y="160" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentNameList" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="4" />
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Frame name="$parentTitle" inherits="WIM_Options_PanelTemplate">
						<Size>
							<AbsDimension x="50" y="30" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="2" y="-1" />
								</Offset>
							</Anchor>
							<Anchor point="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText"  inherits="GameFontNormal" text="WIM_LOCALIZED_HISTORY_FILTERS">
									<Anchors>
										<Anchor point="CENTER">
											<Offset>
												<AbsDimension x="0" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="1" b="1" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-2"/>
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-30" y="12"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(16, WIM_HistoryViewFiltersScrollBar_Update); 
							</OnVerticalScroll>
							<OnShow>
								WIM_HistoryViewFiltersScrollBar_Update();
							</OnShow>
						</Scripts>
					</ScrollFrame>
					<Button name="$parentButton1" inherits="WIM_HistoryFiltersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton2" inherits="WIM_HistoryFiltersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton3" inherits="WIM_HistoryFiltersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton4" inherits="WIM_HistoryFiltersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton5" inherits="WIM_HistoryFiltersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton6" inherits="WIM_HistoryFiltersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton7" inherits="WIM_HistoryFiltersButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
				</Frames>
			</Frame>
			<Frame name="$parentMessageList" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="160" y="30" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentNameList" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="3" y="0" />
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-12" y="9" />
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Frame name="$parentTitle" inherits="WIM_Options_PanelTemplate">
						<Size>
							<AbsDimension x="50" y="30" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="2" y="-1" />
								</Offset>
							</Anchor>
							<Anchor point="RIGHT">
								<Offset>
									<AbsDimension x="-2" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText"  inherits="GameFontNormal" text="WIM_LOCALIZED_HISTORY_MESSAGES">
									<Anchors>
										<Anchor point="CENTER">
											<Offset>
												<AbsDimension x="0" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="1" b="1" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<ScrollingMessageFrame name="$parentScrollingMessageFrame" enableMouse="true" fade="false" maxLines="500" movable="true">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoing="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="-30" />
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoing="TOPLEFT">
								<Offset>
									<AbsDimension x="-35" y="15" />
								</Offset>
							</Anchor>
						</Anchors>
						<FontString inherits="ChatFontNormal" justifyH="LEFT">
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
						<TextInsets>
							<AbsInset left="0" right="10" top="0" bottom="0" />
						</TextInsets>
						<Scripts>
							<OnMouseWheel>
								if(arg1 > 0) then
									if( IsShiftKeyDown() ) then
										this:PageUp();
									else
										this:ScrollUp();
									end
								else
									if( IsShiftKeyDown() ) then
										this:PageDown();
									else
										this:ScrollDown();
									end
								end
							</OnMouseWheel>
							<OnHyperlinkClick>
								ChatFrame_OnHyperlinkShow(arg1, arg2, arg3);
							</OnHyperlinkClick>
							<OnMessageScrollChanged>
								WIM_UpdateScrollBars(this);
							</OnMessageScrollChanged>
							<OnMouseDown>
								this:GetParent():GetParent():StartMoving();
								this:GetParent():GetParent().isMoving = true;
							</OnMouseDown>
							<OnMouseUp>
								this:GetParent():GetParent():StopMovingOrSizing();
								this:GetParent():GetParent().isMoving = false;
							</OnMouseUp>
						</Scripts>
					</ScrollingMessageFrame>
					<Button name="$parentScrollUp">
						<Size>
							<AbsDimension x="32" y="32"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentScrollingMessageFrame" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Up"/>
						<PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Down"/>
						<DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled"/>
						<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Highlight"/>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
							</OnLoad>
							<OnClick>
								if( IsShiftKeyDown() ) then
									getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):PageUp();
								else
									getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):ScrollUp();
								end
								WIM_UpdateScrollBars(getglobal(this:GetParent():GetName().."ScrollingMessageFrame"));
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentScrollDown">
						<Size>
							<AbsDimension x="32" y="32"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMLEFT" relativeTo="$parentScrollingMessageFrame" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up"/>
						<PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down"/>
						<DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
						<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Highlight"/>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
							</OnLoad>
							<OnClick>
								if( IsShiftKeyDown() ) then
									getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):PageDown();
								else
									getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):ScrollDown();
								end
								WIM_UpdateScrollBars(getglobal(this:GetParent():GetName().."ScrollingMessageFrame"));
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
		
		
			<ScrollFrame name="WIM_HistoryViewerExportFormat" inherits="UIPanelScrollFrameTemplate" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="WIM_HistoryFrameMessageListScrollingMessageFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT" relativeTo="WIM_HistoryFrameMessageListScrollingMessageFrame" relativePoint="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<ScrollChild>
					<EditBox name="$parentText" multiLine="true" enableMouse="true" frameStrata="DIALOG" toplevel="true">
						<Size>
							<AbsDimension x="360" y="304"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnTextChanged>
								ScrollingEdit_OnTextChanged()
							</OnTextChanged>
							<OnCursorChanged>
								ScrollingEdit_OnCursorChanged(arg1, arg2, arg3, arg4)
							</OnCursorChanged>
							<OnUpdate>
								ScrollingEdit_OnUpdate()
							</OnUpdate>
							<OnEscapePressed>
								this:Hide();
								this:Show();
							</OnEscapePressed>
							<OnLoad>
								
							</OnLoad>
						</Scripts>
						<FontString inherits="ChatFontNormal"/>
					</EditBox>
				</ScrollChild>
			</ScrollFrame>
		
		
		
		
		</Frames>
		<Scripts>
			<OnLoad>
				tinsert(UISpecialFrames,this:GetName());
				this:RegisterForDrag("LeftButton");
			</OnLoad>
			<OnDragStart>
				this:StartMoving();
				this.isMoving = true;
			</OnDragStart>
			<OnDragStop>
				this:StopMovingOrSizing();
				this.isMoving = false;
			</OnDragStop>
			<OnShow>
				PlaySound("igMainMenuOpen");
				local Path, _, Flags = WIM_HistoryFrameMessageListScrollingMessageFrame:GetFont();
				WIM_HistoryFrameMessageListScrollingMessageFrame:SetFont(Path,WIM_Data.fontSize+2, Flags);
				WIM_HistoryViewNameScrollBar_Update();
				WIM_HistoryViewFiltersScrollBar_Update();
			</OnShow>
			<OnHide>
				WIM_Help_Description_Click();
				PlaySound("igMainMenuClose");
			</OnHide>
		</Scripts>
	</Frame>

</Ui>