Solved

Two windows application question

Posted on 2006-07-17
3
223 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 85

Expert Comment

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

Instead of WH_MOUSE, use WH_MOUSE_LL...
0
 

Author Comment

by:ed_dalian
Comment Utility
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 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
Comment Utility
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now