Translucent

Description

Short story: Create layered windows, to make forms translucent or irregularly shaped, using drop-in class.

Longer description from old site: click here.

To be edited...

Published

This sample, or the one from which it originally derived, was published (or at least peripherally mentioned) in the following article(s):

APIs Usage

This sample uses the following API calls:

Module Library Function
CTranslucent.cls kernel32
user32



GetVersionEx
GetSysColor
GetWindowLong
SetLayeredWindowAttributes
SetWindowLong
UpdateLayeredWindow
FTrans.frm gdi32

user32



BitBlt
GetPixel
GetCursorPos
GetDC
ReleaseDC
ScreenToClient
WindowFromPoint
FWindowPicker.frm user32





GetCursorPos
GetParent
IsWindowVisible
ReleaseCapture
SetCapture
SetForegroundWindow
WindowFromPoint
MHookMe.bas kernel32
user32



RtlMoveMemory
CallWindowProc
GetProp
GetWindowLong
SetProp
SetWindowLong
MTransWnd.bas kernel32
user32



GetVersionEx
GetParent
GetWindowLong
IsWindowVisible
SetLayeredWindowAttributes
SetWindowLong
WinRgn.Frm gdi32




user32





CreatePolygonRgn
CreateSolidBrush
DeleteObject
FillRgn
Polyline
GetCursorPos
GetSystemMetrics
GetWindowLong
ReleaseCapture
SendMessage
SetWindowLong
SetWindowPos

Don't see what you're looking for? Here's a complete API cross-reference.

Download

Download Translucent.zip   Please, enjoy and learn from this sample. Include its code within your own projects, if you wish. But, in order to insure only the most recent code is available to all, I ask that you don't share the sample by any form of mass distribution.

Download Translucent.zip, 40Kb, Last Updated: Monday, July 10, 2000

See Also

The following resources may also be of interest: