Tema: Re: on WM_PAINT seniena
Autorius: Jornada Del Muerto
Data: 2010-04-22 12:47:58
Seniena ? ant to windowsai dirba dar ir dabar ;)  0 vaizdo matytum jei jo nebutu :) tik viskas pakavota po aukstesnio lygio programavimo kalbom...

"Vytis Vygintas" <vytvyt@pingvinai.lt> wrote in message news:hqn4nl$lb7$1@trimpas.omnitel.net...
> case WM_PAINT: {
> 
> HWND hPic4 = GetDlgItem(hDlg, IDC_STATIC4);
> 
> hdc = BeginPaint(hPic4, &ps);
> 
> GetClientRect(hPic4, &clientRect);
> 
> bgRgn = CreateRectRgnIndirect(&clientRect);
> 
> hBrush = CreateSolidBrush(RGB(200,000,100*so));
> 
> FillRgn(hdc, bgRgn, hBrush);
> 
> EndPaint(hPic4, &ps);
> 
> .....
> 
> kas cia negerai, nes keiciantis so, spalva neikeicia?
> 
> (gerai nudazo kvadrata tik pirma karta)
> 
> 
>