need a way to position NdockingToolbar


Author
Message
JSW W.
JSW W.
Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)
Group: Forum Members
Posts: 127, Visits: 1
Hello
My NdockingToolbar keep changing location after each open/close of VS2008.
Normally each try to stay on it own row and would not stay on the same row as I dragged to.

What would be proper way to set location for instance:

top
row 1: bar1 + bar2 + bar3
row 2: bar4 + bar5

Left
col 1: bar6 + bar7

Bottom
row 1: bar8 + bar9

and these stay the same for each open or close VS?
Thanks
Reply
Angel Chorbadzhiev
Angel Chorbadzhiev
Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)
Group: Forum Members
Posts: 139, Visits: 184

Hello JSW W.,

To be able to distinguish which command is clicked when NCommandBarsManager.CommandClicked fires you can set and then check the ID property of each command in command bars manager. This approach is demonstrated in Command Bars -> Persistency example from example application provided with installation package.

The only way to determine the position is described in this topic http://community.nevron.com/Forum/shwmessage.aspx?ForumID=2&MessageID=3188.

Regards,

Angel.

 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search