Solved

Two windows application question

Posted on 2006-07-17
3
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 total points
ID: 17142241
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding where clause to entity statement c# 1 61
Header Font Size in Grid View 6 45
Windows Universal App 22 56
Read top line from CSV file 14 57
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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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