Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HIWebView and Tabs Control



Hi,

I've run into some of these problems too. I develop the java SWT Browser 
widget for the Eclipse project. On the Mac, the widget uses Webkit from 
within Carbon, inside a java virtual machine. 

 > 2) Visibility issues. I have found that the WebView tends to make
 > it self visible periodically in a Tabs control even when it is not
 > the active tab.
Apple documented that the web view cannot be obscured by other views above 
it (doc for HiWebViewCreate). One workaround is to resize it to 0,0 when 
it should not be visible, and restore its size when it should be visible.

Another issue I run into is described at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=64801#c3
Adding the webview to its parent (HiViewAddSubview) after this parent is 
made visible with ShowWindow causes the webview to appear disabled - 
disabled scrollbars, no keyboard/mouse/hyperlink navigation - yet the 
webview draws well and the default popup menu works fine. Forcing a 
sequence of HideWindow/ShowWindow on the top level window 'fixes' it. If 
anyone has code successfully adding a webview to a top level carbon window 
already visible please let me know. Are there any window attributes that 
should be avoided for carbon windows hosting a web view?

Chris
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: HIWebView and Tabs Control (From: email@hidden (Simon Fraser))



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.