VFP code to make minimized app blink in taskbar?

Posted on 2009-12-16
Last Modified: 2012-05-08
can you provide a snippet of Visual Foxpro code that will force an application that is minimized in the taskbar to blink?
Question by:vfpuser2019
    LVL 41

    Accepted Solution

    Try this:

    DECLARE INTEGER FlashWindow IN user32 INTEGER lnHwnd, INTEGER lnInvert
    FOR lnI = 1 TO 10
      = FlashWindow(_vfp.HWnd, 1)
      WAIT "" TIMEOUT 0.25
    = FlashWindow(_vfp.HWnd, 0)

    Author Closing Comment

    works great.  thanks for your help
    LVL 41

    Expert Comment

    You are welcome

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: (http://msd…
    Outlook Free & Paid Tools
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now