tool window
Posted: Tue Apr 15, 2025 3:06 pm
The tool window title height size is the same as a normally window, it shouldn't ?
Windows 10
PB 621b5
M.
Windows 10
PB 621b5
Code: Select all
If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
OpenWindow(1, 300, 200, 100, 260, "tool", #PB_Window_SystemMenu | #PB_Window_Tool, WindowID(0))
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_CloseWindow ; If the user has pressed on the close button
Quit = 1
EndIf
Until Quit = 1
EndIf
End ; All the opened windows are closed automatically by PureBasic