Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
May 02, 2004 Mystery. Bug? - 4 attachments | ||||
---|---|---|---|---|
| ||||
Attachments: | I have a little mystery. You may wonder what this has to do with the compiler but bear with me here. I have a D Windows GUI program that that I have written. It works ok except that it has a small rendering problem when run under Windows XP. It has a small 1 pixel line directly under the menu that is not rendered so that whatever is behind the window shows through. (See attached PNG file) Now this line does not show up in Window 2K nor does it show up in Windows XP if you run XP with the "classic" style UI. It only shows up if you run the program in XP with the standard XP style UI. Now I struggled with this problem for a while playing with various setting and stuff but I could not fix it. Finnally in my frustration I went back to the winsamp.d example distributed with the compiler and added a simple menu to it. (Source code attached.) This simple example had the same problem. Just to be sure that it wasn't just my machine I sent the program around to a few friends who verified the problem on thier machines too. So I translated the D program to C++ and compled it with VC++. (See attached source) This program did NOT have the problem. Now here is that final gotcha and the mystery. I complied the C++ program without alteratiion with DMC(Digital Mars C++). This program exibited the same problem. To summerize: winsamp.d with dmd has the problem winsamp.cpp with dmc has the problem winsamp.cpp with VC++ does not have the problem So my question to Walter and anyone else is: What's going on here? |
May 03, 2004 Re: Mystery. Bug? - 4 attachments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Down | Now I find that if you add a winsamp.exe.manifest filled with the classical xml data, the problem is still there. And, this bug also exists in Walter's Empire Classic binary, exactly the same problem. |
May 03, 2004 Re: Mystery. Bug? - 4 attachments | ||||
---|---|---|---|---|
| ||||
Posted in reply to School | In article <c75m5t$2bel$2@digitaldaemon.com>, School says... > >Now I find that if you add a winsamp.exe.manifest filled with the >classical xml data, the problem is still there. >And, this bug also exists in Walter's Empire Classic binary, exactly the >same problem. Thanks! Good to see other independent verification. |
May 05, 2004 Re: Mystery. Bug? - 4 attachments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Down | Patrick Down wrote:
> In article <c75m5t$2bel$2@digitaldaemon.com>, School says...
>
>>Now I find that if you add a winsamp.exe.manifest filled with the
>>classical xml data, the problem is still there.
>>And, this bug also exists in Walter's Empire Classic binary, exactly the
>>same problem.
>
>
> Thanks! Good to see other independent verification.
Now I am wondering why nobody says something about this bug...
|
May 25, 2004 Re: Mystery. Bug? - 4 attachments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Down | "Patrick Down" <pat@codemoon.com> wrote in message news:Xns94DD908E9A847patcodemooncom@63.105.9.61... > I have a D Windows GUI program that that I have written. > It works ok except that it has a small rendering problem > when run under Windows XP. It has a small 1 pixel line > directly under the menu that is not rendered so that > whatever is behind the window shows through. (See attached > PNG file) Now this line does not show up in Window 2K nor > does it show up in Windows XP if you run XP with the "classic" > style UI. It only shows up if you run the program in XP > with the standard XP style UI. I put the solution here: www.digitalmars.com/faq.html#subsystem |
May 25, 2004 Re: Mystery. Bug? - 4 attachments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "Walter" <newshound@digitalmars.com> wrote in news:c8u2o6$179u$1 @digitaldaemon.com:
> www.digitalmars.com/faq.html#subsystem
Thanks! That one was really bugging me. I tried
all sorts of things. Except that. <g>
|
May 25, 2004 Re: Mystery. Bug? - 4 attachments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Down | "Patrick Down" <pat@codemoon.com> wrote in message news:Xns94F3D5367C432patcodemooncom@63.105.9.61... > "Walter" <newshound@digitalmars.com> wrote in news:c8u2o6$179u$1 @digitaldaemon.com: > > > www.digitalmars.com/faq.html#subsystem > > Thanks! That one was really bugging me. I tried > all sorts of things. Except that. <g> Actually, Jan Knepper is the one that solved it. It wasn't in the documentation. |
Copyright © 1999-2021 by the D Language Foundation