I asked about Linux, because the same problem occurs.
ResizeWindow() with Flags = #PB_Window_SystemMenu
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
Thanks for the clarification
I asked about Linux, because the same problem occurs.
I asked about Linux, because the same problem occurs.
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
Really ? Exactly the same thing ? I find it very strange.
I tried on Linux Mint with this program:
which didn't previously work correctly on Windows and under Linux I don't see any problem.
What are your results with that one on Linux ?
Can you try with a different windows-manager on the same distribution, or at worst on another distribution ?
Anyway, if that's really the case, you should open a new thread in the Linux subforum I think.
I tried on Linux Mint with this program:
Code: Select all
; BAD
OpenWindow(0, 10, 150, 280, 70, "30",#PB_Window_SystemMenu)
SetWindowColor(0,$F650F1)
OpenWindow(1, 0, 0, 280, 70, "30",#PB_Window_SystemMenu)
SetWindowColor(1,$0050F1)
x=WindowX(0,#PB_Window_FrameCoordinate)
y=WindowY(0,#PB_Window_FrameCoordinate)
w=WindowWidth(0,#PB_Window_FrameCoordinate)
h=WindowHeight(0,#PB_Window_FrameCoordinate)
ResizeWindow(1,(x+w),y, #PB_Ignore, #PB_Ignore)
; GOOD
OpenWindow(2, 10, 350, 280, 70, "30",#PB_Window_SystemMenu | #PB_Window_SizeGadget)
SetWindowColor(2,$F650F1)
OpenWindow(3, 0, 0, 280, 70, "30",#PB_Window_SystemMenu | #PB_Window_SizeGadget)
SetWindowColor(3,$0050F1)
x=WindowX(2,#PB_Window_FrameCoordinate)
y=WindowY(2,#PB_Window_FrameCoordinate)
w=WindowWidth(2,#PB_Window_FrameCoordinate)
h=WindowHeight(2,#PB_Window_FrameCoordinate)
ResizeWindow(3,(x+w),y, #PB_Ignore, #PB_Ignore)
While WaitWindowEvent() ! #PB_Event_CloseWindow :Wend
What are your results with that one on Linux ?
Can you try with a different windows-manager on the same distribution, or at worst on another distribution ?
Anyway, if that's really the case, you should open a new thread in the Linux subforum I think.
"Have you tried turning it off and on again ?"
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
Short reply here:
Works ok for me, likely the problems are caused by the peculiar Unity UI but I don't have an OS with that installed so I cannot look into that.
Works ok for me, likely the problems are caused by the peculiar Unity UI but I don't have an OS with that installed so I cannot look into that.
"Have you tried turning it off and on again ?"
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
And thanks for that we will continue to understand 
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
Thanks for the thanks, you are welcome.
"Have you tried turning it off and on again ?"
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
@luis
I like the font from your screen shot, what's is name?
I like the font from your screen shot, what's is name?
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
sorry about the Off Topic: but this is the best place
That show has me laughing much more than I expected, it has aged very well.
This coming from an adult who stayed away from computer club meetings to watch the A-Team after they rescheduled the show,
I really appreciate a TV program about a man who worships his gun yet never manages to shoot anyone intentionally.
At least not so far... I fell asleep on the fourth episode because it was so late.
There is a certain deranged quality about the scripts, the visual gags, and the actor's portrayals which I find very appealing.
Thanks for the tip luis.
Thanks to YouTube I can catch up on a lot for the mindless quality entertainment that I've missed.luis wrote:The illustrious man in the picture is inspector Sledge Hammer (TV show) -> http://en.wikipedia.org/wiki/Sledge_Hammer!
That show has me laughing much more than I expected, it has aged very well.
This coming from an adult who stayed away from computer club meetings to watch the A-Team after they rescheduled the show,
I really appreciate a TV program about a man who worships his gun yet never manages to shoot anyone intentionally.
At least not so far... I fell asleep on the fourth episode because it was so late.
There is a certain deranged quality about the scripts, the visual gags, and the actor's portrayals which I find very appealing.
Thanks for the tip luis.
Keep it BASIC.
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
@heartbone
Eh, the show is silly I know, but I saw it when I was younger and liked it (initially dubbed in Italian, then the original one in English).
Sometimes some silliness is just what I need.
I liked the actor impersonating Sledge (David Rasche), and I liked Sledge even if in real life it would be problematic to have him around.
But he was fundamentally a simple, honest, good guy who wanted to fight scum and incidentally talked to his gun.
I would have liked to have a friend like him, and sometimes I still would like to have the same freedom he had.
I remember him with affection.
The first series is the best one, the second has its moments but it's weaker, and with a dissatisfying ending.
It's called Dina, see here -> http://www.purebasic.fr/english/viewtop ... 69#p277669
Be warned, it's a bitmap font (it has only a couple or so of fixed sizes, but that's why it's so crisp), and does not support Unicode.
Originally for Windows but I managed to found it converted for other OSes too.
Eh, the show is silly I know, but I saw it when I was younger and liked it (initially dubbed in Italian, then the original one in English).
Sometimes some silliness is just what I need.
I liked the actor impersonating Sledge (David Rasche), and I liked Sledge even if in real life it would be problematic to have him around.
But he was fundamentally a simple, honest, good guy who wanted to fight scum and incidentally talked to his gun.
I would have liked to have a friend like him, and sometimes I still would like to have the same freedom he had.
I remember him with affection.
The first series is the best one, the second has its moments but it's weaker, and with a dissatisfying ending.
Incidentally I like it too !PureGuy wrote: I like the font from your screen shot, what's is name?
It's called Dina, see here -> http://www.purebasic.fr/english/viewtop ... 69#p277669
Be warned, it's a bitmap font (it has only a couple or so of fixed sizes, but that's why it's so crisp), and does not support Unicode.
Originally for Windows but I managed to found it converted for other OSes too.
"Have you tried turning it off and on again ?"
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
luis wrote:Incidentally I like it too !
It's called Dina, see here -> http://www.purebasic.fr/english/viewtop ... 69#p277669
In case of interest: follow along to a small ProggyFonts Review I've made some years ago.
Two growing code-collections: WinApi-Lib by RSBasic ~ LinuxAPI-Lib by Omi
Missing a download-file on the forums? ~ check out this backup page.
Missing a download-file on the forums? ~ check out this backup page.
Re: [Done] ResizeWindow() with Flags = #PB_Window_SystemMenu
Reverted the 'fix', as it creates to much problems with high DPI screens
Re: ResizeWindow() with Flags = #PB_Window_SystemMenu
It's the regular Windows behaviour to have transparent size grip accounted in the window x,y position.


