Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

aygshell.dll for windows ce

970 views
Skip to first unread message

gol

unread,
May 19, 2008, 10:53:04 AM5/19/08
to
Hi,
I'm writing an application in c# for windows ce device.
I want to use aygshell.dll to call SHFullScreen, as I saw other people do.

What happens is that as soon as I call SHFullScreen I get a message:
Can't find PInvoke DLL 'aygshell.dll'

What is the problem?
Thank you very much

Paul G. Tobey [eMVP]

unread,
May 19, 2008, 11:07:59 AM5/19/08
to
Your target device doesn't *have* aygshell in it (you could verify this
using Remote File Viewer and checking \windows for the DLL, but I'm fairly
sure that's it). Windows CE is not Windows Mobile (where every device has a
certain set of pieces built into it). The device manufacturer building a
custom Windows CE image for his device has total flexibility in what parts
of the operating system will be included and which won't. Yours decided not
to include aygshell, so you can't use it.

Paul T.

"gol" <g...@discussions.microsoft.com> wrote in message
news:0E15D23E-B031-4081...@microsoft.com...

gol

unread,
May 20, 2008, 1:21:00 AM5/20/08
to
Thank you very much, Paul
What is my alternative to make a full screen?
Thanks a lot

Michael Salamone

unread,
May 20, 2008, 9:54:04 AM5/20/08
to
Just get the screen dimensions use GetSystemMetrics(SM_CXSCREEN /
SM_CYSCREEN) to get screen dimensions and then call either MoveWindow or
SetWindowPos for the window you're trying to go full screen with. If you
don't want to obscure the taskbar then use
SystemParametersInfo(SPI_GETWORKAREA) to get dimensions.

--
Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com


"gol" <g...@discussions.microsoft.com> wrote in message

news:055BCB10-A746-477F...@microsoft.com...

Paul G. Tobey [eMVP]

unread,
May 20, 2008, 11:17:40 AM5/20/08
to
If all you want is "full-screen", this is all you need. If you want to
prevent access to other applications, you'll want to make your window
front-most, disable the task bar, etc. This has been covered before. You
might search in the .NET Compact Framework newsgroup using the link below:

http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/topics

Paul T.

"Michael Salamone" <mikesa#at#entrek#dot#com> wrote in message
news:37637266-D1FA-4F2D...@microsoft.com...

r_z_...@pen_fact.com

unread,
May 20, 2008, 4:50:23 PM5/20/08
to
On Mon, 19 May 2008 22:21:00 -0700, gol
<g...@discussions.microsoft.com> wrote:

>Thank you very much, Paul
>What is my alternative to make a full screen?
>Thanks a lot

I just used google (http://groups.google.com/advanced_search?q=&) to
look up
full screen
in this newsgroup and got 217 hits. I took a quick look and am quite
sure at least some will be relevant and useful. If nothing else, I saw
a lead to a post in which I provided source code in C/C++.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

0 new messages