Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Shortcut Bar
  New Posts New Posts RSS Feed - [SOLVED] Refresh after RemoveAllItems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Refresh after RemoveAllItems

 Post Reply Post Reply
Author
Message
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post 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#

---------
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post 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#

---------
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.145 seconds.