title: Make Transparent Window Not Clickthrough
body: <p>So I'm using CEF3 on Window x64, latest build, and I needed to create a POC for work where I loading a specific web page through CEF and the window had to be semi transparent.  I managed to do that, but now, when you click on the page it loaded, the clicks seem to click through the window, so you can't actually navigate the page.</p>
  
  <p>Does anyone know how to have both a semi transparent window AND have the clicks not go through?</p>
  
  <p>Here's the code I used for the transparency.  I've Googled the shit out of this, but can't seem to find a solution to my problem.  Additionally, I'm really bad with the Win32 API, otherwise I bet this would have been much easier!</p>
  
  <p>Thank you so much in advance!</p>
  
  <pre><code>BOOL MakeWindowTransparent(HWND hWnd, unsigned char factor) {
  /* First, see if we can get the API call we need. If we've tried
  * once, we don't need to try again. */
  if (!initialized) {
    HMODULE hDLL = LoadLibrary(L"user32");
  
    pSetLayeredWindowAttributes =
      (PSLWA) GetProcAddress(hDLL, "SetLayeredWindowAttributes");
  
    initialized = TRUE;
  }
  
  if (pSetLayeredWindowAttributes == NULL)
    return FALSE;
  
  /* Windows need to be layered to be made transparent. This is done
  * by modifying the extended style bits to contain WS_EX_LAYARED. */
  SetLastError(0);
  
  SetWindowLong(hWnd,
    GWL_EXSTYLE,
    GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED);
  
  if (GetLastError())
    return FALSE;
  
  /* Now, we need to set the 'layered window attributes'. This
  * is where the alpha values get set. */
  return pSetLayeredWindowAttributes(hWnd,
    RGB(255, 255, 255),
    factor,
    LWA_COLORKEY | LWA_ALPHA);
  </code></pre>
  
  <p>}</p>