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 / Managed C++ / July 2004

Tip: Looking for answers? Try searching our database.

FlashWindowEx does not work with Windows Classic theme

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Guff - 26 May 2004 14:26 GMT
I have an MFC application that uses FlashWindowEx to notify the user of an event by minimizing a window on the taskbar and calling FlashWindowEx.  This works fine except if you are using the Windows Classic theme on Windows XP.  If you switch back to one of the built-in XP themes, it works fine.  When using the classic theme, the taskbar button flashes one time, and then appears 'pushed', like it is the active window even though it is not.  Also, if you have the taskbar hidden, it does not pop up after calling FlashWindowEx like it does when using the XP theme, Win98 or 2000.
nishant - 22 Jul 2004 13:11 GMT
> *I have an MFC application that uses FlashWindowEx to notify the use
> of an event by minimizing a window on the taskbar and callin
[quoted text clipped - 6 lines]
> lling FlashWindowEx like it does when using the XP theme, Win98 o
> 2000. *

I tried using FlashWindowEx inside my application but showed error tha
Function not defined...I am using VS 6.0 in Win 2K professional...Wh
is this??

-
nishan
William DePalo [MVP VC++] - 22 Jul 2004 17:40 GMT
> I tried using FlashWindowEx inside my application but showed error that
> Function not defined...I am using VS 6.0 in Win 2K professional...Why
> is this???

The function did not get added to the Win32 API until '98. Do you need to
define in your source or in the IDE

   #define WINVER 0x0500

Of course, if you do that it is for you to insure that you don't try to run
your application on '95 or NT v4.

Regards,
Will

Rate this thread:







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.