DLLFindBlitzRuntimeHwnd()
DLLFindBlitzRuntimeHwnd() |
- SYNOPSIS:
hwndHandle = DLLFindBlitzRuntimeHwnd(sAppName$,[sClosePrompt$])
- DESCRIPTION:
Makes 100% certain that you have got the hWnd handle to the Blitz Runtime
Window for the instance of your program that opened it. As FindWindow()
is so unreliable, this function appends a random value to the name of
your window before I grabs the hWnd by the title name. It grabs the
name and sets the proper window title before the user sees it. So it
is quite transparent, unfortunatally currently the only real way to
do it.
This function also doubles up as a replacement for AppTitle()..... Sort
of :)
- PARAMETERS:
sAppName$ |
The title to be displayed in the |
sClosePrompt$ (optional) |
Propmt to be displayed when the user
clicks the close gadget on your runtime window. |
- RETURNS:
The hWnd handle to the Blitz Runtime Window. This should not change
throughout execution of your program.
- EXAMPLE:
See example012.bb.
- BUGS:
None Known.
Return To Index
Problems with this command or bugs? EMail me at: mailto:loki.sd@blueyonder.co.uk
|
Section Last Updated:
Saturday, February 2, 2002 1:58 PM
GMT
All materials used in this help, related sources and binaries
are (C)opyright Rob Hutchinson, Joseph Cox and Tarropithium Software 2002. All
rights reserved. All software is provided without warranty unless otherwise
stated.
Tarropithium Software or the authors will not be held liable for any damage
or data loss that may occur during the application of this software. Use it
at your own risk!