PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: Paul Squires on August 01, 2025, 08:26:21 PM

Title: AfxSetWindowText
Post by: Paul Squires on August 01, 2025, 08:26:21 PM
AfxNova does not have AfxSetWindowText whereas WinAfx does.

Maybe you can add it back to AfxWin.inc.

I am creating a new project using AfxNova.
Title: Re: AfxSetWindowText
Post by: José Roca on August 01, 2025, 08:45:14 PM
I can add it if you want, but you can use the Windows API SetWindowText, that does exactly the same.
Title: Re: AfxSetWindowText
Post by: Paul Squires on August 01, 2025, 08:59:57 PM
Quote from: José Roca on August 01, 2025, 08:45:14 PMI can add it if you want, but you can use the Windows API SetWindowText, that does exactly the same.

Yes, of course, but for the sake of symmetry it makes sense to have it included. AfxGetWindowText and AfxSetWindowText. 
Title: Re: AfxSetWindowText
Post by: José Roca on August 01, 2025, 09:15:30 PM
Done. All that is needed is #define AfxSetWindowText SetWindowTextW