; Get the desktop width and height
Width=GadgetWidth(Desktop())
Height=GadgetHeight(Desktop())
SetBuffer DesktopBuffer()
image=CreateImage( 395,89 )
;Grab the desktop from where the window will appear (middle)
GrabImage image,GraphicsWidth()/2-200,GraphicsHeight()/2-45
The above section is the code I would use. I adjusted the varibles to get the area that I need, but it doesn't work. The above code is from "Splash" a loading bar demo that came with blitzplus. It maniplulates a screeshot to make an odd shaped window. So if anyone has ideas, help would be greatly appreciated. Thanks
Width=GadgetWidth(Desktop())
Height=GadgetHeight(Desktop())
SetBuffer DesktopBuffer()
image=CreateImage( 395,89 )
;Grab the desktop from where the window will appear (middle)
GrabImage image,GraphicsWidth()/2-200,GraphicsHeight()/2-45
The above section is the code I would use. I adjusted the varibles to get the area that I need, but it doesn't work. The above code is from "Splash" a loading bar demo that came with blitzplus. It maniplulates a screeshot to make an odd shaped window. So if anyone has ideas, help would be greatly appreciated. Thanks