Page 1 of 1

Mouse Scroll-wheel for a transparent Window

Posted: Thu Jul 15, 2010 7:28 am
by theomania
Hello,

Trying to use the mousewheel on a transparent window will not work. Making the window non-transparent will work (changing the style of the Transparent sample app with the same source file).

Is this a known issue, is there a way to do this / workaround, am I missing anything?

Thanks,

T.

Posted: Thu Jul 15, 2010 7:51 am
by Softanics
Hello,

Could you please drop me a sample to support (at) f-in-box (dot) com ?

Thank you in advance!

Posted: Tue Jul 20, 2010 9:14 am
by theomania
I sent the instructions to reproduce, along with an attachment (small), I was wondering if there was any news regarding this issue?

T.

Posted: Wed Jul 21, 2010 3:45 pm
by Softanics
Hello,

I'm sorry for the delay.

One small experiment, if I comment out the code:

Code: Select all

   HWND hwndFlashPlayerControl =
      CreateWindowEx(WS_EX_LAYERED,
                  (LPCTSTR)FPC_GetClassAtom(m_hFPC),
                  NULL,
                  WS_POPUP | WS_VISIBLE,
                  rc.left,
                  rc.top,
                  rc.right - rc.left,
                  rc.bottom - rc.top,
                  NULL,
                  NULL,
                  NULL,
                  NULL);
/*
   CTransparentFlashPlayerControlWnd* pFlashProjectorWnd = new CTransparentFlashPlayerControlWnd;
   pFlashProjectorWnd->SubclassWindow(hwndFlashPlayerControl);
   pFlashProjectorWnd->SetWindowText(_T("Sample 4 - Translucency"));
   pFlashProjectorWnd->CenterWindow();
   pFlashProjectorWnd->ShowWindow(SW_SHOW);
   pFlashProjectorWnd->UpdateWindow();
*/


then the flash windows works well.

If SubclassWindow is called, mouse wheel doesn't work as expected.

Thank you.

Posted: Wed Jul 21, 2010 3:58 pm
by Softanics
Hello,

I hope to have a fix in the nearest time.

Thank you.

Posted: Wed Jul 21, 2010 4:59 pm
by Softanics
Hello,

Could you please check new version?

Thank you.