[Resolved] PureBasic Wait Screen

Everything else that doesn't fall into one of the other PB categories.
ramme
User
User
Posts: 72
Joined: Fri Mar 31, 2017 8:52 am
Location: Fortuna California

[Resolved] PureBasic Wait Screen

Post by ramme »

This white screen with hourglass icon shows up with slow loads.
Does anyone know how to get a handle to this screen so it could
be minimized or made more attractive or have a message added?
It seems to hog the top z-order, even if you try to show a prioritized
sticky window.
Last edited by ramme on Wed Apr 19, 2017 2:58 am, edited 2 times in total.
User avatar
mk-soft
Always Here
Always Here
Posts: 5393
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic Wait Screen

Post by mk-soft »

Code ?

I think it´s a invalid event loop...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
ramme
User
User
Posts: 72
Joined: Fri Mar 31, 2017 8:52 am
Location: Fortuna California

Re: PureBasic Wait Screen

Post by ramme »

You mean like repeat forever ... forever or WaitWindowEvent()?
I don't think so. I figured that it was just a screen PB showed
for a really long wait.

Example code is very difficult, since I am running Windows 7
from a thumb drive and the I/O is very slow, which I think is
causing the screen to show up.

I am viewing a series of screen savers sort of like a slide show.
They are embedded in the program, so there is a certain decode
time necessary. I get this wait screen between Screen savers.
User avatar
TI-994A
Addict
Addict
Posts: 2512
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: PureBasic Wait Screen

Post by TI-994A »

ramme wrote:This white screen with hourglass icon shows up with slow loads.
Perhaps a screenshot of this mysterious screen? :wink:
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic Wait Screen

Post by IdeasVacuum »

Hi ramme - what gadget type is used to display the screensavers? If it is a WebGadget(), could it be a feature of that gadget I wonder.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
ramme
User
User
Posts: 72
Joined: Fri Mar 31, 2017 8:52 am
Location: Fortuna California

Re: PureBasic Wait Screen

Post by ramme »

Hi TI-994A,

This is becoming just as amusing as confusing.
I tried to take a screenshot and just got a blank
white screen without the cursor. Don't see much
point in sending that to you.

Hi IdeasVacuum,

No, I just runprogram(screensaver.scr). The IE registration
could be causing a problem. Even though the method
you devised worked fine on the example I showed you,
I have not been able to incorporate it into my main program.
It is proving very difficult to display the webgadget window.

The problem is that I have four threads running and PB doesn't
allow opening a screen from a thread, so I am trying to work
on some sort of call back or maybe just a global switch.

I think that I have been programming so long that my confidence
greatly exceeds my current ability in PureBasic. I might have to
break things down and reassemble them.
ramme
User
User
Posts: 72
Joined: Fri Mar 31, 2017 8:52 am
Location: Fortuna California

Re: PureBasic Wait Screen

Post by ramme »

Duh, of course the cursor didn't show in the screenshot.
Why would it? It's the mouse wait cursor.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic Wait Screen

Post by IdeasVacuum »

It is the .scr file itself that displays the white window! It is simply taking time to load, and that is probably because of the device it is being run from. .scr files are actually .exe files.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
ramme
User
User
Posts: 72
Joined: Fri Mar 31, 2017 8:52 am
Location: Fortuna California

Re: PureBasic Wait Screen

Post by ramme »

Hi IdeasVacuum,

I think that you are correct. Technically, though, it is probably Windows itself, since none of the screen savers have white wait screens coded in them.
It looks like I am stuck with the things. My apologies to PureBasic for making a totally erroneous assumption, when it is actually blameless.
I went back to my last stable version (April 9). The white wait screen is only appearing on the slow html load.

PS.
I change the suffixes to scr or exe depending upon whether I want a full or windowed screen.
Post Reply