Thanks to Aaron for a very informative description.
I found that the following call is no good for extracting from a resource
file:
TrxTray.Icon.Handle := loadicon(hInstance, 'prevarr.ico');
but this is:
TrxTray.Icon.Handle := extracticon(hInstance, 'prevarr.ico', 0);
If u eva need to do this, dont forget to free on formclose
TrxTray.free;
The result of this exercise is a neat group of icons on the tray which allow
direct access to the various functions of an MP3 player.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz