Results for "Author: robert kaltenbach"
When you are writing a sub or a function you maybe want to implement a delay. The most common way is to use a DoEvents loop. But then the CPU will be 100% busy. Another way is to use the Sleep API. But then your app won't respond to any events while waiting. Way 3 sets a timer and exit the function. The timer will start the function again. But then you have to implement a state machine into every delayed function. The following code won't stress the CPU, keeps your app responsive and it is easily to implement. The only requirement is that you insert it into the code of a window with a hWnd.
It finds the shortest way. Really.
The eyes follow your mouse cursor.
Wow! There's a hole in my form!! And it's resizable %D
It encrypts and decrypts pictures. Please vote for me this time. Thank you!
It's a complete Screensaver with up to three objects with choosable colors.
The "Pen" flies around and draws lines which disappear some seconds later. And the "Camera" tries to capture it. You watch.
When you are writing a sub or a function you maybe want to implement a delay. The most common way is to use a DoEvents loop. But then the CPU will be 100% busy. Another way is to use the Sleep API. But then your app won't respond to any events while waiting. Way 3 sets a timer and exit the function. The timer will start the function again. But then you have to implement a state machine into every delayed function. The following code won't stress the CPU, keeps your app responsive and it is easily to implement. The only requirement is that you insert it into the code of a window with a hWnd.
It finds the shortest way. Really.
The eyes follow your mouse cursor.
Wow! There's a hole in my form!! And it's resizable %D
It encrypts and decrypts pictures. Please vote for me this time. Thank you!
It's a complete Screensaver with up to three objects with choosable colors.
The "Pen" flies around and draws lines which disappear some seconds later. And the "Camera" tries to capture it. You watch.
When you are writing a sub or a function you maybe want to implement a delay. The most common way is to use a DoEvents loop. But then the CPU will be 100% busy. Another way is to use the Sleep API. But then your app won't respond to any events while waiting. Way 3 sets a timer and exit the function. The timer will start the function again. But then you have to implement a state machine into every delayed function. The following code won't stress the CPU, keeps your app responsive and it is easily to implement. The only requirement is that you insert it into the code of a window with a hWnd.
It finds the shortest way. Really.
The eyes follow your mouse cursor.
Wow! There's a hole in my form!! And it's resizable %D
It encrypts and decrypts pictures. Please vote for me this time. Thank you!
It's a complete Screensaver with up to three objects with choosable colors.