Welcome Guest.   Make a donation to an author on the site November 01, 2014, 07:39:09 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: tool to allow resizing controls inside windows of other apps  (Read 1950 times)
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« on: September 30, 2009, 03:40:43 PM »

ok... stay w/ me here..   I have some poorly coded apps that have very tiny dialog boxes with very tiny edit boxes, list controls, etc.  These days most of us run 1280x1024 or higher resolutions and this is just unacceptable for certain tasks.  I would like to be able to "grab" a control inside one of these dialogs and resize it.  I believe this is possible, I have seen other programs "fiddle" with controls such as enabling "disabled" buttons, and making "non-resizable" windows resizable. 

the way I see it working is, you run the program, it sits in the tray.  Then you click to activate it, and as you hover the mouse over standard windows GUI controls (buttons, dialogs, editboxes etc) they will be outlined in red.  Probably most of you have seen this type of thing with screen-capture programs when you choose "object" mode. Then if you select that control by clicking on it, you can grab its edge and resize it.

does anyone know if something like this is even possible??  I feel like it should be, but not sure.  Hoping somebody will have the answer!!
cheers,
Luke
Logged
r0bertdenir0
Supporting Member
**
Posts: 49


View Profile Give some DonationCredits to this forum member
« Reply #1 on: October 01, 2009, 08:21:01 AM »

Yr best bet would be either AutoHotkey or AutoIt.
For once off things the approach you describe is fine 2 drag & resize controls.
If you use these tiny apps regularly then that's too tedious 2 do all the time.
Rather have a script made in these languages monitoring 4 yr badly designed apps & as soon as they appear the windows & controls are resized automatically.

I prefer AutoHotkey cos of mouse hook support but both the above apps will do wat you ant very elegantly.
If you're lost then just download, install & play around with AutoHotkey & we can assist you more from there.
Logged
LuckMan212
Charter Member
***
Posts: 137


View Profile Give some DonationCredits to this forum member
« Reply #2 on: October 01, 2009, 08:24:18 AM »

I dont have too much experience w/ autohotkey, not sure where I would start with this one.  I use AutoIt because of its ability to compile native x64 apps.  Can you steer me in the right direction or link to some sample code (I am guessing I need to dive into WinAPI to achieve this, the built in AHK functions will surely not do what I am asking...)
Logged
thefritz_j
Charter Honorary Member
***
Posts: 75


View Profile Give some DonationCredits to this forum member
« Reply #3 on: November 07, 2009, 09:11:22 PM »

Dunno if the apps are ".net" but here's a handy tool I use all the time

"Hawkeye .Net Runtime Object Editor"
http://www.codeplex.com/hawkeye
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.024s | Server load: 0.46 ]