473,770 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FlashWindowEx does not work with Windows Classic theme

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.
Nov 17 '05 #1
2 3080

Guff wrote:
*I have an MFC application that uses FlashWindowEx to notify the use
of an event by minimizing a window on the taskbar and callin
FlashWindowEx. This works fine except if you are using the Window
Classic theme on Windows XP. If you switch back to one
of the built-in XP themes, it works fine. When using the classi
theme, the taskbar button flashes one time, and then appear
'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 ca
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
-----------------------------------------------------------------------
Posted via http://www.mcse.m
-----------------------------------------------------------------------
View this thread: http://www.mcse.ms/message712978.htm

Nov 17 '05 #2
"nishant" <ni************ @mail.mcse.ms> wrote in message
news:ni******** ****@mail.mcse. ms...
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


Nov 17 '05 #3

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

Similar topics

19
6010
by: Lauren Quantrell | last post by:
In Windows XP display Properties/Appearance users can chose between: Windows XP Style or Windows Classic Style. Is there a way in VBA to determine the user's selection? The reason: Toolbars size taller in XP than in Classic so I need to size all those nifty windows sizing commands depending on the user's preference.
5
2454
by: Tom | last post by:
is it possible to create xp style theme with vs2003 on windows 2003 ? thanks Tom
0
3050
by: Chenghui Li | last post by:
We have a problem with the Windows XP theme: We have a IDE which allows other developers to develop visual programs for their customers. Our IDE allow them to set font for window captions easyly (through a dialog). It works fine fo W98, 2000, NT, and XP is the theme is Classic. But on XP if the theme is "Windows XP", the we have a problem: if the developer set the caption font to be say, "Script" (and all non-default font), then the...
0
1614
by: Sakharam Phapale | last post by:
Hi All, Following example not working in .NET which works in VB6. Private Const FLASHW_STOP As Integer = 0 Private Const FLASHW_CAPTION As Integer = &H1
1
1964
by: Jesper | last post by:
Is there a way to see if an XP user is using Windows classic theme as desktop appearance. Also how can I detect operating system. I.e. prompt for version of windows. Best regards and thanks Jesper, Denmark.
20
2222
by: Maurice | last post by:
Hi all, I have an application, designed in Visual Studio 2005, which will run mainly on Windows XP computers. If I run the application on a Windows XP computer having the Windows XP Theme selected the controls look nice rounded, etc. just like in Windows XP. But if I run the application on a Windows XP computer having the Windows
1
1595
by: ilikewine | last post by:
The menu drop down icons (only the gray inactive icons) look horrible in Windows Classic Theme. Once they are active and have color, they look fine. If we switch to XP theme, they look just fine. Anyone else run into this problem with python rewriting "shotty" inactive icons in the Windows Classic Theme? ANY help appreciated. Best,
5
7684
by: bobdydd | last post by:
Hi All I am just getting to grips with Access 2007 and one of the quirks I have found is that when I design using Windows in XP Windows-Classic colors and set the text boxes on forms' special effect property to "sunken" They appear as sunken in the correct manner. However, when I change to the Windows XP color scheme the forms text boxes appear flat even though the special effect property has not changed.
0
973
by: Shataken | last post by:
I have developed an app on a computer that is set to windows classic as it's theme (XP pro machine). When I publish the app it works fine on machines with the theme set to windows classic, but if they have it set to XP default the login/cancel buttons do not work on the MS created login form. I can fix it by disabeling the "Allow xp themes" checkbox on theproject form. The buttons will show the orange border when the mouse hovers over them,...
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10260
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.