how i can change buttons control caption at runtime (with code)

Recommended Answers

All 2 Replies

with send windows message handlers

There are subtle differences between these two methods, so you may want to check out in detail which one suites your purposes. In any case either will work.

SendMessage (hWnd, WM_SETTEXT, 0, char *);

or

SetWindowText (hWnd, char *)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.