HideWindow

Blitz3D Forums/Blitz3D Programming/HideWindow

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You should just need this:

.lib "user32.dll"

FindWindow%(ClassName$,Caption$):"FindWindowA"
ShowWindow%( hWnd, nCmdShow ) : "ShowWindow"
You can copy and paste the Const values (SW_HIDE etc) from Robs code.

[Edit]
Use it like this:

hWnd = FindWindow( "Blitz Runtime Class", "my caption" )
ShowWindow( hWnd, SW_HIDE )