Roman Werner
October 21st, 1998, 04:55 AM
Hi VB-Enthusiasts!!!
I started to use Visual Basics timer control and am amazed how limited this object still is regarding having VB in its 6th version by now. Please convince me of the opposite ;-)
Well, I struggle with the following situation...
I'd like to display an animated icon in the taskbar while their is a 1-minute process going on.
The animation is handled within my Timer-Routine and changes the picture of the taskbar-Icon regularly - this works fine so far.
As soon as I call the process (I call a method in a referenced object), the timer is not called anymore, which means the Animation stays still until the process of that method gives the control back. Too bad!!!
The problem is, that I can't use "DoEvents" because of the external object routine. It wouldn't allow smooth timer animation anyway.
Now, I can't believe, that Visual Basic doesn't support 'propper' Multitasking Timer support which is independent from other tasks running. Am I wrong? Do I have to use Windows-API to solve that? How do Game-Programmers and/or Multimedia-Experts set up a 'real' Timer?
Thanks for any suggestions.
Roman Werner
I started to use Visual Basics timer control and am amazed how limited this object still is regarding having VB in its 6th version by now. Please convince me of the opposite ;-)
Well, I struggle with the following situation...
I'd like to display an animated icon in the taskbar while their is a 1-minute process going on.
The animation is handled within my Timer-Routine and changes the picture of the taskbar-Icon regularly - this works fine so far.
As soon as I call the process (I call a method in a referenced object), the timer is not called anymore, which means the Animation stays still until the process of that method gives the control back. Too bad!!!
The problem is, that I can't use "DoEvents" because of the external object routine. It wouldn't allow smooth timer animation anyway.
Now, I can't believe, that Visual Basic doesn't support 'propper' Multitasking Timer support which is independent from other tasks running. Am I wrong? Do I have to use Windows-API to solve that? How do Game-Programmers and/or Multimedia-Experts set up a 'real' Timer?
Thanks for any suggestions.
Roman Werner