While looking at somebody else's code, I noticed he was doing all sorts of stuff with the MouseDown and MouseMove events. Here's a better way, it captures the WM_NCHITTEST message which Windows sends to make Windows think the user is clicking on the title ...(description truncated)
This is a Delphi translation of my award winning Visual Basic code, which I made about a year ago. It uses DirectX 7 to display sharks swimming around. This version includes a configuration screen which allows you to choose how many sharks and bubbles you ...(description truncated)(ScreenShot)
An example of ownerdrawing a menu. But, in contrast to most samples, this one also paints the border of the menu...
Next on my list is painting bitmaps on the menu for full customization, but this is a little more complicated if the borders are more than ...(description truncated)(ScreenShot)
This code simply splits a string into pieces using any delimiter and returns an array. Enjoy!It seems PSC has messed up my code, to view a nicely formatted and color coded version of this code go to http://x2software.net/viewarticle.php?id=5