13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FindWindowFindWindowSyntaxHWND FindWindow(lpClassName, IpWindowName)function FindWindow(ClassName, WindowName: PChar): HWnd;This function returns the handle of the window whose class is given bythe IpClassName parameter and whose window name, or caption, is givenby the Ip WindowName parameter. This function does notsearch child windows.Parameters IpClassName lPSTR Points to a null-terminated character string thatspecifies the window's class name. If IpClassName isNULL, all class names match.Return valueIp WindowName lPSTR Points to a null-terminated character string thatspecifies the window name (the window's text caption). IfIp WindowName is NULL, all window names match.The return value identifies the window that has the specified class nameand window name. It is NULL if no such window is found.FlashWindowSyntaxBOOL Flash Window(h Wnd, bInvert)function Flash Window(Wnd: HWnd; Invert: Bool): Bool;This function "flashes" the given window once. Flashing a window meanschanging the appearance of its caption bar as if the window werechanging from inactive to active status, or vice versa. (An inactive captionbar changes to an active caption bar; an active caption bar changes to aninactive caption bar.)Typically, a window is flashed to inform the user that the windowrequires attention, but that it does not currently have the input focus.Parameters h Wnd HWND Identifies the window to be flashed. The windowcan be either open or iconic.blnvertBOOl Specifies whether the window is to be flashed orreturned to its original state. The window is flashed fromone state to the other if the blnvert parameter is nonzero.If the blnvert parameter is zero, the window is returned toits original state (either active or inactive).280Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!