canvas & menu & animation not cooperating.

BlitzMax Forums/MaxGUI Module/canvas & menu & animation not cooperating.

Jesse(Posted 2009) [#1]
Is ther a way to have canvas, working correctly while animating.

I am trying to adopt the code from this thread:
http://www.blitzmax.com/Community/posts.php?topic=78597#881924
it doesn't seem to work with animation.
If I change the hook to a timer it does not update the menu properly as in the mentioned thread. Is there a way to solve this problem? I did a forum search and I couldn't find anything to help me.
Any help would be appreciated.


this is the original code with animation included:


but does not work


SebHoll(Posted 2009) [#2]
If I add the timer, and include EVENT_TIMERTICK in the event-hook processing, then everything seems to work fine over here...



What OS are you on?


Jesse(Posted 2009) [#3]
Thanks!, that did it!,
I don't know why but I can't figure this stuff out. I tried like crazy to figure it out on my own but I ended up posting about something simple yet unintuitive to me. The whole gui concept is new to me and has become a real challenge to learn. The real challeng to me is making the whole thing work together. I can use all of the functions sintax properly but I can't seem to figure out the hooks and timer thing. I went through Assari tutorials and I thought I understood them well But as he said on the canvas lesson:

This gadget actually deserves a whole series of tutorial by itself as it actually brings the whole power of Max2D with it.


Thanks Again, much appreciated.

By the way, I am using WIN XP SP2