topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 11, 2024, 11:53 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: IDEA: drag window to edge automatically resizes it  (Read 779533 times)

ericslaw

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #375 on: August 27, 2007, 12:16 PM »
Where can we post example grid files?  I found it once on this site, but now I cannot find it again


ericslaw

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #376 on: August 27, 2007, 12:27 PM »
Found it just after I posted it.... now if only I could explain how I found it :-(

dzr

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #377 on: September 02, 2007, 12:10 PM »
Thanks - lost track of this. Isn't section 5, the middle section?

Personally, I'd want the entire height, but for the width,  I'd definately want much less than 80%, but somewhat more than the 50% of the 2 part splits.

There's no easy way for us end users to tweak a middle section?

Thanks

Hmmm, not sure of an exact size -- how would I give you a measurement?
Well... Tell me something in terms of percentage of your screen. I can tell you that the center part of that grid i mentioned (EdgeGrid) takes 80% of the screen height and 80% of the screen width.

The red grid with the number 5 takes 40% of the screen height and 40% of the screen's width.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #378 on: September 06, 2007, 09:50 AM »
I've now uploaded a new version that hopefully has better font rendering (thanks lanux!!).

@dzr: i've attached to this post a very simple grid.
Tweaking it is simple, just edit it with notepad and change the numbers (currently on 0.15) to some other value (from 0 to 1). That controls the size of the empty space left on the right and left of the grid. The bigger the number, the bigger the margin.

johncck

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #379 on: September 21, 2007, 03:02 AM »
Hi jgpaiva, I've been using your GridMove for a while now and really like it a lot.  I saw you have a new version and tried it out but could not figure out how you can change the transparency of the "location preview" boxes?  Help?

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #380 on: September 21, 2007, 08:58 AM »
Hi john!
There was no way to configure that transparency in previous versions of GridMove.
I've uploaded a new version, which lets you configure the transparency through a .ini parameter. Just follow the following procedure:
Download and update gridmove (from http://jgpaiva.dcmem...rs.com/gridmove.html).
Run the gridmove once.
Open gridmove's folder, and edit "gridmove.ini" with notepad.
Change the "transparency" parameter (255 is full opacity, 0 is full transparency).
Save the file and restart gridmove. :)

This new version also includes another parameter that can be changed through that same method: MButtonTimeout, as requested by Mark through e-mail.

johncck

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #381 on: September 25, 2007, 10:27 AM »
Hi jgpaiva, thanks for replying so promptly!  It's very nice to see a developer keeping up with the feedback from users.  I'm afraid I have not tried what you advised above because I'm having problems using gridmove on a new tablet pc i bought. 

I bought the Fujitsu T2010 tablet pc a few weeks ago and tried to get gridmove working on it to no avail.  After the initial install and on the first run, it hangs on the help screen.  I have to close the process in task manager.  After that, whenever i click on Gridmove from the start menu, i see it's icon in the system tray.  When I hover my mouse pointer over the icon, i see "GridMove V1.19.40".  All SEEMS to be well.  But, when I right click it to set options, nothing happens.  Nothing happens when I left click as well. 

I thought perhaps some other software I'm using could be interfering with gridmove and since I was planning to reformat my hdd, I wanted to test if this was the case.  I reformated my hdd and did a clean install of windows xp tablet pc 2005.  I installed all my drivers but no software.  After I made sure that all my drivers were in place, I installed gridmove.  Same thing happens!  It hangs on the initial help screen and all subsequent attempts to run it give me a system tray icon with nothing else.  Rebooting doesn't help. 

Any ideas?  Do I need to install any .NET packages?  It's working great on my desktop and now I can't use my tablet pc without it!  :D

Update:  I just uninstalled V1.19.40 and installed V1.19.26 that I saved previously.  Same problem!  Hangs on help screen.  After that, only gives me a system tray icon when run...  Help please!   :(
« Last Edit: September 25, 2007, 10:38 AM by johncck »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #382 on: September 25, 2007, 01:19 PM »
Hey john!

I can recognize that problem.
Please try the solution mentioned in this post.
Unfortunatelly, i can't tell what causes this problem, thus i can't really solve it in a better way that ask people to follow that procedure :(

painz

  • Participant
  • Joined in 2007
  • *
  • Posts: 9
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #383 on: October 02, 2007, 03:27 AM »
Thanks for nice program, the only thing - i use it on notebook and when i plug external monitor grid doesnt resize itself, is it possible to enable resolution check before displaying or maybe detect changes in screen rez and reload it automatically?

Also here's my grid, functionality - left/right: 1/2 width, corners: 1/4 size, top: keep on top. 1 monitor support.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #384 on: October 02, 2007, 07:58 AM »
Pretty good, painz!
I'll make it dualscreen and post it on the "post your grid here" thread :)

As for the resizing problem, i also have it, as i have a similar config. Currently, the best way to do that is press win+g followed by 'r', and gridmove will be reloaded.

Auto detection is on my todo list, but it probably will take a while :(

rawlinpa

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #385 on: October 09, 2007, 04:27 PM »
The feature that I would like to see added would be a list of applications that GridMove does not try to resize and move. It would be an Applications Blacklist and could be empty by default.

The reason I think that this would be useful is that I use clicking and dragging the Title Bar to initiate moving the window. However, many windows are small enough (such as a Buddy List), that I accidentally click them in a spot that triggers GridMove. I know that I can hit Escape to stop the resizing and moving process, but I believe it would be nice to specify programs that GridMove will never try to resize and move.

Congrats on this innovative program!

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #386 on: October 09, 2007, 04:44 PM »
Hi rawlinpa!
I've been trying to include this in GridMove for a while, but still haven't found the time to do so.
GridMove already includes a blacklist, but it's hardcoded in one variable, and pnly includes a few apps i know that cause trouble.
If you'd like, i could add it to the ini configuration.

What you mentioned about windows being too small and GridMove taking the whole titlebar, that's actually a bug, as there's code to prevent that situation. I'll try to fix it ;)

JWeetje

  • Participant
  • Joined in 2006
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #387 on: October 27, 2007, 10:29 AM »
Best of it's kind !!!
What I would like is that I can use it to set my desktop in such a way that parts (like part of left or right side) is unuasable. Meaning that all windows I use qnd maximize only use a designated area of the desktop. So I always will have my shortcuts on the desktop available, or my shortcuts or anything else on the right side. As default. Set once, and then fixed.
If I am not clear, and that happens according my wife, please ask.

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #388 on: October 28, 2007, 05:16 PM »
GridMove is always one of the first few applications I install on a new computer. I can't live without it. Give me GridMove or give me death. I've got two new monitor configurations I need to make grids for now. One is my laptop (1280x800) on the right with an external 1280x1024 LCD to its left. And one for my desktop - which currently has a 22" CRT (same as 20" LCD) in between two 19" LCDs. Each of them at 1280x1024. I took a look at Eric Slaw's but it is too busy for me. Does anybody have a good 3 monitor grid?

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #389 on: October 29, 2007, 05:41 AM »
JWeetje: GridMove won't replace maximize. But you can use the grid posted here to acomplish something very similar to what you're asking. With this, you drop the windows in the middle of the screen, and they are maximized leaving some space on both sides.

tinjaw: Thanks! :D I'm using the edge grid on my dual-monitor config, i think it's the best one because it incorporates the 4-part grid (for the second monitor's IM programs) and still has a good work area in the middle ;)

fbi1970

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #390 on: November 10, 2007, 05:19 AM »
I've to submit a bug. GridMove resizes all windows, even if they was not resizeable.
To repro search for a windows which is no resizeable and try to move it in the grid.

Thanks
Gio

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #391 on: November 10, 2007, 06:31 AM »
hi fbi!
Actually, it isn't exactly a "bug", more of a feature. The problem is that then you can't move them to the size they had before, right?
Here's the solution:
Select the "edge grid", and drop the window on the "Last Size". It'll be resized to the size it had before gridmove last resized it ;)

fbi1970

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #392 on: November 12, 2007, 02:25 AM »
Mmhhh... I understand... But i'd like that GridMove should not resize them so that the grid does not appear. A lot of times I move dialogs such as search dialogs and they move on the grid.

Just a suggestion for a switch in config file.
Even a greit job.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #393 on: November 12, 2007, 04:57 AM »
Actually.. To be honest, i don't quite know how to retreive the information about the window being resizable or not :(
Maybe someone could give me a hand?

fbi1970

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #394 on: November 12, 2007, 08:17 AM »
MMhhh.. You're right :P. It should be done by combining data about visibility of the maximize/minimize box and the border type of the window but I can't help you. I don't know anything about ahk. If I've time I'll read something about it to help you.

See you later

TheQwerty

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 84
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #395 on: November 12, 2007, 08:31 AM »
Actually.. To be honest, i don't quite know how to retreive the information about the window being resizable or not :(
Maybe someone could give me a hand?
You could try basing it on the window's style.
WinGet winStyle, Style, A
if (winStyle & 0x40000) { ;0x40000 = WS_SIZEBOX = WS_THICKFRAME
   ;code to resize
}
I'm not sure if that'll work for all windows or even if you need to take into account the minimize and maximize/restore buttons as well.

danadina

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
IDEA: How GridMove could become compatible with Office 2007
« Reply #396 on: December 10, 2007, 05:11 AM »
Hey, this is great! I especially like the 'Drag on Window Title' method.  8)  Thank you!

My one problem is that some applications put vital buttons on the left edge of the title bar.  For example, MS-Office 2007, having done away with normal toolbars, puts the most vital toolbar buttons on the left section of the title bar:
 
o2007.png

I can increase GridMove's title size setting, so that I have an area for GridMove that won't trigger the buttons.  The problem is that I can't click the title-bar buttons without triggering GridMove, and thus instantly moving/resizing my window.

Perhaps the most basic solution is for GridMove to ignore a single-click that is not then accompanied by some minimal drag.

For further flexibility, what about giving an additional setting for "title bar inset size", so that I can inset my GridMove zone by a few hundred pixels, thus also keeping the tooltip text from covering my existing buttons' tooltips/menus?  And for that matter, there could be the setting to inset the zone from the _right_ edge of the title bar, instead, or to make the zone be the _center_ section of the title bar.

It wouldn't even be totally necessary to add an interface for adjusting these settings.  --Something in the INI file with an appropriate comment/hint on its meaning would do.

I think this would make GridMove much more compatible with MS-Office 2007 machines.

Thanks again!

Dan
« Last Edit: December 10, 2007, 05:17 AM by danadina »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #397 on: December 10, 2007, 03:29 PM »
Hey dan!

Yep, it's not the first time someone requests something like that ;)

Just check the TitleLeft variable in the ini file. It represents that "title bar inset size" you mentioned!

The other solution you mentioned would be great too, but i just can't do it right now :(

ppass

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 87
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #398 on: December 10, 2007, 05:20 PM »
Hi,

I would like Gridmove to ignore / exclude some applications that I list. For example, I extensively use VBA with small custom UserForms, and when I move them around, they sometimes end-up being increased and moved with Gridmove, which I want to avoid in this case. So for example, I would like to specify to Gridmove not to play with VBA UserForms. In the Windows API this is referred to as lpClassName = "ThunderDFrame" in the FindWindow function.

http://msdn2.microso...ibrary/ms633499.aspx


Another question, is there a minimum value for "Set Title Size". My experience is that below 30, I cannot click in the left area of the title bar. Is this specific to my system , (I use Windows XP).

Rgb9001

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: drag window to edge automatically resizes it
« Reply #399 on: December 11, 2007, 12:03 AM »
Hi everyone,

this is my first post here. I have been looking for a program like gridmove. Let me explain.

Last year AOL released a program called Openride. And I must say that all software released by AOL is trash... except for this one. Truly it is the only aol software I've used and liked. What made it really cool was the interface, a 4 pane design that let you do everything at once. The program itself was a big container that divided screen into 4 quadrants: Email, IM, Web, and Media. When you started the program the browser had most of the view, but all panes were visible. If you clicked on one of the other panes, it would resize and become the largest view, but again, at least a sliver of all panes were visible (There was a maximize button that would bring it to 100% view, when a window was maximized this way the icons of the other quadrants was still available at the top so you could hop between them). There was also a dynamic sizer button, where the vertical and horizontal dividing lines intersected. You could drag this point around and it would automatically resize all the windows based on your input. The video is still up here. http://discover.aol....ur/openride_tour.adp (Watch the intro, and the dynasizer chapter) Well, if the software is so great why am I telling you guys? Well, earlier this year, despite a plethora of good reviews, AOL openride was cancelled completely and is now inoperable. The software was replaced with something called AOL Desktop that takes out the automatic view features and brings back a classic AOL interface (codename: "suck"). I think that most AOL Lusers didn't know how to use it and AOL didn't realize what they had so they scrapped it. I think that gridview, or a new program could be written to behave similarly. However instead of hardcoding certain programs into this container app, one could choose whatever program they wanted to put in any quadrant (Maybe I want winamp in the lower right, and outlook in the upper left one day, and the next I need excel and word open side by side). Also maybe have an option of 2 or 3 panes instead of 4, or have an empty pane, etc.

As you can tell I really really liked Openride and hate to see it go, but the interface idea is just too good to forget. It differs a bit from gridmove in that the program I envision is a program that "houses" other programs and dynamically resizes them, but perhaps it would be easy to do, or maybe it is a new program entirely. Gridmove seems to be kind of on the same page as what I had in mind. What do you think? Is this possible? And again, this is my first time here so if I'm not following protocol let me know.

Thanks for your time!

--R