WindowInfo Hexadecimal output for handle
This commit is contained in:
parent
47d55a9132
commit
6d09501a7f
@ -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 $"{WindowHandle,8} | {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…
Reference in New Issue
Block a user