WindowInfo Hexadecimal output for handle
This commit is contained in:
parent
3ad290d371
commit
71156fc733
@ -44,6 +44,6 @@ public struct WindowInfo
|
||||
const int cutoffStr = 17;
|
||||
string processNameStr = ProcessInfo.ProcessName.Substring(0, Math.Min(cutoffStr, ProcessInfo.ProcessName.Length));
|
||||
string windowTitleStr = WindowTitle.Substring(0, Math.Min(cutoffStr, WindowTitle.Length));
|
||||
return $"0x{WindowHandle,6:X} | {ProcessInfo.Id,8} | {processNameStr,cutoffStr} | {windowTitleStr,-cutoffStr} | {WindowCommands,-13} | {WindowRectangle}";
|
||||
return $"0x{WindowHandle,-6:X} | {ProcessInfo.Id,8} | {processNameStr,cutoffStr} | {windowTitleStr,-cutoffStr} | {WindowCommands,-13} | {WindowRectangle}";
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user