Min, Max, Restore & Close Buttons

This may be a stupid question but.........<br />
<br />
Are the Min., Max., Restore, and Close Buttons in the upper right corner of every application a form object or are they an image?<br />
<br />
If they are a form object, how do you display them?<br />
<br />
If the are an image where are the called from?<br />
<br />
Does anyone know????????<br />
<br />
<br />
Thanks<!--content-->in html? they are neither. they are part of windows. you can however take them off or add images instead of the default buttons. but only can be done in Dhtml.<!--content-->Are you trying to design a Windows GUI, or are you trying to customize the way IE looks to your visitors?<!--content-->I am using the following js and html to allow visitors to min and max side menu blocks and would like to use the standard windows min and max buttons.<br />
<br />
I tried to make some buttons, but I can not get them to match the standard buttons.<br />
<br />
I did a search on my hd to try and find them but no luck.<br />
<br />
<br />
<script language="JavaScript"><br />
<!--<br />
function collapse(div_name) {<br />
var exp_col = document.getElementById(div_name).style;<br />
exp_col.display = "none";<br />
}<br />
function expand(div_name) {<br />
var exp_col = document.getElementById(div_name).style;<br />
exp_col.display = "block";<br />
}<br />
//--><br />
</script><br />
<br />
<table border="0" cellpadding="1" cellspacing="0" bgcolor="#000000" width="150"><br />
<tr><br />
<td><br />
<table border="0" cellpadding="3" cellspacing="0" bgcolor="#738278" width="100%"><br />
<tr><br />
<td align="left" height="16" width="120" valign="middle"><br />
<font color="#FFFFFF"><b>&nbsp;$title</b></font></td><br />
<td align="right" width="14" valign="middle"><div onClick=collapse("$title")><img src=http://www.htmlforums.com/archive/index.php/"/images/minimize.gif" name="img_$title" width="14" height="14" alt="Minimize" border="1"></div></td><br />
<td align="left" width="16" valign="middle"><div onClick=expand("$title")><img src=http://www.htmlforums.com/archive/index.php/"/images/maximize.gif" name="img_$title" width="14" height="14" alt="Maximize" border="1"></div></td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
<div id="$title" style="position: relative; width: 150px; background-color: #FFFFFF; display: block;"><br />
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff" width="150"><br />
<tr valign="top"><br />
<td bgcolor="#ffffff">$content</td><br />
</tr><br />
</table><br />
</div><!--content-->I would just adjust my resolution to 640x480 and do a screen capture, then edit them with a photo editor to get what I want.<!--content-->
 
Back
Top