- AuthorPosts
- July 17, 2011 at 6:57 pm #9499StefanParticipant
I would like to suggest to make the window
of the Snippet Plugin Property Dialog resize-able
or at least greater (wider&higher) by default.I know i can click at [Edit], but i like to have
more space for the text input field in that very dialog.Thanks
10.1 at XP
July 17, 2011 at 10:16 pm #9504CrashNBurnMemberHere’s a non-internal solution:
Requires ResizeEnable by Digi Tallis, and AutoHotkey.Ctrl+ RightClick in the newly opened snippets properties dialog. And it will resize the window to nearly full screen.
Size is controlled by the line:
—> MouseClickDrag, Left,,, 1680, 1050, 100, RChange 1680, 1050 to width/height desired.
#SingleInstance, Force
#Persistent
#NoEnv
#MaxHotKeysPerInterval, 100
SetBatchLInes, -1
SetMouseDelay, -1
SetTitleMatchMode, Regex
DetectHiddenWindows, on
#ifWinActive, Properties ahk_class ^#32770$
{
^RButton::
{
parent:=QueryParent(WinActive("A"))
pClass:=WinGetClass(parent)
if( pClass == "EmEditorMainFrame3" )
{
WinMove, 10, 10
WinGetPos, xWin, yWin, wWin, hWin, A
CoordMode, Mouse, Screen
MouseMove, \% wWin + xWin - 2, \% hWin + yWin - 2, 10
Click
Sleep, 750
MouseClickDrag, Left,,, 1680, 1050, 100, R
}
return
}
return
}
WinActiveA( aWin="", winText="", notTitle="", notText="" )
{
return WinActive( (aWin+0 ? "ahk_id " aWin : aWin), winText, notTitle, notText )
}
WinGetClass( aWin="A", winText="", notTitle="", notText="" )
{
WinGetClass, wClass, \% (aWin+0 ? "ahk_id " aWin : aWin), \%winText\%, \%notTitle\%, \%notText\%
return wClass
}
QueryParent(childID, byRef ownerID=FALSE)
{
childID:=(childID + 0 ? childID : WinActive("A"))
retReal:=(ownerID ? TRUE : FALSE)
ownerID:=childID
while((ownerID:=DllCall("GetWindow", "uint", ownerID, "int", 4)) && (parent:=ownerID)) ; && grandParent
continue
return ( retReal ? parent : (parent ? parent : ownerID:=childID))
}
Not as good as an internal solution. And not as good as a custom solution. But a custom solution would entail moving each individual control a set amount (changing x/y coords, and width/height for each control).
- AuthorPosts
- You must be logged in to reply to this topic.