...but it won't show an icon on the title bar in windowed mode or on the task swapper...
It will if your using a MaxGUI window.You can also hack your modules for non MaxGUI windows, if you're so inclined...
http://www.blitzbasic.com/Community/posts.php?topic=53816#601546
[edit]
As the above post is pretty old, I'd be inclined to just add the additional lines and not replace the entire functions.
[/edit]