Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / March 2008

Tip: Looking for answers? Try searching our database.

How to make my application sparkle?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cylix - 03 Mar 2008 07:16 GMT
I am writing a small program to monitor a folder.
Normally, the user will minimize the application on the task bar.

When a new file on the folder, I would like to make the application in
task bar to sparkle.
Just like we minimized a msn conversation window and got a new
message.
Thanks a lot.
Thorsten Doerfler - 03 Mar 2008 08:30 GMT
Cylix schrieb:
> I am writing a small program to monitor a folder.
> Normally, the user will minimize the application on the task bar.
[quoted text clipped - 3 lines]
> Just like we minimized a msn conversation window and got a new
> message.

P/Invoke FlashWindow/FlashWindowEx

Thorsten Doerfler
Signature

Microsoft MVP Visual Basic

vb-hellfire visual basic faq  | vb-hellfire - einfach anders
http://vb-faq.de/             | http://www.vb-hellfire.de/

Cylix - 03 Mar 2008 10:03 GMT
> P/Invoke FlashWindow/FlashWindowEx
I think flashwindow is came from windows API right?
but ...anyone can telll me how to declare flashwindow from WINAPI to
vb.net?

Thanks.
(O)enone - 03 Mar 2008 10:34 GMT
> I think flashwindow is came from windows API right?
> but ...anyone can telll me how to declare flashwindow from WINAPI to
> vb.net?

http://www.pinvoke.net/default.aspx/user32/FlashWindowEx.html

Signature

(O)enone

Herfried K. Wagner [MVP] - 03 Mar 2008 15:57 GMT
"(O)enone" <oenone@nowhere.com> schrieb:
>> I think flashwindow is came from windows API right?
>> but ...anyone can telll me how to declare flashwindow from WINAPI to
>> vb.net?
>
> http://www.pinvoke.net/default.aspx/user32/FlashWindowEx.html

This declarations basically work but they are flawed.  'FlashWindowEx'
returns a Boolean value and there is no need to pass the form object 'ByRef'
in the wrapper method.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.