The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: anuradha on March 12, 2007, 09:21:00 PM

Title: creating custom shape windows
Post by: anuradha on March 12, 2007, 09:21:00 PM
there are some programmes use images(.jpg,.png,...) as their interfaces.is this possiable in  assembly.need help please.
(sorry for my bad english)
Title: Re: creating custom shape windows
Post by: Vortex on March 12, 2007, 09:27:21 PM
This custom windows shape demo comes with the masm32 package :

\masm32\examples\exampl07\mob\cws
Title: Re: creating custom shape windows
Post by: anuradha on March 12, 2007, 09:46:17 PM
Thanks vortex .it was very use full .thanks once again
Title: Re: creating custom shape windows
Post by: anuradha on March 12, 2007, 09:54:06 PM
I'have seen some programmes users transparent windows.is there any API function to do this .can anyone help me please :toothy
Title: Re: creating custom shape windows
Post by: PBrennick on March 12, 2007, 10:22:13 PM
anuradha,
Create your window as usual using CreateWindowEx and then add the following extended style. I have never done this myself so I have no code.

Quote
WS_EX_TRANSPARENT

Specifies that a window created with this style is to be transparent. That is, any windows that are beneath the window are not obscured by the window. A window created with this style receives WM_PAINT messages only after all sibling windows beneath it have been updated.

Paul
Title: Re: creating custom shape windows
Post by: Biterider on March 13, 2007, 05:17:50 PM
Hi
In the ObjAsm32 package is a project called Skin, which implements a strechable skinned window (with controls) and matching skinned dialogs. The complete source is included.

Regards,

Biterider
Title: Re: creating custom shape windows
Post by: MichaelW on March 13, 2007, 07:47:35 PM
anuradha,

Do you mean transparent, or translucent (semi-transparent)? The attachment contains a simple translucent dialog demo.



[attachment deleted by admin]
Title: Re: creating custom shape windows
Post by: anuradha on March 13, 2007, 09:07:11 PM
Thanks Michel It was good  :U :U