News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Text Scrolling Problem

Started by willbe, December 23, 2005, 02:02:24 AM

Previous topic - Next topic

willbe

Hi all !
I've got problem with this text scrolling. It scrolls too fast. Somebody please help me find out the problems ? Many thanks !

MichaelW

If you use System Monitor to monitor the number of threads (System\Threads) you will see that each time the dialog is opened and closed the total number of threads increases by two, so paint_proc is being called from first one thread, then 3, then 5, etc. I think you need to provide some method of exiting the thread, and resetting the necessary variables, when the second dialog is closed, or create the thread only once, and thereafter use SuspendThread and ResumeThread to control it.

eschew obfuscation

willbe

Thank MichaelW, but no luck for me  :'( could you please help me to fix this. thanks