473,766 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Aborting screen saver? Hiding from alt-tab?

Hi all,
I'm still working on my Caller ID software. As it sits in the traybar
and basically does nothing, after a few minutes the screen saver kicks
in and it still works, but I have to go move the mouse or something to
actually see what's being displayed.
Is there a way I can force the screen saver to stop while my program
pops up its window? And later resume it normally (with it's default
timeout, I don't care)

Also, how do I hide my app from the alt-tab list? It doesn't show in the
task bar but if I do alt-tab and accidentaly select it, a nasty blank
window opens and I can't make it go away.

hjf
Nov 16 '05 #1
2 1767
In article <e9************ **@TK2MSFTNGP10 .phx.gbl>,
Hernan Freschi <hj********@hjf .com.ar> wrote:
I'm still working on my Caller ID software. As it sits in the traybar
and basically does nothing, after a few minutes the screen saver kicks
in and it still works, but I have to go move the mouse or something to
actually see what's being displayed.
Is there a way I can force the screen saver to stop while my program
pops up its window? And later resume it normally (with it's default
timeout, I don't care)


What would you do when a password is required to cancel the screensaver?
Wouldn't it just prompt you for the password and not show your window.

Perhaps you should develop a screensaver that displays the details you
want to see. It would be less instrusive.
Nov 16 '05 #2
Matthew Smith wrote:
What would you do when a password is required to cancel the screensaver?
Wouldn't it just prompt you for the password and not show your window.
Nothing. This app is for me, and I don't use a password with the
screensaver.
Perhaps you should develop a screensaver that displays the details you
want to see. It would be less instrusive.


What if the screen is in power-save already? It wouldn't even display
the screensaver. That's why I wanted to do it that way. Besides I need
it to display the info while I'm working too, and having two different
windows for the same output... that's kind of too much work for a
weekend app.

I'm thinking, maybe making the mouse cursor move a little would make the
system to trigger an event which will close the current screen saver -
and maybe if I'm lucky, the power saving function.

hjf
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2516
by: Card.Starzinger | last post by:
Hi! I need help to simulate programmatically user interaction on WinNT 4.0, to avoid screen saver activation. I try with key injection event. SendInput API and keybd_event API work correctly with Win2000 and WinXP system. Screen saver don't start.
3
2365
by: Thom Little | last post by:
How do I invoke the current screen saver with C#? Where did you find the information on how to do it? -- -- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd. --
2
2839
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have been successful in disabling the Screen Saver, but it does not work for re-enabling. The only way I can re-activate it is to re-apply the settings through the Display properties in the Control Panel. Sample lines of code, in simplest form:
1
2268
by: Daniel | last post by:
Hi all, i have a doubt related to the screen saver ability. After developing the asp.net webform, can i add screen saver ability in this webform? which means, i open the asp.net webform, after a few minutes the web form will act as a screen saver. In the screen, it only show summary of each product in real time(which mean the webform is still performing in background and the screen saver will be real time update the summary). Will it...
0
3282
by: Jeffery Tyree | last post by:
I have a machine that will be used to demo some Excel spreadsheets at a convention. Because I did not author the spreadsheets and attendees will be allowed to play with the spreadsheets, I needed a way to periodically restore the original versions. In addition to the "always-on-top click this button to reset demo" application I wrote, I chose to use screen saver code to reset the demo after a period of inactivity in the event an attendee...
2
4919
by: Claire | last post by:
Hi, Our software runs on a XP system attached to a touch screen monitor and smartcard USB reader. We run our own simple corporate screen saver. When the screen is touched the screen saver vanishes, but when a user inserts a smartcard (we're polling for inserts) the screen saver doesn't vanish. Is there any way we can awaken the system and stop the screen saver from code please?
1
2378
by: ashwiniappajigowda | last post by:
Hi, I have an simple MFC dialog based application. On launch of that application 'Password protected screen saver' is not getting activated after the screen saver timeout. If 'On resume, password protect' option unchecked, I am getting the Screen saver. Application not generating any of the keyboard or any user events to
3
5762
by: KK | last post by:
Dear All I want to prevent the screen saver getting activated when my application is running. I have the following code, but still screen saver is activated. What corrections I should make to prevent screen saver running to the following code. public class MainForm : System.Windows.Forms.Form { private static readonly int SC_SCREENSAVE = 0xF140;
0
1263
by: rehanrana | last post by:
I built application in VB6, my application appear in system tray, when I double click on icon of my application, it run screen saver, my screen saver shows images and news. Screen saver functionality is that when user press F2 key, my screen saver open news detail in browser. But the problem is that when screen saver stop (close), browser also close with the screen saver. following line i use to start screen saver lRet =...
0
9404
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
10168
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
9837
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...
1
7381
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
6651
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();...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
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
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
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.