Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-08-2009, 02:43 PM
Junior Member
 
Join Date: Jan 2009
Posts: 4
Default Maximize and Minimize buttons

Hi,

I am loading another swf file into an additional form per the code below. However, that form that shows up doesn't have any maximize or minimize buttons. Is there a way to make those show up?

Thanks in advance everyone.

var formPrev = new Form;
formPrev.movie = getAdditionalFile("view.swf");
formPrev.caption = "previewing...";
formPrev.showCaption = true;
formPrev.canDrag = true;
formPrev.initVars = "showClose=1";
formPrev.show(true);
Reply With Quote
  #2 (permalink)  
Old 04-14-2009, 08:40 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,022
Default

Yes if you create a modeless form
Code:
var formPrev = new Form;
formPrev.movie = getAdditionalFile("view.swf");
formPrev.caption = "previewing...";
formPrev.showCaption = true;
formPrev.canDrag = true;
formPrev.initVars = "showClose=1";
formPrev.show(false);

WS_MINIMIZEBOX      = 0x00020000;
WS_MAXIMIZEBOX      = 0x00010000;

formPrev.window.modifyStyle(0, WS_MINIMIZEBOX | WS_MAXIMIZEBOX);
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:54 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.