[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Window Repainted with colour of overlapping window
From: "sourabh agrawal" ####@####.#### Date: 20 Nov 2007 12:38:37 +0000 Message-Id: <48ade1240711200438v1a674b9co9157bcd9c5a9e512@mail.gmail.com> Dear Greg, I am using Microwindows on Linux Fedora core 6, I set the window property to No background using this code, props.flags = GR_WM_FLAGS_PROPS; props.props = GR_WM_PROPS_NOBACKGROUND; GrSetWMProperties (Window_ID, &props); but whenever this window is overlaped by some other window it gets repainted by that overlapping window colour. Please help me if you know the solution? Thanks & Regards Hiimsa | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Window Repainted with colour of overlapping window
From: "Greg Haerr" ####@####.#### Date: 20 Nov 2007 17:50:52 +0000 Message-Id: <0d9801c82b9d$e064c760$6401a8c0@winXP> : but whenever this window is overlaped by some other window it gets : repainted by that overlapping window colour. That is proper behaviour. By setting a window property bit to NOBACKGROUND, the system won't automatically paint a background for it. However, when a window overlaps that window, of course it will be fully displayed on top of it. When that overlapping window is removed, the original window will be sent an EXPOSE event, without clearing the background. That window is fully responsible to paint its window contents. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |