c++ win32 changing the application display name - c++

I've developed a win32 api application using c++. It was developed using visual studio 2010. When i started developing i gave it a codename and now when it's done i would like to change the applications name, but don't know where to change it (i'm quite new to win32 and visual studio).
I would like to change the .exe name and description (displayed in taskmanager), the name display in the notification area (now it shows MyCodeNameApplication.exe insted of MyCodeNameApplication).
I would also like to give a description, version and author name (so when installing it doesn't say unknown provider).
How can i change this things?

Edit the version resource in your .rc file.

change the path name in 'yourfilename'.dsp

Related

Where is documentation for Core App C++/WinRT?

I am trying to develop apps in Core App C++/WinRT. I notice that it has a wWinMain entry point, so I am assuming it supports code from Windows Desktop Application. I cannot find documentation specific to Core App C++/WinRT. Should I be using the W32 documentation on msdn? When I try to add sample code from Windows Desktop Applications I cannot access header files such as winuser.h. I am using Visual Studio 2022, so the windowsapp.lib should already be included (I have also tried adding the windowsapp in a pragma comment directive). Can someone help?
Core App (C++/WinRT) is a project template for a Universal Windows Platform (UWP) app that doesn't use XAML. Instead, it uses the C++/WinRT Windows namespace header for the Windows.ApplicationModel.Core namespace. After building and running, click on an empty space to add a colored square; then click on a colored square to drag it. You could know about this from the document: Introduction to C++/WinRT.

Qt tableview model not native Windows system font

I created a tableview with model, but the font is not the native system font. It currently looks like this (a combobox inside the tableview):
But in another textinput in the same application it looks correctly like this:
I use no custom fonts and have not overridden the Qt::FontRole (return invalid QVariant()). Why doesn't it use the system font? This is on Windows 10.
EDIT:
There doesn't seem to be any issue when running the executable on my laptop. I'm suspecting a mismatch in .dll files. It should be using the exact same ones but perhaps its using .dll files it finds on my system PATH.
EDIT:
After checking with ProcessExplorer it seems that it loads the correct dlls which are exactly the same my other system loads. The Visual C++ Redistributables versions are also exactly the same.
EDIT
Tried with Visual Studio 2017 (from 2015) with fresh Qt installation, but that doesn't solve the problem either.

Set the title of context menu for Windows 10 Task Bar icon

I have an open source application I wrote for my own use that is a text and clipboard reader for Microsoft Windows. The application, which I unimaginatively named TTSApp, can be found on my web site.
The application uses MFC and can be built with either Visual Studio 2013 or Visual Studio 2015, although window resizing only works properly when it is built with Visual Studio 2013. It uses MFC and, as a result, cannot easily be ported to other platforms or compilers.
It currently uses either SAPI 5 or the Microsoft Speech Platform for speech.
I have a GetTitle function that constructs the title of the application to indicate what configuration is in use, SAPI or Microsoft Speech Platform, and what architecture is in use, x86 or x64. For example, the title of the Microsoft Speech Platform configuration built for the x64 platform is "SnKOpen TTSApp - Microsoft Speech Platform - x64." This tile is used for both the window title of the dialog box and App Name (the value returned by the function is passed to the constructor of the CWinApp class). Note that the App Name is used to generate the windows registry key that application settings are stored in.
I have not been able to figure out how to set the title of the Windows 10 Task Bar icon context menu. The following screen shot will illustrate what I mean.
I would like to set the TTSApp in the above image to be the same as the dialog box title bar.
I tried calling CWinApp::SetAppID, which in turn calls the SetCurrentProcessExplicitAppUserModelID Win32 API function, from the constructor of the CTTSAppApp class, but that did not do it.
The description of the SetCurrentProcessExplicitAppUserModelID implies that this is the way to accomplish what I want since the function "Specifies a unique application-defined Application User Model ID (AppUserModelID) that identifies the current process to the taskbar."
Does anyone have any suggestions about what I should attempt next?

Microsoft Visual cannot add tools

I´m new at Visual Studio C++ and maybe I´m asking a very trivial question. I have a project/application but I have to add a few new features to it. When I open the project in MVS and in "dialog" folder there are windows (or dialogs?) used by application and I can modify them but I´m not allowed to add components/tools that I really need. I have only Dialog editor tools unlocked. I can compile an run application but When I try to add a form to project I´ll see a message:
You are adding a CLR component to a native project. Your project will be converted to have Common language runtime support.
I´ve googled some information about .NET forms and windows dialogs, but I do not know what to do next. If I choose "yes" (convert project) I cannot compile it anymore.
What can I do if I would like to use a ZedGraph controll to plot graphs from data in this app?
The C# GUI tools are different to the C++ tools (like MFC).
When you try to add C# tools to a C++ project the IDE warns you "You are adding a CLR component..."
Depending on which IDE you are using, when you bring up the resource view (http://msdn.microsoft.com/en-us/library/d4cfawwc.aspx) e.g. with ctrl + shift + E you should be able to find the existing dialogs and double click to edit them.
It seems that ZedGraph is a C# library (from the docs), so you will have to convert into a C# project in order to use it, which will not be straightforward, or use a suitable C++ one.

Change startup form under Visual Studio 2010 Professional for C++ Windows Form Application

For some reason, I can't seem to find a way to do this: changing the start up form for C++ Windows Application under Visual Studio Professional 2010. As many websites have suggested that go into Project\properties\Application\startup from etc. My problem was that I could not find the "Application" or Startup Form anywhere under Project\Properties.
What did I miss?
Thank you.
First, you check the Startup objects setting in your project's properties:
Than, you go to Program.cs and change the default here:
Replace Form1 with any other form you need.
Hope this helps.
You are using the C++ IDE, it doesn't have these kind of goodies. You are supposed to change the code yourself. Double-click the .cpp file that has the same name as your project in the Solution Explorer window. Locate the main() function and change the Application.Run() call:
// Create the main window and run it
Application::Run(gcnew Form1()); // Change "Form1" here