Markus Zingg
2005-12-21 14:53:09 UTC
Hi Group
I have a dialog with a control having the ss_bitmap style. I know that
I can use the WM_PAINT message in dialog procedure to paint the
bitmap.
However, if I have a text control, SetWindowText() in WM_INITDIALOG is
sufficient for the dialog to know and update the text as long as the
dialog is alive.
Now one would expect a similar functionality for bitmaps - no? Is
there a much simpler way than using WM_PAINT with all it's DC loading
yadda yadda which I simply missed so far?
TIA
Markus
I have a dialog with a control having the ss_bitmap style. I know that
I can use the WM_PAINT message in dialog procedure to paint the
bitmap.
However, if I have a text control, SetWindowText() in WM_INITDIALOG is
sufficient for the dialog to know and update the text as long as the
dialog is alive.
Now one would expect a similar functionality for bitmaps - no? Is
there a much simpler way than using WM_PAINT with all it's DC loading
yadda yadda which I simply missed so far?
TIA
Markus