I hope this is the right forum.
Using 17.12 Code::Blocks. I'm new to CB, winapi and c++.
CreateWindowW( L"edit",L"Enter here.",
WS_CHILD | SS_LEFT | WS_BORDER | ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | WS_VISIBLE,
202,175,100,100,
hWnd,NULL,NULL,NULL);
The above creates an edit window fine, with the 'Enter here' showing.
I cannot highlight and delete the 'Enter here'.
I can enter text but it is invisible until I select it.
Then the 'Enter here' disappears and I can see the selected text.
Any further entry only shows the 'Enter here'.
How can I make it act like a normal edit window?
It works correctly in the video tutorials.