Skip to content

Commit

Permalink
icon
Browse files Browse the repository at this point in the history
  • Loading branch information
xland committed Sep 1, 2023
1 parent 8c0512f commit 0e4ae4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified Doc/Logo.psd
Binary file not shown.
Binary file modified ScreenCapture/Res/Logo.ico
Binary file not shown.
6 changes: 3 additions & 3 deletions ScreenCapture/WindowBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <format>
#include "MainWin.h"
#include "PinWin.h"
#include <thread>
#include "resource.h"

/// <summary>
/// 0 undefined
Expand Down Expand Up @@ -99,8 +99,8 @@ void WindowBase::InitWindow()
wcx.lpfnWndProc = &WindowBase::RouteWindowMessage;
wcx.cbWndExtra = sizeof(WindowBase*);
wcx.hInstance = hinstance;
wcx.hIcon = LoadIcon(NULL, IDI_APPLICATION);
wcx.hCursor = LoadCursor(NULL, IDC_ARROW);
wcx.hIcon = LoadIcon(hinstance, MAKEINTRESOURCE(IDI_ICON1));;
wcx.hCursor = LoadCursor(hinstance, IDC_ARROW);
wcx.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
wcx.lpszClassName = className.c_str();
if (!RegisterClassEx(&wcx))
Expand Down

0 comments on commit 0e4ae4c

Please sign in to comment.