Create hidden window?

Blitz3D Forums/Blitz3D Programming/Create hidden window?

Guy Fawkes(Posted 2013) [#1]
Hi all. I'm working on my app, and everything was going smooth. But I need some way to hide my 3D app completely before it starts up, so it can finish loading GUI modules onto the screen.

How can I hide the window RIGHT when F5 is pressed so the window does NOT flash and still is active, but running in the background?

Thank You!

P.S. I already tried api_ShowWindow(hWnd, 0), but that doesn't stop the flashing.


jfk EO-11110(Posted 2013) [#2]
There was some Exe patching code, so the compiled Exe would start hidden, many years ago, might be still in the forum.
Edit 2:

Here's something, may help you to patch your compiled code (not the blitz3d. exe), see the code sample by filax, you may have to extract the nitty gritty stuff, anyhow:

http://www.blitzbasic.com/Community/posts.php?topic=62330#697857


Guy Fawkes(Posted 2013) [#3]
Hi, JFK. Thanks for the help. I tried that, but for some reason, the patcher makes my EXE corrupt... :(


xlsior(Posted 2013) [#4]
Hi, JFK. Thanks for the help. I tried that, but for some reason, the patcher makes my EXE corrupt... :(


It's possible that some of the offsets in the binaries changed with one of the recent B3D updates...

Anyway, there's been several of this fixers around -- did you try this one?
http://www.blitzforum.de/forum/viewtopic.php?t=24932&highlight=startupfix


Guy Fawkes(Posted 2013) [#5]
Xlsior! Thank you SO much! :D It worked PERFECTLY!