Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2007, 07:30 PM
Junior Member
 
Join Date: Jun 2007
Posts: 2
Default Fullscreen mode with a widescreen monitor

Here is the code I'm using to switch to and from fullscreen mode:

Code:
//restore
DirectX.restore();
Appearance.borderStyle = Appearance.BSRESIZABLE;
SizeAndPos.windowSize = SizeAndPos.SSDEFAULT;
SizeAndPos.windowSize = SizeAndPos.SSDEFAULT;
Code:
//Fullscreen
DirectX.setDisplayMode(800, 600, 32);
Appearance.borderStyle = Appearance.BSNONE;
SizeAndPos.windowSize = SizeAndPos.SSFULLSCREEN;
Global.getMainWnd().center();
Global.getMainWnd().show();
Global.getMainWnd().update();
This works great for a normal monitor but with a wide screen monitor the window placement is wrong and all that can be seen is the bottom right quarter of the application window. Is there a way to center the window on a wide screen monitor?

Any help would be appreciated.

Reply With Quote
  #2 (permalink)  
Old 07-12-2007, 06:34 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Fullscreen mode with a widescreen monitor

Could you please send us a sample? With your code we cannot make the problem recur. We will help you to resolve the problem. Thank you.
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 04:26 AM.


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