|  | 
| [SOLVED] Refresh after RemoveAllItems | 
| Post Reply   | 
| Author | |
| iamgtd   Senior Member     Joined: 25 February 2009 Status: Offline Points: 131 |  Post Options  Thanks(0)  Quote  Reply  Topic: [SOLVED] Refresh after RemoveAllItems Posted: 15 September 2009 at 9:38am | 
| 
   In the case that all items in the ShortcutBar are removed, the client pane area shows always the associated form of the last shown item. How can I clear the client pane area? The Refresh method effects nothing. 
 wndShortcutBar.RemoveAllItems(); wndShortcutBar.Refresh(); | |
| 
     --------- OS: Win 10 64 bit Codejock Version 22.1 ActiveX MS Visual Studio 2022 - C# --------- | |
|  | |
| iamgtd   Senior Member     Joined: 25 February 2009 Status: Offline Points: 131 |  Post Options  Thanks(0)  Quote  Reply  Posted: 16 September 2009 at 1:54am | 
| 
   I found a solution:
 ShortcutBarItem item = cjShortcutBar.FindItem(id); item.hWnd = 0; cjShortcutBar.RemoveItem(id); | |
| 
     --------- OS: Win 10 64 bit Codejock Version 22.1 ActiveX MS Visual Studio 2022 - C# --------- | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |