Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving around the Calculator

Status
Not open for further replies.

gvt

Programmer
Jul 19, 2000
14
SE
Let's say that the Calculator(Calc.exe) is open on the screen. <br>I want to make an application which checks if somebody is trying to move around the calculator on the screen. It should be possible to move it around but only within the borders of the screen. I don't care if that person closes or minimizes the Calculator but as long as it is open it shouldn't be possible to hide it outside the screen, not even a part of it.<br>Do you have any idea on how this should be done?<br><br>Would appreciate if anyone could help. <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vio<br>
 
Unless I am mistaken (it has happened before and it will happen again) you need to create a system-wide hook.<br><br>Don't go there. Unless you are quite expert: 1) It just won't work. 2) It could make a 1 gig machine run like an 80386. 3) Who the heck cares where Calculator is positioned on the screen?<br><br><br><br> <p> <br><a href=mailto: > </a><br><a href= plain black box</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top