Hi,
I'm a newbie to win32 c and I'm still getting to used to a lot of things. I was wondering whether there is a way to change the contents of static text controls during runtime on a DialogBox loaded from the resources rather than using a window class etc.
I tried thinking that maybe you use SetWindowText or SetDlgItemText but i don't know how to find out the hwnd of the static text and it doesn't seem to have an indentifier like IDOK or whatever. I know you can use SetWindowText if you make the static text using CreateWindow as it returns the hwnd of it but i don't know how to change ones which have been drawn on the dialog at design time.
I used to use vb which is probably why I'm approaching it in this way, if I'm totally looking in the wrong direction then please correct me!
Thanks,
Daniel Briley



LinkBack URL
About LinkBacks


