How can you change dialog control properties at runtime? Eg: I got a label on my dialog box and want to change it's caption.
Thanks.
This is a discussion on Changing Control Properties At Run-Time within the Windows Programming forums, part of the Platform Specific Boards category; How can you change dialog control properties at runtime? Eg: I got a label on my dialog box and want ...
How can you change dialog control properties at runtime? Eg: I got a label on my dialog box and want to change it's caption.
Thanks.
Use the SetWindowText() API function.
Post code if you need more help.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Right...then use SetWindowText() like he said. Or, alternatively, if it's a dialog, SetDlgItemText().
Gays can't love like real people
entropysink.com -- because arses weren't designed for running websites.
Use SetWindowLong() to set new extended window styles, regular window styles, a new window procedure, a new identifier, modify the 32-bit value in the window's extra memory space, etc.
"Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C
>>> Post code if you need more help.
Or be specific with your questions.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.