0

I have a deskband based on the MS sample. It shows as an item via right click taskbar, toolbars. I find that when initially opened it's using the DBIM_MINSIZE instead of the DBIM_ACTUAL size. Why is that?

What is the appropriate way to set the initial width (bonus, when the deskband is closed (remove checkbox from toolbar) then opened again, how do you have it use the prior width)?

TIA!

df234987
  • 513
  • 2
  • 13
  • Are you aware deskbands are a legacy technology? – Simon Mourier Nov 13 '19 at 21:20
  • You may want to use thumbnail toolbars in new development in place of desk bands, which are not supported as of Windows 7. (From document of [IDeskBand interface](https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-ideskband?redirectedfrom=MSDN)) – Rita Han Nov 14 '19 at 01:29
  • There is no replacement for the deskband in how I need to use and how everyone will want to use it. – df234987 Nov 14 '19 at 07:03
  • Maybe (we don't know what you need in the first place), but that doesn't change the fact it's legacy (not supported, may not work, etc.) – Simon Mourier Nov 14 '19 at 10:28

0 Answers0