Blitz3D applications window handle
Blitz3D Forums/Blitz3D Programming/Blitz3D applications window handle
| ||
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 |
| ||
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 |
| ||
I forgot that i need the "AppHINSTANCE" property too. Thanks a lot! |
| ||
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. |
| ||
Can you explain the reason you want to do something like that. Any way i don't know the thread you ask ... |
| ||
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. |