Newsgroups: microsoft.public.dotnet.framework.compactframework
From: Sergey Bogdanov <sergey.bogda...@gmail.com>
Date: Sun, 23 Jan 2005 12:38:36 +0200
Local: Sun, Jan 23 2005 5:38 am
Subject: Re: Form stays on lefttop corner
It certainly works for WindowsCE devices but not for PocketPC due to the
fact that a window shows as fullscreen. To avoid this limitation you may position window by yourself: Load Event Handler // this.Capture = true; OpenNETCF.Win32.Win32Window.SetWindowPos(hwnd, } Hope this help, Sergey Bogdanov http://www.sergeybogdanov.com Peter wrote:
> Hello, > My form with Borderstyle set to none and ControlBox and MaximizeBox and > this.Location = new Point((screen.Width - this.Width) / 2, > (screen.Height - this.Height ) / 2); > no result ! the form stays on topleft location 0;0 > Is the a solution for this problem ? > thanks > Peter. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||