Do any one know how to delete or replace text that is in a Static Box.
I tried to use SetWindowText but it only add the text to the beginning of the old text....The Old Text is Still There.
Any ideas
Thanks
I tried to use SetWindowText but it only add the text to the beginning of the old text....The Old Text is Still There.
Any ideas
Thanks
Try:
SendMessage(
(HWND) hWnd, // handle to destination window
WM_SETTEXT, // message to send
(WPARAM) wParam, // not used; must be zero
(LPARAM) lParam // window-text string (LPCTSTR)
);
I believe ?
B
SendMessage(
(HWND) hWnd, // handle to destination window
WM_SETTEXT, // message to send
(WPARAM) wParam, // not used; must be zero
(LPARAM) lParam // window-text string (LPCTSTR)
);
I believe ?
B
invoke SendMessage, hwndEdit, EM_GETMODIFY, NULL, NULL
So it's can take an lot of Edit Type Commands....I think i get the picture Now...