Details Column Mode: External Scripting Support #2
Posted: 2011-09-15, 18:42 UTC
All of TC's file panel ListBoxes except for Details mode are tab-delimited between their respective columns (the string returned for the row, via Message LB_GETTEXT).
All of TC's file panel ListBoxes except for Thumbnail view can be queried with most of the important Windows "LB" (ListBox) Messages.
REQUEST#1
It would be most helpful if TC's Details mode/view was tab-delimited as well, instead of spaces between the respective columns -- in the string returned for the row via Message LB_GETTEXT.
==========================================================================
REQUEST#2
If it is not difficult to implement, it would be useful as well if the Thumbnail View could respond to LB sendMessage's with the appropriate responses.
All of TC's file panel ListBoxes except for Thumbnail view can be queried with most of the important Windows "LB" (ListBox) Messages.
REQUEST#1
It would be most helpful if TC's Details mode/view was tab-delimited as well, instead of spaces between the respective columns -- in the string returned for the row via Message LB_GETTEXT.
==========================================================================
REQUEST#2
If it is not difficult to implement, it would be useful as well if the Thumbnail View could respond to LB sendMessage's with the appropriate responses.
And while I don't necessarily expect Request#2, if it IS implemented, could the following messages elcit the appropriate response as well (They are non-functional in all of TC's View modes)Select/Unselect Item
LB_SETSEL, 0x0185 :: SendMessage, LB_SETSEL, [TRUE|FALSE], $CursorPosition
Is Item Selected?
LB_GETSEL, 0x0187 :: SendMessage, LB_GETSEL, $CursorPosition, 0x0
Where is the Cursor?
LB_GETCURSEL, 0x0188 :: SendMessage, LB_GETCURSEL, 0x0, 0x0
Get Text of the Row @ $CursorPosition
LB_GETTEXT, 0x0189 :: SendMessage, LB_GETTEXT, $CursorPosition
String Length of the Row @ $CursorPosition
LB_GETTEXTLEN, 0x018A :: SendMessage, LB_GETTEXTLEN, $CursorPosition, 0x0
How many items are in the ListBox?
LB_GETCOUNT, 0x018B :: SendMessage, LB_GETCOUNT, 0x0, 0x0
Query the List of Selected Items
LB_GETSELITEMS, 0x0191 :: SendMessage, LB_GETSELITEMS, $NumSelected, &AddressToReturnList
LB_FINDSTRING, 0x018F :: SendMessage, LB_FINDSTRING, $CursorPositionToStartAt, &AddressOfStringToLookFor
LB_FINDSTRINGEXACT, 0x01A2 :: SendMessage, LB_FINDSTRINGEXACT, $CursorPositionToStartAt, &AddressOfStringToLookFor