Re: Rotate display questions.

From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 04/22/04


Date: Thu, 22 Apr 2004 18:24:17 +0200

maybe you should better include rotate support in your specific driver (just
a lib to link with, and a few IoControl to manage, if I correctly remember).

It should be less painful than reinjecting all your own specific display
controller code in the RFLAT driver

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél  : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"sc" <shui@no.com> wrote in message
news:u0ZiPZHKEHA.268@TK2MSFTNGP11.phx.gbl...
> our device will actually be a kiosk-type device, so my app will always be
in
> landscape mode(from start to end, well no end, it runs forever).
> The problem is our display (for some stupid reason, Argh..) is portrait.
> So I need CE to start rotated (90/270 degrees).
> So here what I think I should do. Port the rflat driver to our hw and set
> the initial rotation(as Steve said) to 90/270 degrees, so when my
> landscape-orientated application will
> look right to the user.
>
> Are I am on how rotation will work between CE, the driver and the app?
>
>
>
> "Gary Daniels [MS]" <garydan@web.microsoft.com> wrote in message
> news:40871577$1@news.microsoft.com...
> > Just an addendum to what Steve says, if you want your application to
> handle
> > a rotation without having to close it and restart it, you'll have to
> handle
> > the WM_SETTINGCHANGE windows message, which is sent out when the device
> > rotates, and resize it accordingly.
> >
> > Gary Daniels
> > Windows CE GDI Test
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > You assume all risk for your use. © 2002 Microsoft Corporation. All
rights
> > reserved.
> >
> > "Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in
message
> > news:OLB0gQ$JEHA.3944@tk2msftngp13.phx.gbl...
> > > I don't really understand the question. Ideally the application should
> be
> > > able to adjust to whatever orientation the system is used in. Barring
> that
> > > you need to write the app to whatever screen dimension you intend to
> > > support. The App itself is oblivious to the fact that everything is
> > rotated
> > > underneath. It operates identically either way other than the fact
that
> if
> > > you use fixed width windows etc.. only one orientation will actually
> look
> > > right to the user.
> > >
> > > --
> > > Steve Maillet (eMVP)
> > > EmbeddedFusion
> > > smaillet_AT_EmbeddedFusion_DOT_com
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: SD card and File System in WinCE 5....?
    ... Because when unload/reload SD client driver, ... So if App is running,suspend and then resume the system, if we unload and ... App will pop a message to notify user that the SD card is removed. ...
    (microsoft.public.windowsce.platbuilder)
  • [RFC] dev_acpi: device driver for userspace access to ACPI
    ... The basic concept of operation is that the ioctl operates on the ACPI ... The sample, proof-of-concept app, is called acpitree. ... You can find the driver and sample app here: ...
    (Linux-Kernel)
  • Pended IOCtrl + LoadLibrary == Deadlock?
    ... multithreaded app running on XP communicating with a software only NT ... style driver. ... this ioctrl which then makes the thread run and the command be executed. ... intact) the LoadLib is happy. ...
    (microsoft.public.development.device.drivers)
  • Re: Generic battery interface
    ... interrupts caused by apps that track kernel-issued readouts (e.g., ... > when you have a readout that was received from the hardware at time ... At time T+600 the driver receives update events (yeah, ... If this is all that happens, ...
    (Linux-Kernel)
  • Re: How to send URB and IRP to user mode application?
    ... When your driver ... receives IOCTL1, it signals event1, marks IRP as pending, and returns ... App gets the ... raised, you will never enter the polling loop, in the first place). ...
    (microsoft.public.development.device.drivers)

Loading