SP2 and Scrollable Form

  • Thread starter Thread starter Mark Arteaga
  • Start date Start date
M

Mark Arteaga

I just got around to using SP2 in my app and am noticing
that forms are now scrollable if controls go out of the
screen bounds. Is there any way to remove this without
P/Invoking?

Thanks,
Mark Arteaga
 
Hi Mark,

So the downside is that I don't have a good solution for you - there isn't
any way to override this behavior (without PInvoking). However, you should
be able to place your controls outside the form to the top and left areas,
and not trigger scrolling.

I can also try and explain why this decision was made. There are new form
factors under development for Pocket PC, along with some new accessories.
The new features for SP2 were brought in primarily to provide support for
these new devices. However, with backwards compatibility in mind, we
couldn't add new APIs (allowing you to turn these features off) because it
would result in an unfriendly exception when the new API was used under an
old version of .NetCF. We also would have difficulty upgrading Visual
Studio to allow you to easily compile against these new APIs.

Hope that helps,
-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: "Mark Arteaga" <marteaga_@_clearknowledge.com>
| Sender: "Mark Arteaga" <marteaga_@_clearknowledge.com>
| Subject: SP2 and Scrollable Form
| Date: Tue, 13 Jan 2004 11:18:16 -0800
| Lines: 7
| Message-ID: <[email protected]>
| 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: AcPaCf7aJrDyWP8MRYSqcAclD2TH9A==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:42915
| NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I just got around to using SP2 in my app and am noticing
| that forms are now scrollable if controls go out of the
| screen bounds. Is there any way to remove this without
| P/Invoking?
|
| Thanks,
| Mark Arteaga
|
 
Back
Top