User forums > Help
Invisible text in edit window
(1/1)
Roy Leroux:
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.
oBFusCATed:
--- Quote from: Roy Leroux on December 15, 2018, 08:42:36 pm ---I hope this is the right forum.
--- End quote ---
Nope, it is not we don't provide programming help or API help. You should find better places.
Navigation
[0] Message Index
Go to full version