NigelShaw
Registered User.
- Local time
- Today, 21:03
- Joined
- Jan 11, 2008
- Messages
- 1,575
Hi,
i am in the process of making a form that, by the click of a button, will open a hole to see the underlying window. the SetLayeredWindowAttributes allows this.
Question.
My form is a popup and moves freely.
i click my button to open the hole and it opens
My form stops moving and i cant move it.
Why does the form stop moving and can it be rectified to move with the open hole?
it seems to stem from this-
WS_EX_LAYERED
if comment this out, i dont get the transparent hole and my form moves. If it is uncommented which it needs to so i can apply the new windows style, my form stops moving......
and advice greatly appreciated.
thanks
Nigel
i am in the process of making a form that, by the click of a button, will open a hole to see the underlying window. the SetLayeredWindowAttributes allows this.
Question.
My form is a popup and moves freely.
i click my button to open the hole and it opens

My form stops moving and i cant move it.
Why does the form stop moving and can it be rectified to move with the open hole?
it seems to stem from this-
WS_EX_LAYERED
if comment this out, i dont get the transparent hole and my form moves. If it is uncommented which it needs to so i can apply the new windows style, my form stops moving......
and advice greatly appreciated.
thanks
Nigel