This commit is contained in:
WindowsNT351 2025-08-24 18:59:26 +08:00
parent 70f2860221
commit e9baf36447
7 changed files with 20 additions and 4 deletions

Binary file not shown.

View File

@ -129,12 +129,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "351Workshop"
VALUE "FileDescription", "CE-Collections WinNT platform loader"
VALUE "FileVersion", "2.02.RC1.01"
VALUE "FileVersion", "2.02.RC1.02"
VALUE "InternalName", "menu3.exe"
VALUE "LegalCopyright", "Copyright 351Workshop 2022-2025"
VALUE "OriginalFilename", "menu3.exe"
VALUE "ProductName", "CE-Collections"
VALUE "ProductVersion", "2.02.RC1.01"
VALUE "ProductVersion", "2.02.RC1.02"
END
END
BLOCK "VarFileInfo"
@ -176,6 +176,13 @@ END
IDB_BITMAP1 BITMAP "res\\background.bmp"
IDB_BITMAP2 BITMAP "res\\about.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//
IDC_CURSOR1 CURSOR "res\\hand.cur"
/////////////////////////////////////////////////////////////////////////////
//
// String Table

View File

@ -253,6 +253,10 @@
RelativePath=".\res\background.bmp"
>
</File>
<File
RelativePath=".\res\hand.cur"
>
</File>
<File
RelativePath=".\res\menu3.ico"
>

View File

@ -135,7 +135,7 @@ BOOL Cmenu3Dlg::OnInitDialog()
GetDlgItem(IDC_STATICBTN3)->GetWindowRect(&m_rectbtn3);
ScreenToClient(&m_rectbtn3);
SetWindowLong(m_hWnd, GWL_STYLE, WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX);
//SetWindowLong(m_hWnd, GWL_STYLE, WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX);
int iNodeNum = GetPrivateProfileInt(L"0", L"nodeNum", 255, lpPath);
treeStr = new HTREEITEM[iNodeNum]();
@ -306,7 +306,10 @@ void Cmenu3Dlg::OnMouseMove(UINT nFlags, CPoint point)
{
HCURSOR hCursor;
hCursor = ::LoadCursor ( NULL, IDC_HAND );
if(hCursor == NULL)
hCursor = LoadCursor ( AfxGetApp()->m_hInstance, MAKEINTRESOURCE(IDC_CURSOR1) );
::SetCursor ( hCursor );
Sleep(10);
}
CDialog::OnMouseMove(nFlags, point);
}

View File

@ -41,4 +41,5 @@ public:
CRect m_rectbtn2;
CRect m_rectbtn3;
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
};

BIN
WNT/menu3.exe/res/hand.cur Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

View File

@ -9,6 +9,7 @@
#define IDR_MAINFRAME 128
#define IDB_BITMAP1 129
#define IDB_BITMAP2 130
#define IDC_CURSOR1 131
#define IDC_TREE1 1000
#define IDC_EDIT1 1005
#define IDC_STATICBTN1 1009
@ -20,7 +21,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 131
#define _APS_NEXT_RESOURCE_VALUE 132
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1013
#define _APS_NEXT_SYMED_VALUE 101