Restored from previous forum. Originally posted by MrVainSCL.
Add Features and Description:
MaxWindowSize(#width,#heigh)
Let the coder set the MaxSize for Window to resize
MinWindowSize(#width,#heigh)
Let the coder set the MinSize for Window to resize
WindowToFront()
Set window front to screen...
WindowToBack()
Set window back to screen...
?? WindowEverToFront ???
Unknown command - Set window EVER to front (freeze) ...!?
greetz
MrVainSCL!
Idea for WindowLib
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by wavemaker.
Hi MrVainSCL,
I don't know if Fred will add the features you request. If you use PB for Windows, you can achieve the desired results using the Windows API:
For these two, see the example in the Tips&Tricks section of the forum:
* MaxWindowSize(#width,#heigh)
Let the coder set the MaxSize for Window to resize
* MinWindowSize(#width,#heigh)
Let the coder set the MinSize for Window to resize
And for the others, use:
* WindowToFront()
Set window front to screen...
* WindowToBack()
Set window back to screen...
* WindowEverToFront
Unknown command - Set window EVER to front (freeze) ...!?
Have a nice day,
Edited by - wavemaker on 06 December 2001 15:13:14
Hi MrVainSCL,
I don't know if Fred will add the features you request. If you use PB for Windows, you can achieve the desired results using the Windows API:
For these two, see the example in the Tips&Tricks section of the forum:
* MaxWindowSize(#width,#heigh)
Let the coder set the MaxSize for Window to resize
* MinWindowSize(#width,#heigh)
Let the coder set the MinSize for Window to resize
And for the others, use:
* WindowToFront()
Set window front to screen...
Code: Select all
SetForegroundWindow_(WindowID())
Set window back to screen...
Code: Select all
SetWindowPos_(WindowID(), #HWND_BOTTOM, 0, 0, 0, 0, #SWP_NOMOVE|#SWP_NOSIZE);
Unknown command - Set window EVER to front (freeze) ...!?
Code: Select all
SetWindowPos_(WindowID(), #HWND_TOPMOST, 0, 0, 0, 0, #SWP_NOMOVE|#SWP_NOSIZE);
Edited by - wavemaker on 06 December 2001 15:13:14