flat assembler
Message board for the users of flat assembler.
Index
> Windows > Window with scrollable client area. |
Author |
|
iklin 04 Oct 2004, 15:20
Well, it doesn't scroll! On my w2k.
|
|||
04 Oct 2004, 15:20 |
|
Frank 04 Oct 2004, 16:36
It doesn't scroll on Win2000 or WinXP.
From a quick glance at both the source code and win32.hlp, I guess that one line is missing in "_DoCorrectChildren": "mov [.defer], eax" seems to be required not only after the initial call to BeginDeferWindowPos, but also after each (successful) call to DeferWindowPos. I can't recompile and try it out, sorry (no FRESH installed). |
|||
04 Oct 2004, 16:36 |
|
JohnFound 05 Oct 2004, 06:09
Yea, it was buggy. The problem is not exactly in the "mov [.defer], eax" although it have to stay there. The problem was in DeferWindowPos invoke - it needed SWP_NOSENDCHANGING not to be included in the flags...
Here is fixed version. It works at least for me in Win2k. I can't make test under WinXP. Frank, you can compile it with FASM too. Only put somewere include directory of Fresh and set environment variable "%finc%" to this path. You have to compile the file "Main.asm" and you will get executable "Main.exe" but it is the same. Regards
|
|||||||||||
05 Oct 2004, 06:09 |
|
Frank 05 Oct 2004, 17:16
The new program scrolls nicely on both Win2k SP4 and WinXP SP2
Compiling doesn't work for me, however. A couple of include-files seem to be missing (installation: fresh1_1_7.cab, as downloaded yesterday). See the screenshot for details.
|
||||||||||
05 Oct 2004, 17:16 |
|
JohnFound 06 Oct 2004, 05:36
Hi, Frank.
Actually you don't need these files ('lists.asm' and 'lists.inc') to compile Scrollbox example. Simply delete include statements. They remain there from my another experiments, sorry. Anyway you can find this library in "sources" directory. Since 1.1.7 I decided that it is finished enough to stay in %finc%\libs\ Regards |
|||
06 Oct 2004, 05:36 |
|
Frank 06 Oct 2004, 09:48
Okay, thank you.
|
|||
06 Oct 2004, 09:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.