Page 1 of 1

Tool window "Form" should have the flag #PB_Window_Tool

Posted: Sun Apr 10, 2016 7:04 pm
by Sicro
The tool window "Form" should always be in the foreground.
In addition, it should be minimized, if I minimize the PB IDE.

Example:

Code: Select all

OpenWindow(0, 0, 0, 600, 600, "PB-IDE", #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_MinimizeGadget)
#ToolWindowWidth = 200
Define ToolWindowX = WindowX(0) + WindowWidth(0) - #ToolWindowWidth - 20
Define ToolWindowY = WindowY(0) + 50
OpenWindow(1, ToolWindowX, ToolWindowY, #ToolWindowWidth, 400, "ToolWindow_Form", #PB_Window_SystemMenu | #PB_Window_Tool, WindowID(0))

Repeat
  Event = WaitWindowEvent()
Until event = #PB_Event_CloseWindow