How to find WindowRef of Apple Help Viewer application?

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-05-26T08:08:45Z Indexed on 2010/05/26 8:11 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

Hi,

In my Carbon application upon display of Preference Panes, I have a link which when clicked opens up Apple Help Viewer.

The problem I am facing is the Help Viewer Window is behind my preference pane window.

I would like to keep the Help Viewer window on top of the Preference Pane.

Is there any way to get the WindowRef of the Help Viewer app so that I can use SendBehind API to send the help viewer behind the current window.

Thanks a lot

Regards, Marc

© Stack Overflow or respective owner

Related posts about mac

Related posts about carbon