15,891,204 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by wcb2@cornell.edu (Top 7 by date)
wcb2@cornell.edu
29-May-13 18:50pm
View
It is a mdi form icon. This is the icon that windows displays on the taskbar when the app is running. When I say it, "works just fine". I mean just that. I can change the icon that windows displays on the taskbar at runtime. Yes, they are distinctly different icon files. The icon is changed when the user changes accounts via:
Me.Icon = New System.Drawing.Icon(Application.StartupPath & "\Images\" & myIconFileNames(2%))
wcb2@cornell.edu
29-May-13 16:43pm
View
If what I am asking about is impossible, please explain why it works just fine if I start the application by running the EXE directly. The app does exactly what I want and the icon changes at runtime in the taskbar! It only becomes a problem after creating a shortcut to the EXE.
wcb2@cornell.edu
29-May-13 16:37pm
View
You have not provided a solution. Rather you are suggesting alternatives. Therefore I would not consider your response a "solution".
At this point I disagree that it is impossible. So I will continue trying to figure it out. Thanks.
wcb2@cornell.edu
29-May-13 16:19pm
View
Why would it work fine when there is no shortcut targeting the EXE? It only becomes a problem after creating a shortcut for the EXE.
wcb2@cornell.edu
29-May-13 16:15pm
View
What I am trying to do works just fine when there is no shortcut to the EXE. As soon as a shortcut is created targeting the EXE, the taskbar icon stops updating at runtime. I would rather not get into a philosophical debate about why I should not try to do this. Instead, I would just like to know if anyone has done this successfully. And if so how. Thanks!
wcb2@cornell.edu
29-May-13 16:04pm
View
The app I am building allows the user to switch "accounts" at runtime. When the account is switched the icon that is displayed in the taskbar icon needs to change to give the user a visual indication (on the taskbar) of which account is selected in the running app.
wcb2@cornell.edu
24-May-13 16:50pm
View
I should also add that this is for an in house application and all 20 or so users will be on windows 7. So all the concerns about multiple platform compatibility are really not concerns for me. This is for an order management application where there are multiple user accounts in which orders can occur. So, the users will have multiple instances of the app running for each account and I need to visually distinguish which instances is for which account.
It would be ideal if each window had a big fat title bar with a color and some text indicating the account. If I go borderless, I lose some built in behaviours and introduce a whole bunch of other issues that need to be dealt with in code. So, this is why I want keep the border and just draw the indicator graphics. All I need to do is figure out how to keep Windows 7 from drawing over the graphics after overriding the NC messages.
I realize its a boring topic, but instead of suggesting that go in another direction I would be very grateful if someone would consider the underlying question: How to stop WIndows 7 from drawing over the NC graphics after they are created.
Show More