|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - Strange transparent pixel line if compiled with DMC
Just noticed a weird phenomenon... I have a dumb testbed framework lib, which I used to compile with LCC. It creates an application window with a dummy menu. If compiling the same thing with DMC, though, there appears a one-pixel gap, a "kind of" transparent line just below the menu bar, above the client area. The otherwise white window has some garbage from the overlapped screen area there, whenever the window is painted (so minimizing & maximizing will not clear that line! See the attached shot (sorry about posting that 30K). A strange off-by-one problem? Anyone seen this? Or any idea? Thanks, Sz. May 14 2003
The only way you're going to find this is to instrument the code to print out the appropriate values, and compare the results side-by-side with LCC till you find out where they diverge. "Luna Kid" <lunakid neuropolis.org> wrote in message news:b9tu91$1qup$1 digitaldaemon.com...Just noticed a weird phenomenon... I have a dumb testbed framework lib, which I used to compile with LCC. It creates an application window with a dummy menu. If compiling the same thing with DMC, though, there appears a one-pixel gap, a "kind of" transparent line just below the menu bar, above the client area. The otherwise white window has some garbage from the overlapped screen area there, whenever the window is painted (so minimizing & maximizing will not clear that line! See the attached shot (sorry about posting that 30K). A strange off-by-one problem? Anyone seen this? Or any idea? Thanks, Sz. May 14 2003
I have faced this same problem. The program, when run on 98SE does not show the line, but it surfaces up when the same exe is run on XP. So, I concluded this to be a problem with XP. Incidentally, this is a simple app (non-MFC), if that has any connection with the problem... (MFC somehow corrects this? As no-one else has experienced it..) - Rajiv "Walter" <walter digitalmars.com> wrote in message news:b9u9o4$27oi$1 digitaldaemon.com...The only way you're going to find this is to instrument the code to print out the appropriate values, and compare the results side-by-side with LCC till you find out where they diverge. "Luna Kid" <lunakid neuropolis.org> wrote in message news:b9tu91$1qup$1 digitaldaemon.com...Just noticed a weird phenomenon... I have a dumb testbed framework lib, which I used to compile with LCC. It creates an application window with a dummy menu. If compiling the same thing with DMC, though, there appears a one-pixel gap, a "kind of" transparent line just below the menu bar, above the client area. The otherwise white window has some garbage from the overlapped screen area there, whenever the window is painted (so minimizing & maximizing will not clear that line! See the attached shot (sorry about posting that 30K). A strange off-by-one problem? Anyone seen this? Or any idea? Thanks, Sz. May 15 2003
I have seen this on XP with several compilers using thw wxWindows toolkit. It seems to be an XP feature chris Rajiv Bhagwat wrote:I have faced this same problem. The program, when run on 98SE does not show the line, but it surfaces up when the same exe is run on XP. So, I concluded this to be a problem with XP. Incidentally, this is a simple app (non-MFC), if that has any connection with the problem... (MFC somehow corrects this? As no-one else has experienced it..) - Rajiv "Walter" <walter digitalmars.com> wrote in message news:b9u9o4$27oi$1 digitaldaemon.com...The only way you're going to find this is to instrument the code to print out the appropriate values, and compare the results side-by-side with LCC till you find out where they diverge. "Luna Kid" <lunakid neuropolis.org> wrote in message news:b9tu91$1qup$1 digitaldaemon.com...Just noticed a weird phenomenon... I have a dumb testbed framework lib, which I used to compile with LCC. It creates an application window with a dummy menu. If compiling the same thing with DMC, though, there appears a one-pixel gap, a "kind of" transparent line just below the menu bar, above the client area. The otherwise white window has some garbage from the overlapped screen area there, whenever the window is painted (so minimizing & maximizing will not clear that line! See the attached shot (sorry about posting that 30K). A strange off-by-one problem? Anyone seen this? Or any idea? Thanks, Sz. May 15 2003
Yep I have this problem on WinXP with MFC. Phill. "chris elliott" <biol75 york.ac.uk> wrote in message news:b9vm0n$hrb$1 digitaldaemon.com...I have seen this on XP with several compilers using thw wxWindows toolkit. It seems to be an XP feature chris Rajiv Bhagwat wrote:I have faced this same problem. The program, when run on 98SE does not May 17 2003
In article <ba72mi$22fh$1 digitaldaemon.com>, Phill says...Yep I have this problem on WinXP with MFC. May 22 2003
|