Trouble with put WS_EX_LAYERED (0x80000) flag on the Canvas window [message #453247] |
Sat, 02 April 2005 02:37 |
Eclipse User |
|
|
|
Originally posted by: Abhinav.Vohra.siebel.com
I'm having trouble setting WS_EX_LAYERED (0x80000) flag on the Canvas
window. I can see thru spy++ that the flag wasnt set. Is there something
I'm missing?
int extStyle = OS.GetWindowLong(canvas.handle, OS.GWL_EXSTYLE);
extStyle = extStyle | 0x80000;
OS.SetWindowLong(canvas.handle, OS.GWL_EXSTYLE, extStyle);
|
|
|
|
Re: Trouble with put WS_EX_LAYERED (0x80000) flag on the Canvas window [message #453289 is a reply to message #453284] |
Mon, 04 April 2005 18:53 |
Eclipse User |
|
|
|
Originally posted by: Abhinav.Vohra.siebel.com
Steve Northover wrote:
> It should work. NOTE: WS_EX_LAYERED when set on tables with headers causes
> redraw problems.
>
> "Abhinav Vohra" <Abhinav.Vohra@siebel.com> wrote in message
> news:d2l0kd$3be$1@news.eclipse.org...
>
>>I'm having trouble setting WS_EX_LAYERED (0x80000) flag on the Canvas
>>window. I can see thru spy++ that the flag wasnt set. Is there something
>>I'm missing?
>>
>>int extStyle = OS.GetWindowLong(canvas.handle, OS.GWL_EXSTYLE);
>>
>>extStyle = extStyle | 0x80000;
>>
>>OS.SetWindowLong(canvas.handle, OS.GWL_EXSTYLE, extStyle);
>
>
>
Steve
It doesnt seem to work for me. Would it be because the canvas is a child
window of the Shell that I'm running it in?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03539 seconds