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.
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().
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.