Lines Matching refs:region
65 HWND region_hwnd; /**< Handle of the region border window */
76 * Callback to handle Windows messages for the region outline window.
80 * @param hwnd The region outline window handle.
115 * Initialize the region outline window.
126 HRGN region = NULL;
143 WIN32_API_ERROR("Could not create region display window");
149 region = CreateRectRgn(0, 0,
154 CombineRgn(region, region, region_interior, RGN_DIFF);
155 if (!SetWindowRgn(hwnd, region, FALSE)) {
156 WIN32_API_ERROR("Could not set window region");
159 // The "region" memory is now owned by the window
160 region = NULL;
172 if (region)
173 DeleteObject(region);
182 * Cleanup/free the region outline window.
271 "Can't show region when grabbing a window.\n");