diff --git a/WNT/menu3.exe/menu3.aps b/WNT/menu3.exe/menu3.aps index 5d17564..bac39f1 100644 Binary files a/WNT/menu3.exe/menu3.aps and b/WNT/menu3.exe/menu3.aps differ diff --git a/WNT/menu3.exe/menu3.rc b/WNT/menu3.exe/menu3.rc index e184e91..5b5477a 100644 --- a/WNT/menu3.exe/menu3.rc +++ b/WNT/menu3.exe/menu3.rc @@ -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 diff --git a/WNT/menu3.exe/menu3.vcproj b/WNT/menu3.exe/menu3.vcproj index 16b4b6f..cb7e9d9 100644 --- a/WNT/menu3.exe/menu3.vcproj +++ b/WNT/menu3.exe/menu3.vcproj @@ -253,6 +253,10 @@ RelativePath=".\res\background.bmp" > + + diff --git a/WNT/menu3.exe/menu3Dlg.cpp b/WNT/menu3.exe/menu3Dlg.cpp index c39b3b9..8cdbc17 100644 --- a/WNT/menu3.exe/menu3Dlg.cpp +++ b/WNT/menu3.exe/menu3Dlg.cpp @@ -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); } diff --git a/WNT/menu3.exe/menu3Dlg.h b/WNT/menu3.exe/menu3Dlg.h index a8c0bef..348fe71 100644 --- a/WNT/menu3.exe/menu3Dlg.h +++ b/WNT/menu3.exe/menu3Dlg.h @@ -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); }; diff --git a/WNT/menu3.exe/res/hand.cur b/WNT/menu3.exe/res/hand.cur new file mode 100644 index 0000000..3595bab Binary files /dev/null and b/WNT/menu3.exe/res/hand.cur differ diff --git a/WNT/menu3.exe/resource.h b/WNT/menu3.exe/resource.h index 8c55f3e..9981edc 100644 --- a/WNT/menu3.exe/resource.h +++ b/WNT/menu3.exe/resource.h @@ -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