Hello,
everything is in the title: if one would like to open his/her program window in full-screen, how would he/she do?
Thank you!!
|
|
0
|
|
|
|
Reply
|
Stéphane
|
10/1/2010 9:08:21 PM |
|
On Oct 1, 5:08=A0pm, "St=E9phane " <jalisas...@yahoo.ca> wrote:
> Hello,
>
> everything is in the title: if one would like to open his/her program win=
dow in full-screen, how would he/she do?
>
> Thank you!!
---------------------------------------------------------------------------=
------
Go here to get maxfig:
http://www.mathworks.com/support/solutions/en/data/1-3MY8PN/?solution=3D1-3=
MY8PN
% Call special function that The Mathworks gave me to maximize the
window and leave it in focus.
% minfig(F,1) % minimizes the figure window for the figure
with handle F
% minfig(F,0) % restores figure F if F is minimized
% maxfig(F,1) % maximizes the figure window for the figure
with handle F
% maxfig(F,0) % restores figure F if F is maximized s =3D
figstate(F) % returns the state of figure { Maximized | Minimized |
Normal }
% Note: This works only if the window is already displayed. If
not, it will throw a java exception.
if exist('axesChildHandle', 'var')
maxfig(handles.figMainWindow, 1) % Maximizes the figure window
for the figure with handle in the first argument.
end
Put it in the OutputFcn() function of your GUI.
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
10/1/2010 9:16:21 PM
|
|
Dear Stéphane,
what exactly is "full screen"?
- The outer position with window border fills the screen.
- The inner position fills the screen, so the window border is invisbile, but the taskbar is still visible.
- Even the taskbar is invisible and the AXES([0, 0, 1, 1]) object fill the complete screen.
There are some problems using standard Matlab methods:
pos = get(0, 'ScreenSize');
figure('position', pos); % ?? Border is still visible?!
figure('outerposition', pos); % Taskbar is visible
But there are some submissions in the FEX, which solve these two jobs. For the third problem, I found a solution only for Windows:
Create a MEX which set the window positions to the desired size, and set the SWP_NOSENDCHANGING flag in SetWindowPos.
Good night, Jan
|
|
0
|
|
|
|
Reply
|
Jan
|
10/1/2010 9:51:19 PM
|
|
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <i85l4n$a19$1@fred.mathworks.com>...
> Dear Stéphane,
>
> what exactly is "full screen"?
> - The outer position with window border fills the screen.
> - The inner position fills the screen, so the window border is invisbile, but the taskbar is still visible.
> - Even the taskbar is invisible and the AXES([0, 0, 1, 1]) object fill the complete screen.
>
> There are some problems using standard Matlab methods:
> pos = get(0, 'ScreenSize');
> figure('position', pos); % ?? Border is still visible?!
> figure('outerposition', pos); % Taskbar is visible
> But there are some submissions in the FEX, which solve these two jobs. For the third problem, I found a solution only for Windows:
> Create a MEX which set the window positions to the desired size, and set the SWP_NOSENDCHANGING flag in SetWindowPos.
>
> Good night, Jan
> Hello,
by full-screen, I mean that as soon as the user click on the open button, the popup must be as large as possible (but keeping the scroll bar etc.)
I have to admit that I am pretty new to Matlab, I only used Simulink in the past and this is my first gui project.
Thank you,
Stephane
|
|
0
|
|
|
|
Reply
|
Stéphane
|
10/5/2010 5:51:21 PM
|
|
|
3 Replies
1154 Views
(page loaded in 0.058 seconds)
Similiar Articles: guide: how to open a full-screen window? - comp.soft-sys.matlab ...Hello, everything is in the title: if one would like to open his/her program window in full-screen, how would he/she do? Thank you!! ... How to determine if window is visible on the screen? - comp.lang ...guide: how to open a full-screen window? - comp.soft-sys.matlab ... How to determine if window is visible on the screen? - comp.lang ... guide: how to open a full-screen ... Re: How to remove vertical scrollbar in fullscreen window? - comp ...Richard hu kiteb: > Hi, I use > window.open("index.htm","_blank","fullscreen ... hor. and vertical ... full screen space guaranteed by inflating any window full screen ... Open PDF File in Maximized Window - comp.lang.javascript ...guide: how to open a full-screen window? - comp.soft-sys.matlab ... Open PDF File in Maximized Window - comp.lang.javascript ... guide: how to open a full-screen window ... Fullscreen - comp.graphics.api.openglguide: how to open a full-screen window? - comp.soft-sys.matlab ... Hello, everything is in the title: if one would like to open his/her program window in full-screen, how ... Running Windows App with Full Screen DOS App - comp.lang.clipper ...guide: how to open a full-screen window? - comp.soft-sys.matlab ... Running Windows App with Full Screen DOS App - comp.lang.clipper ... ITunes opens but does not display ... Check if browser is in full screen mode (IE/Mozilla) - comp.lang ...Check if browser is in full screen mode (IE/Mozilla) - comp.lang ... guide: how to open a full-screen window? - comp.soft-sys.matlab ... Check if browser is in full screen ... How do I close iTunes "Now Playing" window? - comp.sys.mac.apps ...guide: how to open a full-screen window? - comp.soft-sys.matlab ... How do I close iTunes "Now Playing" window? - comp.sys ... guide: how to open a full-screen window ... embedded WMP, button to play in full screen - comp.lang.javascript ...guide: how to open a full-screen window? - comp.soft-sys.matlab ... embedded WMP, button to play in full screen - comp.lang.javascript ... guide: how to open a full-screen ... How To Schedule Matlab Jobs in Windows? - comp.soft-sys.matlab ...guide: how to open a full-screen window? - comp.soft-sys.matlab ..... But there are some submissions in the FEX, which solve these two jobs ... browser windows - comp ... How to Open a Window in a Full Screen | eHow.comBy default, almost all Windows applications open in windowed mode. This is a disappointment for those who would rather use their full available screen real estate ... How to Open a New Window in a Full Screen | eHow.comWindows-based programs give you the option of how big your windows are on your screen. This is a nice feature when you are dealing with different types of content. If ... 7/19/2012 3:14:04 PM
|