473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to implement FlashWindow in c#

how to implement FlashWindow function in c#?
thanks very much!
Nov 17 '05 #1
4 11488
Hi,

the easy way to do this, is by using the
webbrowser activex control on your windform.
If the Flash PlugIn is installed it will be played.
You only have to call e.g Navigate(urlToSiteWithFlashMovie).

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/

dongxm schrieb:
how to implement FlashWindow function in c#?
thanks very much!


Nov 17 '05 #2
no Flash! it's can FlashWindow in taskbar, en....like MSN Messenger's Talk
Window on anybody talk with me, and the Talk Window is non Activated....
"Lars Behrmann" <la***********@web.de>
??????:11**********************@g43g2000cwa.google groups.com...
Hi,

the easy way to do this, is by using the
webbrowser activex control on your windform.
If the Flash PlugIn is installed it will be played.
You only have to call e.g Navigate(urlToSiteWithFlashMovie).

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/

dongxm schrieb:
how to implement FlashWindow function in c#?
thanks very much!

Nov 17 '05 #3
See Windows Forms Tips and Tricks.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"dongxm" <ia****@hotmail.com> wrote in message
news:eP***************@TK2MSFTNGP10.phx.gbl...
no Flash! it's can FlashWindow in taskbar, en....like MSN Messenger's Talk
Window on anybody talk with me, and the Talk Window is non Activated....
"Lars Behrmann" <la***********@web.de>
??????:11**********************@g43g2000cwa.google groups.com...
Hi,

the easy way to do this, is by using the
webbrowser activex control on your windform.
If the Flash PlugIn is installed it will be played.
You only have to call e.g Navigate(urlToSiteWithFlashMovie).

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/

dongxm schrieb:
how to implement FlashWindow function in c#?
thanks very much!


Nov 17 '05 #4
Have the following declaration at the class level:

[DllImport("user32.dll")]
static extern bool FlashWindow(IntPtr hwnd, bool bInvert);

Then just call the function FlashWindow() passing the Handle property of the
window to be 'flashed' and bInvert value.

Also include "using System.Runtime.InteropServices;"

"dongxm" <ia****@hotmail.com> wrote in message
news:Oa**************@TK2MSFTNGP10.phx.gbl...
how to implement FlashWindow function in c#?
thanks very much!

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Charles Law | last post by:
This is going to seem like a basic OO question, but it comes up and bites me every now and again. Suppose we have a multi-tiered protocol to implement, what is the logical, OO way to design the...
2
by: Billy Porter | last post by:
Greetings, I got a class that wraps the System.Data.SqlClient.SqlConnection class (no COM interaction). I'm not sure if I'm supposed to implement the IDisposable pattern for this wrapper or not....
4
by: Sanjay Vyas | last post by:
Sorry, forgot to cross post this one.. This is rather unusual as we would expect any Collection class to implement ICollection interface and furthermore a Dictionary class should implement...
4
by: Peter | last post by:
I want to copy a parent class instance's all datas to a child's. It's actually a C++'s copy constructor. But why the following code does not work - there is a compile error! How it should look...
3
by: Brett Hall | last post by:
I have a VB.NET interface that my managed C++ code is to implement. I seem to be stuck implementing an event defined in that interface. Does anyone have a simple code snippet that will show me...
5
by: Stacey Levine | last post by:
I have a webservice that I wanted to return an ArrayList..Well the service compiles and runs when I have the output defined as ArrayList, but the WSDL defines the output as an Object so I was...
7
by: moondaddy | last post by:
If I'm in a class that inherits an interface, is there a shortcut key that will write the implementation of the interface into the class? I remember seeing something like this in vb.net. ...
0
by: emin.shopper | last post by:
I had a need recently to check if my subclasses properly implemented the desired interface and wished that I could use something like an abstract base class in python. After reading up on metaclass...
5
by: Tony Johansson | last post by:
Hello! Assume you have the following interface and classes shown below. It is said that a class must implement all the methods in the interface it inherits. Below we have class MyDerivedClass...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.