Hi Daniel, I believe this code is correct. It is follows the code recommended for the handling of the TVM_GETITEMRECT message in the Windows API documentation. The code recommended in the Windows API documentation is as follows: RECT rc; *(HTREEITEM*)&rc = hTreeItem; SendMessage(hwndTreeView, TVM_GETITEMRECT, FALSE, (LPARAM)&rc); Kind regards, David
Hi Daniel, Thanks for the suggestion. I've made the change to the code you recommended. You can download the latest code snapshot from the Code section here on SourceForge. Kind regards, David
Updated the browser sample and the CustomControl sample. These now use WebView2 to render the web page.
Updated EdgeBrowser and EdgeBrowserEx samples
Updated EdgeBrowser packages
Hi Kevin, Thanks for the additional information. I've adopted the changes you suggestion to add support for the MF_MENUBARBREAK menu item style. You can download the latest code as a snapshot from the Code section. Best regards, David
Hi Kevin, Thanks for the suggestion. I've updated CWnd::Create to set the window class name as follows: // Prefer the classname specified in PreRegisterClass over the one // specified in PreCreate. The class name will default to "Win32++ Window" // if neither PreRegisterClass nor PreCreate specify a class name. LPCTSTR className = wc.lpszClassName ? wc.lpszClassName : cs.lpszClass; Best regards, David