Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: NT
Expertise: Beginner
Aug 3, 1999

Blinking Borders in Spy++

Question:
How does Spy++ make the borders of a window blink when you select "Highlight" from the right-click menu?

I have a MouseProc in the hook chain, so I can get the handle of the window that the mouse is over; I just need to know how to make the borders blink. I thought I once read about an API that easily does it, but I cannot find such a creature now.

Answer:
You need the FlashWindowEx function, which uses the FLASHWINFO structure (and includes a HWND for the window you want to blink).

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date