nanogui: draw rectangle in microwindows


Previous by date: 6 May 2004 09:50:16 +0100 Re: Micorwindows (Win32) and flickering, Greg Haerr
Next by date: 6 May 2004 09:50:16 +0100 slow fltk on nano-X, Daniel Csabai
Previous in thread:
Next in thread:

Subject: draw rectangle in microwindows
From: ####@####.####
Date: 6 May 2004 09:50:16 +0100
Message-Id: <1083833430.4099fc5651e59@konplan.com>

hallo,
i dont can draw fill or not fill rectangle in microwindows.
i d'ont have any error and will anythings drawed in my window
i try this one

RECt rect;
HBRUSH hBrush = CreateSolidBrush(GRAY_BRUSH);
SetRect(&r,100,100,100,100);
FillRect(hdc,&r,hBrush);

or this one from demo

SetTextColor(hdc,GRAY);
Rectangle(hdc,100,100,100,100);
hbr = CreateSolidBrush(LTGRAY);
SetRect(&rc,100,100,100,100);
FillRect(hdc,&rc,hbr);

youssef

 

Previous by date: 6 May 2004 09:50:16 +0100 Re: Micorwindows (Win32) and flickering, Greg Haerr
Next by date: 6 May 2004 09:50:16 +0100 slow fltk on nano-X, Daniel Csabai
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.