DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 24 Jul 2007 13:06:08 -0400,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    Dan
          2    Jeff Newman
                 3    Dan


Can't get form to go full screen over space at bottom of screen   
I;'ve tried various things and cannot get my form to display in the whole 
window in a Kisok/Full Screen mode.  I tried following the advice on this 
page to no avail.
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/3bcaaff859f43bce/93325afb934c2b45?lnk=st&q=hide+start+menu+on+Compact+Framework+2.0+SP1&rnum=1#93325afb934c2b45

I am using .NET CF 2.0 SP1.  Before upgrading from .NET CF 1.0 I had no 
problem going full screen on the device.  It's CE 4.2 by the way.  Any 
ideas?  Also, I can hide the task bar and start menu on the bottom, but the 
window will never fill that bottom space, it just keeps it empty so you can 
see the desktop in that little space at the bottom where the taskbar used to 
be.  I've tried maximizing and manually setting the form size but it will 
not move or take over that space.  I'm using an Intermek CK31 mobile device.

Any ideas?
Date:Tue, 24 Jul 2007 13:06:08 -0400   Author:  

Re: Can't get form to go full screen over space at bottom of screen   
On Jul 24, 1:06 pm, "Dan"  wrote:

> I;'ve tried various things and cannot get my form to display in the whole
> window in a Kisok/Full Screen mode.  I tried following the advice on this
> page to no avail.http://groups.google.com/group/microsoft.public.dotnet.framework.comp...
>
> I am using .NET CF 2.0 SP1.  Before upgrading from .NET CF 1.0 I had no
> problem going full screen on the device.  It's CE 4.2 by the way.  Any
> ideas?  Also, I can hide the task bar and start menu on the bottom, but the
> window will never fill that bottom space, it just keeps it empty so you can
> see the desktop in that little space at the bottom where the taskbar used to
> be.  I've tried maximizing and manually setting the form size but it will
> not move or take over that space.  I'm using an Intermek CK31 mobile device.
>
> Any ideas?


You need to manually move the window down using

[DllImport("coredll.dll", SetLastError=true)]
static extern IntPtr MoveWindow(IntPtr hwnd, int x, int y, int w, int
l, int repaint);

You'll have to figure out how many pixels your device needs (I believe
y is usually -24).
Date:Wed, 25 Jul 2007 16:01:02 -0000   Author:  

Re: Can't get form to go full screen over space at bottom of screen   
instead I just set the width and height of the form to the screen dimensions 
and windowsstate to Normal.  It worked after hiding the task bar to have it 
fill the whole screen.


"Jeff Newman"  wrote in message 
news:1185379262.860791.203310@r34g2000hsd.googlegroups.com...

> On Jul 24, 1:06 pm, "Dan"  wrote:
>> I;'ve tried various things and cannot get my form to display in the whole
>> window in a Kisok/Full Screen mode.  I tried following the advice on this
>> page to no 
>> avail.http://groups.google.com/group/microsoft.public.dotnet.framework.comp...
>>
>> I am using .NET CF 2.0 SP1.  Before upgrading from .NET CF 1.0 I had no
>> problem going full screen on the device.  It's CE 4.2 by the way.  Any
>> ideas?  Also, I can hide the task bar and start menu on the bottom, but 
>> the
>> window will never fill that bottom space, it just keeps it empty so you 
>> can
>> see the desktop in that little space at the bottom where the taskbar used 
>> to
>> be.  I've tried maximizing and manually setting the form size but it will
>> not move or take over that space.  I'm using an Intermek CK31 mobile 
>> device.
>>
>> Any ideas?
>
> You need to manually move the window down using
>
> [DllImport("coredll.dll", SetLastError=true)]
> static extern IntPtr MoveWindow(IntPtr hwnd, int x, int y, int w, int
> l, int repaint);
>
> You'll have to figure out how many pixels your device needs (I believe
> y is usually -24).
> 
Date:Wed, 25 Jul 2007 14:36:19 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us