request user attention on Mac doesn't always work, are there perquisites?

Hello everyone,

I request the user's attention on Mac OS X when showing dialogs. I have one case where it doesn't work, it is for my task bar icon. I call RequestUserAttention() on the parent, a Frame that is not always shown. Sometimes it works, that is I get the bouncing action on the dock, but sometimes it does not. What are the perquisites for the user attention mechanism to trigger?

Thank you,
Gabriel

Please create a small sample app that shows the problem. MakingSampleApps - wxPyWiki

···

On 10/27/09 1:22 AM, Gabriel Rossetti wrote:

Hello everyone,

I request the user's attention on Mac OS X when showing dialogs. I have
one case where it doesn't work, it is for my task bar icon. I call
RequestUserAttention() on the parent, a Frame that is not always shown.
Sometimes it works, that is I get the bouncing action on the dock, but
sometimes it does not. What are the perquisites for the user attention
mechanism to trigger?

--
Robin Dunn
Software Craftsman

Robin Dunn wrote:

···

On 10/27/09 1:22 AM, Gabriel Rossetti wrote:
  

Hello everyone,

I request the user's attention on Mac OS X when showing dialogs. I have
one case where it doesn't work, it is for my task bar icon. I call
RequestUserAttention() on the parent, a Frame that is not always shown.
Sometimes it works, that is I get the bouncing action on the dock, but
sometimes it does not. What are the perquisites for the user attention
mechanism to trigger?
    
Please create a small sample app that shows the problem. MakingSampleApps - wxPyWiki

Hello Robin,

Sorry for the long delay, it's working now, I'm not sure what i did to fix it as I modified/fixed lots of other stuff. Thanks for your interest,

Gabriel