How to customize toolbar of My ShellView?

绍 张 1 Reputation point
2022-06-30T10:03:28.297+00:00

I implemented a (IShellFoder and IShellView),I want to customize toolbar,but I using IShellBrowser::SetToolbarItem() return NO_IMPLEMENT,
GetControlWindow(FCW_TOOLBAR, &toolHwnd), toolHwnd is Null
SendControlMsg(FCW_TOOLBAR, TB_ADDBITMAP, NULL,
reinterpret_cast<LPARAM>(&tbb), &lhr),return E_FALL
216533-image.png

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,426 questions
{count} votes