Thanks a lot, problem fixed. I added SetBkMode(hdcStatic, TRANSPARENT); before the return, and the background changed according to the return. Thanks again.
Type: Posts; User: yoonkwun
Thanks a lot, problem fixed. I added SetBkMode(hdcStatic, TRANSPARENT); before the return, and the background changed according to the return. Thanks again.
Hi, I'm having confusion with the effect of the return value of WM_CTLCOLORSTATIC with read only edit controls.
In my main WndProc's WM_CREATE's handler includes:
hwndInfoEdit =...
Ah, now it works. Thanks! :)
Hi, I'm on Windows XP SP2 using Visual C++ 2008 Express Edition.
I'm having a small problem detecting the text in an edit control. I have it subclassed as so:
LRESULT CALLBACK EditProc...