View Single Post
  #1 (permalink)  
Old 05-20-2009, 09:15 AM
vanvan2m vanvan2m is offline
Junior Member
 
Join Date: May 2009
Posts: 7
Default Question about Border Style

when i set the "Border Style" to "None"

and wrote a function to instead "maximization window" Button

When i call the "maximization window" function, the window covered taskbar.
if i set the Border Style to "Normal", and then call the function , the window won't covered taskbar.

i want to call the function but don't covered taskbar. how to do that?




see following codes:
function onMaxBtnClick(e:MouseEvent = null):void
{
if(isbiger)
{
fscommand("FFish_Eval", "getMainWnd().windowState=\"maximized\";");
}else
{
fscommand("FFish_Eval", "getMainWnd().windowState=\"normal\";");
}
isbiger = !isbiger;
//fscommand("FFish_Eval", "if(getMainWnd().windowState!=\"normal\"){getMainW nd().windowState=\"maximized\"}else{getMainWnd().w indowState=\"normal\"};");
}
Reply With Quote