views:

38

answers:

1

How to display text on dialog-box? for example - I want to display a countdown timer, should I go with static text control?

A: 

Use a static text control and then call the function

BOOL SetWindowText(      
    HWND hWnd,
    LPCTSTR lpString
);

to set the text at runtime.

See online Reference

RED SOFT ADAIR
Thanks. I thought SetWindowText() API was only to set the window's title caption.
xor