Using Win32 functions in Visual FoxPro Image Gallery
Window Class
..msdn
GetClassInfo
GetClassInfoEx
GetClassLong
GetClassName
GetWindowLong
RegisterClassEx
SetWindowLong
UnregisterClass
Code examples:
Browsing Windows Known Folders (Special Folders)
Creating irregularly shaped FoxPro form using transparency color key
Detecting changes in connections to removable drives (VFP9)
Displaying the associated icons and descriptions for files and folders
How to make a VFP form fading out when released (GDI version)
How to make a VFP form fading out when released (GDI+ version)
How to view icons stored in executable files (Icon Viewer) - II
Semi-transparent Form
Setting properties of the window: caption and user-defined value
System Image List Viewer
Transparent Menu Class (requires VFP9)
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Windows Shell Icons displayed and exported to ICO files (Vista)
SetWindowLong
..msdn    Add comment     W32 Constants      Translate this page
Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory.
Code examples:
Browsing Windows Known Folders (Special Folders)
Detecting changes in connections to removable drives (VFP9)
How to make a VFP form fading out when released (GDI version)
How to make a VFP form fading out when released (GDI+ version)
Windows Shell Icons displayed and exported to ICO files (Vista)
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
How to view icons stored in executable files (Icon Viewer) - II
Semi-transparent Form
Creating irregularly shaped FoxPro form using transparency color key
Displaying the associated icons and descriptions for files and folders
Declaration:
LONG SetWindowLong(
  HWND hWnd,       // handle to window
  int nIndex,      // offset of value to set
  LONG dwNewLong   // new value
);
FoxPro declaration:
DECLARE INTEGER SetWindowLong IN user32;
    INTEGER hWnd,;
    INTEGER nIndex,;
    INTEGER dwNewLong
Parameters:
hWnd
[in] Handle to the window and, indirectly, the class to which the window belongs.

nIndex
[in] Specifies the zero-based offset to the value to be set.

dwNewLong
[in] Specifies the replacement value.
Return value:
If the function succeeds, the return value is the previous value of the specified 32-bit integer.
Usage:
nStyle = GetWindowLong(m.hPopupWindow,;
    GWL_EXSTYLE)

= SetWindowLong(m.hPopupWindow, GWL_EXSTYLE,;
    BITOR(m.nStyle, WS_EX_LAYERED))

Word Index links for the SetWindowLong :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-11-01 19:47:42
Modified: 2007-06-11 19:54:27
Visited in last 7 days: 55
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.224.43.96)
30 sec.Function: 'waveOutSetVolume'
6 day(s)Function: 'FindMediaType'
 Function: 'CoTaskMemFree'
 Function: 'SetVolumeLabel'
 Function: 'mmioDescend'
 Function: 'SetupGetInfInformation'
 Function: 'GetMenuString'
 Function: 'GdipSetImageAttributesColorKeys'
 Function: 'MessageBoxIndirect'
 Function: 'IsWindowEnabled'
Google
Advertise here!