Author Topic: STATUSBAR - FLICKER FREE?  (Read 7538 times)

0 Members and 2 Guests are viewing this topic.

Mike Lobanovsky

  • Guest
Re: STATUSBAR - FLICKER FREE?
« Reply #30 on: October 25, 2015, 07:43:14 AM »
Hi Aurel,

Thanks for responding.

... but as i say there is no status control because missing :
dim comctl32 = LoadLibrary "comctl32.dll"

Under my XP Sp3 and all Windows higher than that, this isn't necessary. My script as well as your latest script you've just posted above run perfectly well here without this comctl32 hack both in the JIT mode and statically compiled to respective executables.

I would still recommend you not use your GetSize() in the WM_SIZE handler because it is redundant. The lParam value for this message contains the window client area's current width and height. Just get them with the help of HiWord()/LoWord() macros as I'm doing in my script. Those macros have been written by Charles (not me ;) ) so you may use them without hesitation. They work much, much faster than your nested function calls giving you the exact same values. 

Quote
... so when i add this in my program then work everything  :D

That's great! I can imagine that feeling when everyone is swimming in the sea while you have to sit ashore because you have no swimming trunks.

Anyway, good to hear your interpreter's tool palette will now include two more user controls. :)

Aurel

  • Guest
Re: STATUSBAR - FLICKER FREE?
« Reply #31 on: October 25, 2015, 09:29:13 AM »
Hi Mike

Quote
Anyway, good to hear your interpreter's tool palette will now include two more user controls
I don't do that for my interpreter,but in first place because Oxygen basic and for testing
include files with WNDCLASSEX.
I really don't have to much free time for programming this days or i am to tired to thinking
about that...to much work before winter comes  ::)

Ahh those macros i already use them..nothing new  ;)