Using Win32 (WinAPI) Functions in Microsoft Visual FoxProAdd Microsoft Win32 functionality to your Visual FoxPro applications! This web site presents declarations and FoxPro code samples for over 1,100 Windows API functions.Code sample updated: How to display a user-defined icon in the MessageBox dialog- May 30, 2007 Shell32.dll contains several dozens system icons. Each of them can be easily displayed on MessageBox dialog form via MessageBoxIndirect API call.http://www.news2news.com/vfp/?example=500 Code sample: How to view icons stored in executable files (Icon Viewer) - II- May 26, 2007 An API ImageList object (different from ImageList ActiveX control) is created and populated with the icons extracted from specified executable or library file. Then the ImageList is linked to a ListView control on the form. Each item in the ListView represents an icon.http://www.news2news.com/vfp/?example=19 Code sample: System Image List Viewer- May 25, 2007 The OS creates the System Image List for each running process, with the process mainly responsible for populating the list with ListImage items via SHGetFileInfo calls or IExtractIcon Interface and may be by some other means.http://www.news2news.com/vfp/?example=21 Code sample updated: Enumerating files opened on the network- May 25, 2007 The NetFileEnum function returns information about some or all open files on a server in an array of FILE_INFO_3 or FILE_INFO_2 structures.Rewritten from scratch to become functional.http://www.news2news.com/vfp/?example=121 User contributed notes, rules changed- May 25, 2007 Due to constant attention from comment spammers the rules of posting user contributed comments to the articles have changed. Starting recently, only subscribers can do that.http://www.news2news.com/vfp/?generic=Project#usernotes API function: ImageList_GetImageCount- May 24, 2007 Retrieves the number of images in an image list.http://www.news2news.com/vfp/?function=1077 API function: ImageList_Remove- May 24, 2007 Removes an image from an image list.http://www.news2news.com/vfp/?function=1081 API function: ImageList_Add- May 24, 2007 Adds an image or images to an image list.http://www.news2news.com/vfp/?function=1083 API function: ImageList_GetIconSize- May 24, 2007 Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.http://www.news2news.com/vfp/?function=1078 API function: ImageList_Create- May 24, 2007 Creates a new image list.http://www.news2news.com/vfp/?function=1080 |