Using Win32 functions in Visual FoxPro Image Gallery
Shell Functions
..msdn
AssocQueryString
DllGetVersion
DragAcceptFiles
DragFinish
DragQueryFile
DragQueryPoint
FileIconInit
FindExecutable
GetFileNameFromBrowse
GetMenuContextHelpId
GetWindowContextHelpId
InetIsOffline
IsUserAnAdmin
LoadUserProfile
PathMakeUniqueName
PathYetAnotherMakeUniqueName
RealDriveType
RestartDialog
SHAddToRecentDocs
SHBrowseForFolder
SHCreateDirectory
ShellAbout
ShellExecute
ShellExecuteEx
Shell_GetImageLists
Shell_NotifyIcon
SHEmptyRecycleBin
SHFileOperation
SHFormatDrive
SHGetFileInfo
SHGetFolderPath
SHGetPathFromIDList
SHGetSpecialFolderLocation
SHGetStockIconInfo
SHParseDisplayName
SHQueryRecycleBin
SHSimpleIDListFromPath
UnloadUserProfile
WinHelp
Code examples:
Displaying icons in the system tray (VFP9)
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Displaying icons in the system tray (VFP9)

User rating: 9.83/10 (6 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Versions:
click to open
Before you begin:
This code relies on extended BINDEVENT() functionality added in VFP9.

The TaskbarStatus object adds an icon to the systray and receives notifications on mouse events occurring in the bounding rectangle of the icon, and on balloon events (displayed, clicked, timeout).





See also:
  • Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form.
  • Adding user-defined items to the Control Menu of VFP form (requires VFP9)
  • Displaying Windows Shell Icons in ListView control
  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 9.83/10 (6 votes)
    Rate this code sample:
    • ~
    9114 bytes  
    Created: 2001-12-24 17:57:28  
    Modified: 2011-04-06 08:57:27  
    Visits in 7 days: 170  
    Listed functions:
    CallWindowProc
    DestroyIcon
    ExtractAssociatedIcon
    GetModuleFileName
    GetWindowLong
    LoadImage
    Shell_NotifyIcon
    Printer friendly API declarations
    My comment:
    The NOTIFYICONDATA structure is simplified here, considering the (_WIN32_IE < 0x0500) condition. MSDN Library contains complete description of this structure

    * * *
    This code sample calls LoadImage or ExtractAssociatedIcon to obtain HICON values. The other possible ways of loading icons can be implemented through calls to SHGetStockIconInfo, SHGetFileInfo, ExtractIcon and GetIconInfo.

    Storing DLL icon resources in .ICO files


    * * *
    Microsoft .NET Framework conveniently includes NotifyIcon control that is to be simply dropped on Windows form.


    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    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.225.20.73)
    15 sec.Function: 'JetInit'
    29 sec.Function: 'RegSaveKey'
    44 sec.Function: 'FindText'
    58 sec.Function: 'mixerGetLineControls'
    1.15 min.
    Function group: 'GDI+'
    1.33 min.Function: 'InternetDial'
    1.57 min.Function: 'StrToInt'
    1.75 min.Function: 'keybd_event'
    1.97 min.Function: 'ShowHTMLDialog'
    2.2 min.Function: 'GlobalSize'
    Google
    Advertise here!