|
-
August 13th, 2015, 09:14 AM
#1
edit box changes color
I have created edit box, and placed it onto my main window, and everything works like it should; edit box appears on specified location, with white background, and black text. But when I include this edit box in my window proc like this:
Code:
SetWindowLong(edit_box_hwnd, GWL_WNDPROC, (LONG_PTR)myWindowProc);
edit box appears black, thus the text becomes invisible. I didn't process any messages to my edit box, inside the window proc, so the change of color has been done beyond my code.
Anyone experienced this behaviour ? And how to fix this?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|