PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

App Caption ?

Hey,

I was wondering : is there a way to set an EdgeLib application's caption without being in the OnDisplayConfig method ?
When I try to do so anywhere else (by using ecd->dispcf->caption), it just does anything. Sure, the string is filled with the content given, but the window's caption stays unchanged. I really tried everything, but now I give up and ask here. :D

Thanks !
Hi,

To change the caption for Windows applications, use the following function:

Code:

SetWindowText((HWND)GetWindowHandle(), "Your new text");
Thank you so much, Edge.
I'll do that ! :)