Results 1 to 3 of 3

Thread: [RESOLVED] Transclusion Problem

  1. #1

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Resolved [RESOLVED] Transclusion Problem

    Hai,

    I am loading a full screen 99% transclusion window (LWA_ALPHA value set to 1) that covers the whole screen and prevents clicks form going passing this window when user working on my app. think of it as a kind of drawing on the screen. so the user actually draw on the the transclusion window insted of using the screen dc.


    Code:
    SetLayeredWindowAttributes frm.hwnd, RGB(128, 128, 128), 1, LWA_ALPHA
    now my problem is and amaizing problem.

    on most of the systems this works really good. but on few systems when the user draws on the transclusion window it does'nt. the click are just received by the underneath windows as normaly does.

    so if i put the LWA_ALPHA value to 5 or higher, it fixes this problem
    but i don't like this option coz still the user slightly sees the transclution window is loaded.

    so whats this problem is really?
    Last edited by Fazi; Jan 24th, 2009 at 01:30 AM.

  2. #2
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: Transclusion Problem

    Perhaps this thread from the Code Bank will be useful: VB6 - Glass Form

  3. #3

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Transclusion Problem

    Quote Originally Posted by Logophobic
    Perhaps this thread from the Code Bank will be useful: VB6 - Glass Form
    Hai logohobic,
    Very useful thered. now i feel bit relief that it is a common problem and not with my code. yah i made it 5 and works now on all pc's.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width