View Single Post
  #16  
Unread 04-02-2005, 10:35 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default Fetish Minimize

Can't find who requested info on a Minimize button so I'ma post this in each of my main threads.

Any UI that includes FetishStyles can add a Minimize button to any window with a standard title bar by doing the following:

Find Name="WC_Titlebar", then find the next closing bracket (>). If its preceded by a slash (/>), replace with
Code:
>
</PAGE>
now paste the following code in after the initial closing bracket and before </PAGE>
Code:
<Checkbox BackgroundOpacity="1.000" LocalTooltip="Minimize" Location="3,3" Name="MinimizeCheckbox" OnActivate="parent.parent.ExpandWin=parent.parent.size 
parent.parent.maximumsize=&apos;22,16000&apos; 
LocalTooltip=&apos;Expand&apos;" OnDeactivate="parent.parent.maximumsize=&apos;16000,16000&apos; 
parent.parent.size=parent.parent.ExpandWin 
LocalTooltip=&apos;Minimize&apos;" ScrollExtent="16,16" Size="16,16" Style="/Fetish.CheckboxStyles.minimize_checkbox" Tooltip="Minimize"></Checkbox>
This should add a Minimize button at the left edge of the titlebar that hides with the titlebar
Reply With Quote