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: Plugin windows over



Hello,
 
I thus explain again:
 
I have a plugin which display 3D contents in a Internet page with a fixed size thanks to agl.
When I resize my browser, and when a scrollbar arrives on the space or my contents, the plugin displays contents over the scrollbar.
Moreover when that I make new tab, player's contents of the first tab is also displayed on the new one.
In fact my plug-in always draw in the first plane of the browser.
 
A the creation of the window this is what is done :
 

NPError NPP_SetWindow(NPP instance,NPWindow* window){

PluginInstance* pinstance = (PluginInstance*)instance->pdata;

if(window)

    pinstance->m_Window = window;

NP_Port* port = (NP_Port*) window->window;

if(port)

    pinstance->m_HWnd = GetWindowFromPort(port->port);

...
}
with

WindowPtr m_HWnd;

NPWindow* m_Window;

 

I think it's not correct for what I want to do but what I shouId do ?

 

Thanks,

Nicolas

 

----- Original Message -----
It sounds like you are creating a new window with your plug-in (because you say "...the plug-in window is drawn on...".  Is that true?  You might have to manually hide it when the user creates another tab.

Without knowing what you use and how you display in the plug-in, that's about the only advice I can offer.

Hope this helps,
Rudi


On Sep 26, 2006, at 7:59 AM, Palit wrote:
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden



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.