win32: disable/enable gadget repainting

BlitzMax Forums/MaxGUI Module/win32: disable/enable gadget repainting

skn3(Posted 2011) [#1]
Well today, by accident, I stumbled across a win32 feature that I didn't know existed! I have been doing win32 development on and off for years so it came as a very nice surprise.

The two functions should let you enable/disable painting of a particular gadget. Child gadgets should also respect this. If you want to perform a large update to a gadgets contents or anything that maxgui tends to struggle with (without being slow) then these functions should help.

If anyone else makes a osx version then let me know and I'll add to the code.



Last edited 2011