473,750 Members | 2,500 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 4616

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

Similar topics

0
1704
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
2164
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
2117
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
1129
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
1261
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
11134
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
6175
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
5060
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
13184
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
5776
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
9001
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
9584
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...
1
9344
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8264
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6810
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3327
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
2807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2226
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.