Quick-Tipp: Determine the window number of the debug window
Posted: Sun Nov 10, 2019 4:02 pm
Hello,
with this little code snippet you are able to determine the window number of the debug window:
With this windows number, you can control the debug window with the native window commands:
Greetings ... Peter
with this little code snippet you are able to determine the window number of the debug window:
Code: Select all
Define SpiderDebugWindow
! v_spiderdebugwindow = spider.debug.window;
Code: Select all
; change the window-title
SetWindowTitle(SpiderDebugWindow, "Debug-Output")
; change the position of the debug-window (bottom/right instead of top/right):
ResizeWindow(SpiderDebugWindow, #PB_Ignore, DesktopHeight(0) - WindowHeight(SpiderDebugWindow, #PB_Window_FrameCoordinate), #PB_Ignore, #PB_Ignore)
; etc...