Restored from previous forum. Originally posted by Franco.
It would be nice to have a ToolWindow within the Windows lib.
(small window title and no button in the taskbar)
Don't know actually if this is Windows specific, but it would be nice to see it anyway.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
[Implemented] Please add ToolWindow
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Now with the additional ParentWindowID flag at the OpenWindow command,
an additional #ToolWindowStyle would have been great.
But nobody listen to me...
Franco
BTW
I add this request again, because if I change the WindowStyle later with:
the InnerSize is not correct anymore and it has to be corrected afterwards with ResizeWindow.
Besides if you don't do a Resize, than the style is changed only if you move the ChildWindow with the mouse.
an additional #ToolWindowStyle would have been great.
But nobody listen to me...

Franco
BTW
I add this request again, because if I change the WindowStyle later with:
Code: Select all
If OpenWindow(0, 200, 200, 320,240, #PB_Window_SystemMenu ,"Main Window") And CreateGadgetList(WindowID()) : Else : End : EndIf
If OpenWindow(1, 400, 208, 320,240, #PB_Window_SystemMenu ,"Child Window",WindowID(0)) : Else : EndIf
SetWindowLong_(WindowID(1),#GWL_EXSTYLE,GetWindowLong_(WindowID(1),#GWL_EXSTYLE) | #WS_EX_TOOLWINDOW)
ResizeWindow(320, 232)
Repeat
EventID.l = WaitWindowEvent()
Until EventID = #PB_EventCloseWindow
End
Besides if you don't do a Resize, than the style is changed only if you move the ChildWindow with the mouse.
I am to provide the public with beneficial shocks.
Alfred Hitshock