Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / screen scramble

Author
Message
D I G I T A L
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: Dubai, UAE
Posted: 13th Nov 2003 02:42
hello people,
on my menu there's a help button which executes a webpage (offline ofcorse). when pressing it the menu program minimizes and the webpage popsup. when closing the webpage the menu program maximizes again but it looks different, there's some kind of blackness filling to the middle of the screen! how can i get rid of it?
thankx

‘Those who ignore the lessons of the past are doomed to repeat them’ (Napoleon)
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 13th Nov 2003 08:48
put in a command that checks If Screen Invalid i think it is... and then if it = 1 then cls the screen and re paste your menu...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Hell IVIonkey
22
Years of Service
User Offline
Joined: 1st Apr 2003
Location: Outer Limits
Posted: 13th Nov 2003 11:05
Minimizing a DB application is never a good idea. It flushes video memory, meaning that you'll need to reload all you images/textures. Often even after doing so, you'll still get a terrible sync flicker or an altogether malfunctioning sync. It also usually kills loaded sound and music. Unfortunately again, Screen Invalid doesn't always catch an invalid screen.

Honestly, if you just want to load up a web page, I'd just write a custom HTML viewer in DB. Or even easier, make your page into a big JPG and paste it to the screen.

D I G I T A L
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: Dubai, UAE
Posted: 13th Nov 2003 13:47
hmmm, looks like a long procedure! is there way not minimizing the application? make it stay maximized on the background while the webpage is active?

‘Those who ignore the lessons of the past are doomed to repeat them’ (Napoleon)
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 13th Nov 2003 14:14
Always Active On

I think should do the trick

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-21 16:14:21
Your offset time is: 2025-05-21 16:14:21