Developers Notebook-WxMac WxTaskBarIcon
From WxWiki
To cause the notification icon to 'bounce' in the Dock area, simply use the code below:
NMRec nmRec = {0};
nmRec.qType = nmType;
nmRec.nmMark = 1;
NMInstall(&nmRec);
This will make the icon bounce until it is clicked on. Care should however be taken not to annoy the user with a constantly bouncing icon, which is why I normally make it bounce once with the code below:
NMRec nmRec = {0};
nmRec.qType = nmType;
nmRec.nmMark = 1;
if (NMInstall(&nmRec) == noErr)
NMRemove (&nmRec);