Mouseless window resizing
Unable to parse email body. Email id is 7086
Unable to parse email body. Email id is 7086
On Mon, Oct 29, 2007 at 01:58:01PM -0400, Brian Connoy wrote: > As much as possible I'd like to keep hands off the mouse. The > prospect of resizing LispWorks windows at the keyboard is > tantalizing (and for me, a programming challenge). Hear, hear! :) > To clarify, rather than having to reach for the mouse and grab an > edge or corner of a Window to resize it, I'd prefer keyboard > interaction. Creating a defcommand that "narrows" the window around > a defun at point would also be a dream. > > I'm running LW 5.0.2 Enterprise on WinXP, so I reckon there's Win32 > chicanery involved. Any advice, ideas, or direction from anyone is > most appreciated, thanks. Well, you said *any* advice/ideas/direction so here's how I would approach this (disclaimer: I haven't written any Windows UI code in LW or anywhere else, but I've glanced at the CAPI docs and poked at the Window Browser tool a bit): - Write a sample app that opens a CAPI window, and figure out how to resize it programatically. - Figure out how to get a handle to one of the IDE's windows. The "Window Browser" tool may help with this. - Combine steps one and two to resize an IDE window. Just my $0.02. Maybe other folks on the list can flesh out this skeleton. -- L
Unable to parse email body. Email id is 7098