katies
Mon Dec 22 23:05:46 CST 2003
Hi Rob,
Removing the system speaker icon isn't supported with .NetCF. You'll need
to PInvoke, if it's even possible.
You can remove the entire start bar by setting Form.WindowState =
FormWindowState.Maximized, and removing the main menu.
-Katie
This posting is provided "AS IS" with no warranties, and confers no rights.
***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx
QuickStarts:
http://samples.gotdotnet.com/quickstart/CompactFramework/
Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp
--------------------
| Content-Class: urn:content-classes:message
| From: "Rob H" <rhinton@data-nexus.com>
| Sender: "Rob H" <rhinton@data-nexus.com>
| References: <026a01c3c665$d27efcc0$a101280a@phx.gbl>
| Subject: REMOVE SPEAKER AND X FROM START BAR
| Date: Fri, 19 Dec 2003 12:37:05 -0800
| Lines: 28
| Message-ID: <012c01c3c66f$dd643fb0$a601280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcPGb91kzS2pbFzvQOCF48NuNOm9aQ==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:41443
| NNTP-Posting-Host: tk2msftngxa14.phx.gbl 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I figured out how to get rid of the X button, but I am
| still working on the speaker. Any suggestions would be
| greatly appreciated. I will post the X button part as soon
| as I have some time.
|
| Rob
| >-----Original Message-----
| >I would like to remove the speaker and x button from the
| >right side of the Start Bar. Does anyone know how to do
| >this. Thanks for any help provided.
| >
| >The bigger picture...
| >Don't need the Start Bar but I do need the Main Menu and
| >possibly a SIP. I originally wanted to remove the Start
| >Bar all together and replace it with my own heading bar,
| >but somehow it is intimately assiciated with the Main
| Menu
| >and you can't have the Main Menu with out the Start Bar.
| >My new thinking is to keep the Start Bar and use it for
| >the purpose to show the form's heading and the time.
| >Another posting showed me how to remove the Start Icon
| >from the Start Bar and it works beautifully. Now I just
| >need to get rid of the speaker and the x button and it
| >will be complete. I will post the details of the total
| >solution in my posting from yesterday; Subject: NO Start
| >Bar.. YES Main Menu.
| >.
| >
|