![]() ' Find the target window and minimize, maximize, ' or restore it. Task-switching applications need to get window text so they can display the window title in the switcher window.įunction WindowText uses the GetWindowTextLength and GetWindowText API functions to return the window's text. FindWindow() needs to get window text in order to find a window. GetWindowText has a problem: Window text needs to be readily available without hanging. ![]() Note that GetWindowText cannot retrieve the text in a control owned by another program. For controls, this is the text in the control. For regular windows, this is the text which appears in the title bar. ![]() GetWindowText retrieves the text of a window. However, GetWindowText cannot retrieve the text of a control in another application, If the target window is owned by the current process, GetWindowText causes a WM_GETTEXT message to be sent to the specified window or control. If the specified window is a control, the text of the control is copied. Copies the text of the specified window's title bar (if it has one) into a buffer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |