o tai "so" nuo kiek iki kiek keiciasi? nes prasmingi rezultatai tai tik su 0,1,2 gautusi. "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) > > >