Lines Matching refs:hwnd
32 // Plugin's HWND should be sized/positioned before NPP_SetWindow is called.
54 HWND hwnd = reinterpret_cast<HWND>(window->window);
56 if (!::GetClientRect(hwnd, &rect)) {
62 pluginLog(instance, "Plugin's HWND has not been sized when NPP_SetWindow is called");
66 HWND parent = ::GetParent(hwnd);
73 if (!::MapWindowPoints(hwnd, parent, reinterpret_cast<POINT*>(&rect), 2)) {
79 pluginLog(instance, "HWND's rect and NPWindow's rect are not equal");
83 pluginLog(instance, "Plugin's HWND has been sized and positioned before NPP_SetWindow was called");