Andrea this code:
@DISPLAY {Title="Test", Desktop=True, DisableBlanker=True}
Function p_Teclado(msg)
Switch(msg.action)
Case "OnKeyDown":
If msg.key="h" Or msg.key="H"
p_Help()
EndIf
EndSwitch
EndFunction
SetFont(#SANS, 50)
SetFontColor(#RED)
SetFontStyle(#ANTIALIAS)
TextOut(#CENTER, #CENTER, "THIS IS A TEST")
Function p_Help()
SystemRequest("WINDOW BUG",
"Testing the requester window.".."\n"..
"ESC: Exit of the test."
,"Ok",#REQICON_INFORMATION)
EndFunction
InstallEventHandler({OnKeyDown=p_Teclado})
EscapeQuit(True)
Repeat
WaitEvent
Forever
This easy code to activate the desktop window, under MorphOS can'ts open the requester window, under Windows and AmigaOS3.9 yeah, but under MOS not.
SystemRequest window in full screen under MorphOS
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: SystemRequest window in full screen under MorphOS
I compiled the example for 68k and I tested under MorphOS and this 68k version open the requester window, the problem or bug is in the MorphOS executable.
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: SystemRequest window in full screen under MorphOS
I'm sorry I didn't see your post, as I said, I work in three proyects and I visit this forum rarely.
Re: SystemRequest window in full screen under MorphOS
As said in the other thread, you can use GrabDesktop() to make a work-around.
For example like this:
@DISPLAY {Title="Test", Hidden=True, Borderless=True, DisableBlanker=True}
GrabDesktop(1)
BrushToBGPic(1,1)
DisplayBGPic(1)
FreeBrush(1)
OpenDisplay(1)
That would work on MorphOS too.
For example like this:
@DISPLAY {Title="Test", Hidden=True, Borderless=True, DisableBlanker=True}
GrabDesktop(1)
BrushToBGPic(1,1)
DisplayBGPic(1)
FreeBrush(1)
OpenDisplay(1)
That would work on MorphOS too.
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: SystemRequest window in full screen under MorphOS
I could test the same code on AmigaOS4 and it also has the same bug not only with MorphOS.
Thank you for your solution, I'll test it.
Thank you for your solution, I'll test it.