473,700 Members | 2,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Screensaver application on Windows CE (5.0 version)

1 New Member
Hello all,
I am developing a screen saver application on Windows CE 5.0, using Visual C++ and Windows API.
Has anyone here worked on such application, could you please share me your experiences? It is not easy as what I thought at first.
As what I know, Windows CE (and Pocket PC) does not support Screen saver like Desktop. In Desktop, developing a Screen saver is easy, windows API supports DefScreenSaverP roc function, we just develop screen saver as .exe and just rename it to .scr
But in WinCE, we cannot do like that. WinCE does not support Screen saver, so there is no DefScreenSaverP roc function, and if we rename .exe file into .scr the OS does not execute the file.
So we have to do everything by ourself.
My idea is: To start screen saver, we have a background application (a service or no-window application) which will "listen to" the system, after a predefined time (for example, 5 minutes) if there is no action on machine (no tap on screen, no press on machine's keys...) the background application will start showing the Presentation of Screen saver.
To implement this, I think about Hook technology, but as what I researched until now, Windows CE also does not support SetWindowsHookE x function.
Now I'm getting stuck.
So, if anyone has deals with an application like mine, could you help give me some ideas? How did you solve this problem? How to activate the Screen saver in Windows CE? Which technologies do you think that can achieve this?
Your responses would be kindly appreciated.
Thanks.
Aug 17 '07 #1
0 4609

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1701
by: Pieter Linden | last post by:
Hi, I'm probably asking for the moon, but I was wondering if it were possible to return the OS version information from a *remote* computer on a network. I can get all the hostnames, their IP addresses and the MAC addresses bound to that IP address no problem. What I would *really* like is to be able to query the remote registry or whatever for the Windows version, so if it's something like Win2000 and any SP below 3, I can update to...
3
2157
by: James | last post by:
I can get the windows version number from System.Environment.OSVersion e.g. "Windows NT 5.1.2600.0" for XP SP2. I was wondering whether this tells you the type of windows it is or if you have to use something else? E.g. for windows 2000 do you just get a version number, or can you tell if it is Professional, Server, Advanced Server, Datacenter Server.
2
2116
by: wushupork | last post by:
I have written a screensaver application in C# .NET and have noticed that whenever the animation loop is running - CPU usage always spikes up close to 100%. My application uses a paint thread which is set at 100ms. the program looks sort of like this: // constructor public Form1() {
1
1126
by: Richard | last post by:
Hi all, I'm doing some custom RAS work and I need to marshal the struct definition below. The marshaling is no problem, however how can I acheive the effect of the windows version pre-processor check in C#? typedef struct tagRASDIALEXTENSIONS { DWORD dwSize; DWORD dwfOptions; HWND hwndParent;
0
1257
by: Holger (David) Wagner | last post by:
Hi all, is by now anybody using "User Interface Process (UIP) Application Block - Version 2.0"? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/uipab-ch01.asp I think this looks quite promising and am considering using it in a current project. However, I'd like to know in advance from people experienced with this application block, if there are pitfalls, as we're on a rather tight schedule.
2
11133
by: virallinen | last post by:
Hi all Problem is, that My.Application.Info.Version shows only version 1.0.0.0 even if my application is version 1.0.0.0. Even when published My.Application.Deployment.CurrentVersion.ToString is still 1.0.0.0 (real 1.0.0.2 or more)
1
6172
by: Norman Chong | last post by:
Hi group, I want to get some information about the Windows version and ServicePack. I used the WinAPI but got the following problem: When I try to pass my OSVERSIONINFOEX structure ByRef to the getVersionEx API-function, the structure remains empty. Shouldn't this contain the values after the call?? Does anybody know what's wrong in my code (Or maybe in my way of thinking)??
6
5057
by: Newbie Coder | last post by:
C++.NET 2003 ONLY Hi all, I need to check to see that the user is using Windows 2000 or later on program startup. If not, to disable one radiobutton I have searched Google & all I get is C++ or earlier code, but nothing that compiles in my version of C++.
6
13179
by: Aussie Rules | last post by:
Hi, I use the publish feature within Vs.net 2008, and have it set to increment on each build/publish I want to be able to display this as my application version number, but can not see how to access the information. application.productversion doesn't seem to access/use the publish version.
3
5773
by: nk28 | last post by:
Hey all I am trying to make GUI windows using Tkinter and have got stucked. Its exactly like an installation setup where you move to new windows . I have been unable to understand how to create multiple application windows in Tkinter. I want that according to user input I should be directed to new screen belonging to a new class like follows :- class c1 : def __init__:
0
8716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8641
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9204
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9060
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5897
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2380
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2021
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.