Blitz3D applications window handle

Blitz3D Forums/Blitz3D Programming/Blitz3D applications window handle

Moraldi(Posted 2005) [#1]
Does anyone knows how to get the window system handle of a Blitz3D application?
I want to write a simple DLL in order to display native windows message boxes and controls fromwithin a Blitz3D application but i need the parent window handle


BlitzSupport(Posted 2005) [#2]
Try these -- "AppHWND" should do it:

Graphics3D 640, 480, 0, 2

Print SystemProperty ("Direct3D7")
Print SystemProperty ("Direct3DDevice7")
Print SystemProperty ("DirectDraw7")
Print SystemProperty ("DirectInput7")
Print SystemProperty ("AppHWND")
Print SystemProperty ("AppHINSTANCE")

MouseWait
End



Moraldi(Posted 2005) [#3]
I forgot that i need the "AppHINSTANCE" property too.
Thanks a lot!


QuickSilva(Posted 2005) [#4]
Kind of off topic but can someone redirect me to the thread about shuting Blitz`s default window that opens at the program startup from an executable. I seem to remember it being related to an applications window handle and I remember someone made a program that you could run your .exe through to change it automatically.

Jason.


Moraldi(Posted 2005) [#5]
Can you explain the reason you want to do something like that. Any way i don't know the thread you ask ...


QuickSilva(Posted 2005) [#6]
Well basically to remove the small but annoying default window that appears when I run a Blitz made game before it goes into fullscreen mode.

Jason.