Re: MultiTrackBarGadget (Windows)
Posted: Sat Mar 12, 2016 7:27 am
Hi Richard,
thanks for your rework.
With a color definition for Linux like and a replacement within MTrack_Service() it works fine on Linux.
But the line stays explosive if an external window (like the PB debugger window ) got the 'keep on top'-flag. In this case you get a -1 for the ActiveWindow.
Best Regards, Charly
thanks for your rework.
With a color definition for Linux like
Code: Select all
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
#Red = $0000FF
#Green = $008000
#Cyan = $FFFF00
#Yellow= $00FFFF
#White = $FFFFFF
#Black = $0
CompilerEndIf
Code: Select all
CompilerIf #PB_Compiler_OS = #PB_OS_Windows
beep_(2500,50)
CompilerElseIf #PB_Compiler_OS = #PB_OS_Linux
RunProgram("beep", "-f 2500 -l 50", ""); 'beep' must be installed on Linux
CompilerEndIf
But the line
Code: Select all
\MT_Win = GetActiveWindow()
Best Regards, Charly