Tool window "Form" should have the flag #PB_Window_Tool

You need some new stunning features ? Tell us here.
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Tool window "Form" should have the flag #PB_Window_Tool

Post 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
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version