DLLFindWindow()

DLLFindWindow()
  • SYNOPSIS:
    hWnd = DLLFindWindow(sCaption$)
  • DESCRIPTION:
    Finds the hWnd (window handle) of any given top-level window on the desktop from it's caption (titlebar name). This is not the best way to get hold of the Blitz Runtime Window, however it is currently the only solution. Make sure that you do *NOT* use this command to get the "Blitz Runtime Window", as the name of the runtime window is "" (nothing) when the EXE is compiled. Always set the runtime window name with AppTitle() or alternatively use DLLFindBlitzRuntimeHwnd() for more reliable results.
  • PARAMETERS:
    sCaption$ The caption of the window you want to get a handle to.
  • RETURNS:
    0 if the window could not be found, hWnd else.
  • EXAMPLE:
    AppTitle "Test Win"
    hWnd = DLLFindWindow("Test Win")
  • 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:57 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!