SetWindowTextWhat links here?
The SetWindowText function changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However, SetWindowText cannot change the text of a control in another application.

Syntax
    BOOL SetWindowText(
        HWND hWnd,
        LPCTSTR lpString
    );


Parameters

Return ValueIf the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

RemarksIf the target window is owned by the current process, SetWindowText causes a programming:windows:WM_SETTEXT message to be sent to the specified window or control. If the control is a list box control created with the WS_CAPTION style, however, SetWindowText sets the text for the control, not for the list box entries.

To set the text of a control in another process, send the WM_SETTEXT message directly instead of calling SetWindowText.

The SetWindowText function does not expand tab characters (ASCII code 0x09). Tab characters are displayed as vertical bar (|) characters.

Windows 95/98/Me: SetWindowTextW is supported by the Microsoft Layer for Unicode (MSLU). To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .

Function Information
programming:windows:SetWindowText
programming:windows:WM_SETTEXT
MC6802 - instruction set - Compare memory to accumulator
MC6802 - instruction set - add memory to accumulator
MC6802 - assembler - statement format
bible - random notes - gospel
programming:c:function strrchr
programming:c:time_t
embedded systems - bacnet - BACnet-ComplexACK-PDU
programming - javascript - methods
electronics - Arduino - delete me
MC6802 - instruction set - Arithmetic Shift Right Accumulator
programming - linux - opendir readdir closedir
MC6802 - instruction set - Subtract Memory from Accumulator with Carry
MC6802 - instruction set - increment memory
programming - javascript - properties - innerHTML
MC6802 - instruction set - Store Index Register
filename:programming:windows:SetWindowText
filename:programming%3Awindows%3ASetWindowText
last edit:March 27 2010 16:39:18 (5166 days ago)
ct = 1716092621.000000 = May 19 2024 00:23:41
ft = 1269722358.000000 = March 27 2010 16:39:18
dt = 446370263.000000