ok in the following code sectionQuestion Below Code)
PHP Code:
VAR_NAME = CreateWindowEx (
3,
TEXT("EDIT"),
NULL,
WS_CHILD|WS_MULTILINE|ES_AUTOVSCROLL|WS_BORDER|WS_VISIBLE|ES_READONLY,
-2,
-2,
400,
150,
hwnd,
NULL,
hThisInstance,
NULL
);
You most likely noticed that ES_READONLY was bold and underlined. This brings me to my question. When I dont use ES_READONLY in a "EDIT" it has white background, but when I do use ES_READONLY it has a grey background. Is there any way to use ES_READONLY, and remain with a white background.
Question 2:
I have searched forever on MSDN (must not be using right keywords), but how do I output a string variable or a Int variable to my window. I looked on MSDN under SetWindowText();, DrawText(), and TextOut(), but sadly to no avail
Any answers will be greatly appreciated.