?
Solved

Two windows application question

Posted on 2006-07-17
3
Medium Priority
?
231 Views
Last Modified: 2010-04-16
Hello:
I have a windows application and I got two problem, because I want to draw a box on my screen:
1. I want to set all the forms include my form that are maxmized in my system to minmized.
2. I want to catch the mouse event out of my forms, I want catch the mouse event in my system.
what should I do, please help me !
0
Comment
Question by:ed_dalian
  • 2
3 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 17123004
Use a global hook:
http://support.microsoft.com/?kbid=318804

Instead of WH_MOUSE, use WH_MOUSE_LL...
0
 

Author Comment

by:ed_dalian
ID: 17128412
thanks I have tried that  but it could work on my own form, when I click my mouse out of my form it couldn't work. What should I do?
0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 1000 total points
ID: 17142241
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question