Done Window positioning commands and current position function

May 20, 2008
3,515
4
Elkridge, MD, USA
To be able to save current window position and restore it easily it
would be desirable to have a function that returns window position in the
same format required by the /POS option of the commands which use that
option for window positioning. The values returned by the @WINPOS function
are not consistent with the /POS option. A new function, possibly named
@POS[title] do this. If @WINPOS returns the unparsed value of a single
Windows API function, it would be trivial to perform the arithmetic
operations required to translate those values to the format required by the
/POS options and report them as the values of @POS[].
It would shorten coding if @WINPOS and the new function would interpret
an empty parameter string as specifying the current window, similar to many
other functions.
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
D Suggestion: VIEW option to open VIEW over tab window but not keep it there Suggestions 0
D Done Suggestion: Add VIEW option to open in same position as current window Suggestions 0
D Suggestion: Tab or button to open new tab window in horizontal group Suggestions 1
R Window position and size indicator Suggestions 0
Charles Dye Done Window Transparency slider tooltip could include the current setting Suggestions 4
R Done Changed variable window Suggestions 5
J Done HDD Smart status and Window size setting improvement Suggestions 5
R Done Command History Window: select more than one line. Suggestions 0
Oz Solomon Done Recycle/Reuse window option for TCMD Suggestions 6
cxxl Done Allow Selection for History/Dirhistory Window Suggestions 4
rps Declined Remember the Help "Select Topic" window settings Suggestions 4
rps Command History window options Suggestions 0
D Done Add VIEW option to open in same position as current window Suggestions 0
rconn Improve Window Split Functionality Suggestions 0
Roedy Done TCC Window title Suggestions 0
I Declined Transparent window Suggestions 5
M Done Show Administrator in the window title when launched as ADMIN under Windows7/Vista Suggestions 1
Roedy Done search command window Suggestions 1
nickles Done FR: Change a window's icon Suggestions 0
S Done Debugger window HELP pulldown menu Suggestions 3
Stefano Piccardi Done keep position in bdebugger window Suggestions 0
R Add Custom Message to commands Suggestions 2
R Done Watching commands executed and variables changed Suggestions 1
Joe Caverly Done File completion for LIBRARY commands Suggestions 1
R Declined TESTPAUSE and TESTECHO commands for debugging & minor changes Suggestions 9
WinLanEm Add commands and functions Suggestions 11
S Declined Interruption of commands Suggestions 18
S Done Enhanced ALIAS, SET, ESET and FUNCTION commands Suggestions 0
S Declined Add /W(ipe) option to several commands Suggestions 17
S Declined MONITOR commands; several @WIN...[] functions Suggestions 2
S Done Accessing count results from various commands Suggestions 1
C Done commands report nb_processed + nb_failed Suggestions 4
D Done Suggestion for commands to move/copy a folder Suggestions 7

Similar threads