473,405 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

SystemEvents.InvokeOnEventsThread

Has anyone used SystemEvents.InvokeOnEventsThread?
The MSDN documentation is a little vague with regards this method.
I am trying to detect and respond to changes to the desktop (like moving
desktop icons around, mouse events on desktop, etc) and was wondering if I
could use the above method to trap such events.

The alternatives I have looked into are system hooks but this requires
coding a c++ dll... yuk!

Thanks for any help.
Jul 21 '05 #1
1 2199

Friend,

You will find the needed code in the below given link

http://www.codeworks.it/net/Sysevents.htm

Think it will be of help to you
--
pramodsnairPosted from http://www.pcreview.co.uk/ newsgroup access

Jul 22 '05 #2

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

Similar topics

7
by: Sunny K | last post by:
Hi guys, whilst working on a project which I thought was nearly complete I have come across a problem which was some how over seen, which I am hoping one of you guys know how to resovle. ...
0
by: sean | last post by:
Hi, I have a C# Winform application. I'm trying to run the application under a custom window station and desktop. First, I have an original (non-dotnet) process that does a...
0
by: sean | last post by:
From a parent process, I created a custom windows station and desktop. I then CreateProcess using that new station/desktop. There are no problems launching a plain windows app with this...
0
by: Ivan | last post by:
Hi, members, Does anyone know how to use SystemEvents in namespace Microsoft.Win32? Could I use it to gather the system event when a usb device is plugged? Could you provide a sample code to...
9
by: esafran | last post by:
Hi, I've have encountered a very strange behaviour under C#. My application is registering for: Microsoft.Win32.SystemEvents.DisplaySettingsChanged &...
0
by: Roshan | last post by:
Hi All, Iam using WMI for the first time and am trying to detect and stop a user login event. But when i run my code, i notice that the event handler is not getting called. Can some one tell me...
1
by: Defiant | last post by:
Has anyone used SystemEvents.InvokeOnEventsThread? The MSDN documentation is a little vague with regards this method. I am trying to detect and respond to changes to the desktop (like moving...
4
by: Adam Benson | last post by:
Hi, We have an app which, every now and then, has very high CPU usage. Profiling under perfmon shows it to be thread #3 which is running at >=95%. I took a process dump and looked at thread #3...
2
by: Bandu | last post by:
Hi, I used SystemEvents.PowerModeChanged to monitor from WinForm application and it work fine. I put that code in to Windows service application and it not seem to catch any power event. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...

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.