我的机器上同时安装了Visual Studio Code和Visual Studio 2017。VSCode曾经有一个橙色的图标,它很棒,因为我可以很容易地区分它们,但从我读到的内容来看,他们改变了它,因为人们不喜欢它看起来有点像Sublime text。所以他们选择了蓝色,几乎和VS2017图标一模一样。
我是色盲,所以这带来了一个问题。显然,VS2017更像是一种深蓝/紫色,而VSCode是一种浅蓝色(同样,我也说不清)。如下所示,vscode在右边,vs2017在左边。当然,在这种缩放级别,vscode在无穷大符号上也有缺失的一面,但在4K显示器上几乎看不到工具栏图标。
如果可
我正在开发一个vs-code扩展,我想在其中设置图标的状态栏,但我面临的问题。 import * as vscode from 'vscode';
...
export function activate(context: vscode.ExtensionContext) {
...
let disposable = vscode.commands.registerCommand('extension.helloWorld', () => {
....
//on the place of
我有一个动态创建的CWnd窗口,标题栏区域和任务栏的图标似乎是随机选取的。
要设置图标,我调用:
// Set the icon for this dialog. The framework does this automatically when the application's main window is not a dialog
m_hIcon = AfxGetApp()->LoadIconW(IDI_ICON);
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE);