hi ASM coders,
Good Day to all!
I want my editbox have a background bmp image.
is it posible?
regards,
coredump
Good Day to all!
I want my editbox have a background bmp image.
is it posible?
regards,
coredump
coredump
in w98/wme/w2k/wxp
in w98/wme/w2k/wxp
...
// in MainWndProc
case WM_CTLCOLOREDIT:
if ( NULL != hwndEdit && (HWND)lParam == hwndEdit)
{
SetBkMode((HDC)wParam, TRANSPARENT); // !!!
return (LRESULT) hbrBack;
// where hbrBack = CreatePatternBrush(LoadBitmap(hInstance, ...));
}
break;
...