Using Win32 functions in Visual FoxPro Image Gallery
Window
..msdn
BringWindowToTop
CloseWindow
CreateWindow
CreateWindowEx
DestroyWindow
EndTask
FindWindow
FindWindowEx
GetAncestor
GetClientRect
GetDesktopWindow
GetForegroundWindow
GetGUIThreadInfo
GetParent
GetShellWindow
GetWindow
GetWindowInfo
GetWindowPlacement
GetWindowRect
GetWindowText
GetWindowTextLength
GetWindowThreadProcessId
InternalGetWindowText
IsChild
IsIconic
IsWindow
IsWindowVisible
IsZoomed
MoveWindow
RealGetWindowClass
SetForegroundWindow
SetLayeredWindowAttributes
SetParent
SetWindowPos
SetWindowText
ShowWindow
SwitchToThisWindow
Code examples:
Creating irregularly shaped FoxPro form using transparency color key
Displaying dimmed window behind VFP top-level form
How to make a VFP form fading out when released (GDI version)
How to make a VFP form fading out when released (GDI+ version)
Placing On-screen Alert on top of all windows
Semi-transparent Form
Transparent Menu Class (requires VFP9)
SetLayeredWindowAttributes
    Add comment     W32 Constants      Translate this page
The SetLayeredWindowAttributes function sets the opacity and transparency color key of a layered window.
Code examples:
Displaying dimmed window behind VFP top-level form
How to make a VFP form fading out when released (GDI version)
Placing On-screen Alert on top of all windows
Creating irregularly shaped FoxPro form using transparency color key
How to make a VFP form fading out when released (GDI+ version)
Semi-transparent Form
Transparent Menu Class (requires VFP9)
Declaration:
BOOL SetLayeredWindowAttributes(
    HWND hwnd,
    COLORREF crKey,
    BYTE bAlpha,
    DWORD dwFlags
);
FoxPro declaration:
DECLARE INTEGER SetLayeredWindowAttributes IN user32;
    INTEGER hwnd,;
    INTEGER crKey,;
    SHORT   bAlpha,;
    INTEGER dwFlags

Parameters:
hwnd
[in] Handle to the layered window.

crKey
[in] COLORREF structure that specifies the transparency color key to be used when composing the layered window.

bAlpha
[in] Alpha value used to describe the opacity of the layered window.

dwFlags
[in] Specifies an action to take: LWA_COLORKEY, LWA_ALPHA
Return value:
If the function succeeds, the return value is nonzero.
My comment:
A layered window is created by specifying WS_EX_LAYERED when creating the window with the CreateWindowEx function or by setting WS_EX_LAYERED via SetWindowLong after the window has been created.





Word Index links for the SetLayeredWindowAttributes :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-08 15:34:53
Modified: 2005-11-07 21:39:43
Visited in last 7 days: 41
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.167.202.184)
2 sec.Function: 'AppendMenu'
3 sec.Function: 'GdipGetFontCollectionFamilyList'
5 sec.Function: 'SetGraphicsMode'
7 sec.Function: 'AddClipboardFormatListener'
10 sec.Function: 'CeRapiInvoke'
12 sec.Function: 'ZeroMemory'
14 sec.Function: 'SetForegroundWindow'
16 sec.Function: 'mmioAscend'
18 sec.Function: 'PrintDlg'
21 sec.Function: 'InitiateSystemShutdown'
Google
Advertise here!