473,544 Members | 1,928 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Real Full Screen of the VS IDE

Hi, when switched to the full screen mode in VS.NET IDE, is there any way to
hide the main menu bar?

Thanks
Tony
Nov 13 '05 #1
6 5596
Thanks for replying, but I mean the menu bar in the Visual Studio.NET itself
when I switch to full screen mode.
Anyways, thanks for replying.

Tony
"Hector Martinez" <hm********@uci .cu> wrote in message
news:96******** *************** *****@phx.gbl.. .

if all that you need is hide the menu bar, you just can
set in "false" the property Visible for each MenuItem...

And maybe you can make that just hiding the principal
item for each menu in the MenuBar...
I hope this help!!!

Nov 13 '05 #2
It doesn't look like it, does it?
If you right click on the menu bar and choose "Customize" , there are
options for what to show or hide. Trying to uncheck "MenuBar" just beeps at
me.

That would suggest that Microsoft don't want you to do that. :|

Perhaps time to explore VS.Net Plugins... ;)

Cheers,
Simon.

"Tony Liu" <en*******@hotm ail.com> wrote in
news:O9******** ******@TK2MSFTN GP11.phx.gbl:
Thanks for replying, but I mean the menu bar in the Visual Studio.NET
itself when I switch to full screen mode.
Anyways, thanks for replying.

Tony


Nov 13 '05 #3
Hmm, if anyone's interested I've had a look at a VS.Net plugin to do
this.

Starting with an Add-In using the wizard, by enumerating through the
application command bars and I can get to the "FullScreen " button and
subscribe to its 'Click' Event.

Inside that, I can find the MenuBar, which is a good start.

Setting bar.Visible=fal se throws an "Unspecifie d error".
Setting bar.Enabled=fal se gets rid of it as required (I don't know what
side-effects it might have).

But I can't get it back!

Setting enabled to true does nothing. I've been toying with
CommandBars.Add , and it appears tantalisingly for a moment, then throws a
"The parameter is incorrect" error...

Any ideas?

Code at http://www.alysseum.com/vsaddin.html

Cheers,
Simon.

Simon Bayling <sf*@alysseum.c om> wrote in
news:Xn******** *************** *@194.106.32.13 :
Perhaps time to explore VS.Net Plugins... ;) "Tony Liu" <en*******@hotm ail.com> wrote in
news:O9******** ******@TK2MSFTN GP11.phx.gbl:
Thanks for replying, but I mean the menu bar in the Visual Studio.NET
itself when I switch to full screen mode.
Anyways, thanks for replying.

Tony


Nov 13 '05 #4
Thanks for reply, do you mean that your can't get the menu bar back even if
your added isn't loaded? or you just can't get it back during your addin's
session?

Tony
"Simon Bayling" <sf*@alysseum.c om> wrote in message
news:Xn******** *************** *@194.106.32.13 ...
Hmm, if anyone's interested I've had a look at a VS.Net plugin to do
this.

Starting with an Add-In using the wizard, by enumerating through the
application command bars and I can get to the "FullScreen " button and
subscribe to its 'Click' Event.

Inside that, I can find the MenuBar, which is a good start.

Setting bar.Visible=fal se throws an "Unspecifie d error".
Setting bar.Enabled=fal se gets rid of it as required (I don't know what
side-effects it might have).

But I can't get it back!

Setting enabled to true does nothing. I've been toying with
CommandBars.Add , and it appears tantalisingly for a moment, then throws a
"The parameter is incorrect" error...

Any ideas?

Code at http://www.alysseum.com/vsaddin.html

Cheers,
Simon.

Simon Bayling <sf*@alysseum.c om> wrote in
news:Xn******** *************** *@194.106.32.13 :
Perhaps time to explore VS.Net Plugins... ;)

"Tony Liu" <en*******@hotm ail.com> wrote in
news:O9******** ******@TK2MSFTN GP11.phx.gbl:
Thanks for replying, but I mean the menu bar in the Visual Studio.NET
itself when I switch to full screen mode.
Anyways, thanks for replying.

Tony

Nov 13 '05 #5
Hello Tony,

I don't think you could remove menu bar in full mode in IDE settings.
However, as Simon mentioned, you may be able to achieve it by developing an
add-in.

BTW, vsnet->IDE should be the best group for this question. :)

Thanks.

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com
--------------------
!From: "Tony Liu" <en*******@hotm ail.com>
!References: <eq************ **@TK2MSFTNGP11 .phx.gbl>
<96************ *************** *@phx.gbl>
<O9************ **@TK2MSFTNGP11 .phx.gbl>
<Xn************ ************@19 4.106.32.13>
<Xn************ ************@19 4.106.32.13>
!Subject: Re: Real Full Screen of the VS IDE
!Date: Thu, 10 Jul 2003 09:35:16 +0800
!Lines: 51
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.3790.0
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
!Message-ID: <eD************ **@tk2msftngp13 .phx.gbl>
!Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
!NNTP-Posting-Host: cm203-168-247-148.hkcable.com .hk 203.168.247.148
!Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1681 10
!X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
!
!Thanks for reply, do you mean that your can't get the menu bar back even if
!your added isn't loaded? or you just can't get it back during your addin's
!session?
!
!Tony
!
!
!"Simon Bayling" <sf*@alysseum.c om> wrote in message
!news:Xn******* *************** **@194.106.32.1 3...
!> Hmm, if anyone's interested I've had a look at a VS.Net plugin to do
!> this.
!>
!> Starting with an Add-In using the wizard, by enumerating through the
!> application command bars and I can get to the "FullScreen " button and
!> subscribe to its 'Click' Event.
!>
!> Inside that, I can find the MenuBar, which is a good start.
!>
!> Setting bar.Visible=fal se throws an "Unspecifie d error".
!> Setting bar.Enabled=fal se gets rid of it as required (I don't know what
!> side-effects it might have).
!>
!> But I can't get it back!
!>
!> Setting enabled to true does nothing. I've been toying with
!> CommandBars.Add , and it appears tantalisingly for a moment, then throws a
!> "The parameter is incorrect" error...
!>
!> Any ideas?
!>
!> Code at http://www.alysseum.com/vsaddin.html
!>
!> Cheers,
!> Simon.
!>
!> Simon Bayling <sf*@alysseum.c om> wrote in
!> news:Xn******** *************** *@194.106.32.13 :
!>
!> > Perhaps time to explore VS.Net Plugins... ;)
!>
!> > "Tony Liu" <en*******@hotm ail.com> wrote in
!> > news:O9******** ******@TK2MSFTN GP11.phx.gbl:
!> >
!> >> Thanks for replying, but I mean the menu bar in the Visual Studio.NET
!> >> itself when I switch to full screen mode.
!> >> Anyways, thanks for replying.
!> >>
!> >> Tony
!>
!
!
!

Nov 13 '05 #6
Actually we can just use Macro to do this. What I do is, first toggle the
FullScreen command, and then determine whether the IDE is now in FullScreen
mode or not by comparing the main window's bounds to the screen bounds. I
found that when the IDE is in FullScreen mode, it's bounds is always equals
to the screen bounds (provided that the status bar is not visible), and in
normal mode, the location of the IDE are (-4, -4) when maximized on my
computer. After that, just enable or disable the menu bar at will. Also,
after re-enabling the menu bar, we need to set the Visible to true.

It works well for me for the last couple days.

Simonm, thanks for your code sample.

Sub ToggleFullScree n()

DTE.ExecuteComm and("View.FullS creen")

Dim screen As System.Drawing. Rectangle
screen = System.Windows. Forms.Screen.Pr imaryScreen.Bou nds

Dim cmd As Microsoft.Offic e.Core.CommandB ar
cmd = DTE.CommandBars ("MenuBar")
cmd.Protection =
Microsoft.Offic e.Core.MsoBarPr otection.msoBar NoProtection

If DTE.MainWindow. Left = screen.Left And DTE.MainWindow. Top =
screen.Top And _
DTE.MainWindow. Width = screen.Width And DTE.MainWindow. Height =
screen.Height Then
' If in full screen view
cmd.Enabled = False
Else
' If not in full screen view
cmd.Enabled = True
End If

If cmd.Enabled Then cmd.Visible = True

End Sub


"Yan-Hong Huang[MSFT]" <yh*****@online .microsoft.com> wrote in message
news:HR******** ******@cpmsftng xa06.phx.gbl...
Hello Tony,

I don't think you could remove menu bar in full mode in IDE settings.
However, as Simon mentioned, you may be able to achieve it by developing an add-in.

BTW, vsnet->IDE should be the best group for this question. :)

Thanks.

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights. Got .Net? http://www.gotdotnet.com
--------------------
!From: "Tony Liu" <en*******@hotm ail.com>
!References: <eq************ **@TK2MSFTNGP11 .phx.gbl>
<96************ *************** *@phx.gbl>
<O9************ **@TK2MSFTNGP11 .phx.gbl>
<Xn************ ************@19 4.106.32.13>
<Xn************ ************@19 4.106.32.13>
!Subject: Re: Real Full Screen of the VS IDE
!Date: Thu, 10 Jul 2003 09:35:16 +0800
!Lines: 51
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.3790.0
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
!Message-ID: <eD************ **@tk2msftngp13 .phx.gbl>
!Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
!NNTP-Posting-Host: cm203-168-247-148.hkcable.com .hk 203.168.247.148
!Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1681 10 !X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
!
!Thanks for reply, do you mean that your can't get the menu bar back even if !your added isn't loaded? or you just can't get it back during your addin's !session?
!
!Tony
!
!
!"Simon Bayling" <sf*@alysseum.c om> wrote in message
!news:Xn******* *************** **@194.106.32.1 3...
!> Hmm, if anyone's interested I've had a look at a VS.Net plugin to do
!> this.
!>
!> Starting with an Add-In using the wizard, by enumerating through the
!> application command bars and I can get to the "FullScreen " button and
!> subscribe to its 'Click' Event.
!>
!> Inside that, I can find the MenuBar, which is a good start.
!>
!> Setting bar.Visible=fal se throws an "Unspecifie d error".
!> Setting bar.Enabled=fal se gets rid of it as required (I don't know what
!> side-effects it might have).
!>
!> But I can't get it back!
!>
!> Setting enabled to true does nothing. I've been toying with
!> CommandBars.Add , and it appears tantalisingly for a moment, then throws a !> "The parameter is incorrect" error...
!>
!> Any ideas?
!>
!> Code at http://www.alysseum.com/vsaddin.html
!>
!> Cheers,
!> Simon.
!>
!> Simon Bayling <sf*@alysseum.c om> wrote in
!> news:Xn******** *************** *@194.106.32.13 :
!>
!> > Perhaps time to explore VS.Net Plugins... ;)
!>
!> > "Tony Liu" <en*******@hotm ail.com> wrote in
!> > news:O9******** ******@TK2MSFTN GP11.phx.gbl:
!> >
!> >> Thanks for replying, but I mean the menu bar in the Visual Studio.NET !> >> itself when I switch to full screen mode.
!> >> Anyways, thanks for replying.
!> >>
!> >> Tony
!>
!
!
!

Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4378
by: Larry R Harrison Jr | last post by:
I have pull-down menus in javascript and I have the code for opening a link in a new window. But I want it to open a full-sized window. I can't figure out the syntax. What I have so far: Menu5_5_1=new Array("'Lonely Church","javascript:window.open ('http://www.photo.net/photodb/photo?photo_id=2640310')","",0,20,300); That works fine,...
9
12283
by: pow67 | last post by:
Is there a javascript statement which can be incorporated in a hyperlink which will open a new page that fills the screen while leaving the page with the link open? Thanks in advance. CW
1
3646
by: Nick Weekes | last post by:
Hi all, Is there any javascript function/s that will tell me if the current browser window is in full screen mode or not? I don't want to resize the window, just size content based on full screen/not full screen. Cheers, Nick
3
1958
by: Pat Sheen | last post by:
Is there some setting in Access so when I get help it will display full screen and not part screen with my Access window. I've Googled and checked help but can't find anything. Thanks Pat
6
7555
by: Nicky | last post by:
hi,all We are going to develop a program and when it is running, we need it full screen and also, user can not switch to other place before exit our program. I am thinking, we can make a window full screen, but how to avoid user switching to other program or windows? And also, there are many hot keys, how to capture or disable these things? ...
9
3095
by: Jensen bredal | last post by:
Is there any way i can view my web page in full screen mode? F11 still hhas the internet explorer tool bar. Many thanks in advance JB
0
2180
by: Franklin M. Gauer III | last post by:
Hi, We have an application running that uses FULL SCREEN ANCHORING in Windows Forms. The application runs fine on all of our desktops and some laptops. We are having problems with certain Dell laptops using an Nvidia Go graphics driver (multi screen). When the app goes full screen - .NET does not detect the right and bottom boundary of...
9
2395
by: EreN | last post by:
Hi! Im new in this group so i dont know if that topic has been opened before.. I want to ask that how can i make my console program open in full screen mode? Thanx...
7
3105
by: MC felon | last post by:
i worked and compiled programs in code::blocks. These .exe's do not have full screen modes in them! how do i get them to work full screen?even properties of these exe's do not have full screen modes in them. (right click -properties). what do i do to enable full screen?
0
7437
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7373
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5306
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4930
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3427
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.