Prev: CEmail with charset = "UTF-8"
Next: ReportProInit()
From: Amilcar A. Camargo on 30 Apr 2010 21:53 On Thu, 29 Apr 2010 19:23:40 +0200, D.J.W. van Kooten <public(a)ic2remove.this.com> wrote: >On Thu, 15 Apr 2010 16:32:25 -0600, Amilcar A. Camargo ><amilcarcamargo(a)gmail.com> wrote: > >Hello Karl, Amilcar , >> >>On Thu, 15 Apr 2010 21:13:05 +0200, Karl Faller >><k.faller_withoutthat_(a)onlinehome.de> wrote: > >I just downloaded your work and made the casting adaptions and a quick >& dirty option to pre-chooce one of the standard shell screens. I'll >mail you so you can include it if you like. nice work! Glad you liked it. Thanks for the offer. I'll include it. Best regards, Amilcar A. Camargo F. Guatemala, C. A.
From: Harry B. on 14 May 2010 12:57 Amilcar, thanks for your great sample! Please, have a look at METHOD MDIDraw_Gradient( hWnd AS PTR, hDC AS PTR ) AS VOID PASCAL CLASS ACF_ShellWindow, line 34: iHeight := rc.bottom - rc.top This should be iHeight := Max(rc.bottom - rc.top, 1), because iHeight is later used as a divisor, and even VO 2.8 doesn't still have the ability to divide by zero! ;-) --Harry B.
From: Amilcar A. Camargo on 14 May 2010 16:47 Hi Harry, On Fri, 14 May 2010 18:57:18 +0200, "Harry B." <bongoplayer(a)gmail.com> wrote: >Amilcar, > >thanks for your great sample! > >Please, have a look at >METHOD MDIDraw_Gradient( hWnd AS PTR, hDC AS PTR ) AS VOID PASCAL CLASS >ACF_ShellWindow, >line 34: iHeight := rc.bottom - rc.top > >This should be >iHeight := Max(rc.bottom - rc.top, 1), because iHeight is later used as >a divisor, and even VO 2.8 doesn't still have the ability to divide by >zero! ;-) Good point. But i didn't checked it because i assume the window *will* have some size allways. I will include it in the next version. Did you find it failing under some circumstances? Thanks a lot, Amilcar A. Camargo F. Guatemala, C. A.
From: Harry B. on 15 May 2010 02:41 Amilcar, > Did you find it > failing under some circumstances? > Yes, when I played around with the window. I wanted to move the window with the mouse, but exidentely I made it smaller only. --Harry B.
From: Amilcar A. Camargo on 15 May 2010 12:27
On Sat, 15 May 2010 08:41:49 +0200, "Harry B." <bongoplayer(a)gmail.com> wrote: >Amilcar, > >> Did you find it failing under some circumstances? > >Yes, when I played around with the window. I wanted to move the window >with the mouse, but exidentely I made it smaller only. Ok. Will include it. I, by default, prevent my windows from being resized smaller than a certain size to guaranty control display. That's the reason i've never faced that simptom. Best regards ant thanks, Amilcar A. Camargo F. Guatemala, C. A. |