|
-
Jan 24th, 2009, 12:01 AM
#1
[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.
-
Jan 24th, 2009, 12:03 PM
#2
Re: Transclusion Problem
Perhaps this thread from the Code Bank will be useful: VB6 - Glass Form
-
Jan 24th, 2009, 01:26 PM
#3
Re: Transclusion Problem
 Originally Posted by Logophobic
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|