Add new title bar icon - how?

I am writing a strange windows application which has no menu bar or
tool bars. However I would like to add an icon to the title bar, just
to the left of Minimise. Can anyone point me in the right direction?