Solved

Two windows application question

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

Accepted Solution

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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run time Error 4 48
Greetings C# program 17 107
Counting connections to SQL Server through C# 3 33
converto datetime always changes format 9 37
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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