Q1. The control with a Tab Index of 0 is the default.
Q2. Yeah, it can be tricky to make nice custom controls like that. If you want something similar quickly, I would suggest using a ListView, with the View property set to large icon. Then specify an image list for images, etc. You wont get the same effect though, but it will be pretty good I think.
In terms of the docking, if you want people to drag your ListView around and dock it, you will have to write your own code. In this case I would create my own custom control, and have the ListView on the custom control, and all the dragging code with respect to the custom control, not the listview. That way you can have picture boxes on the custom control for the little close button and stuff like that. Still, it's a fair amount of work ahead of you if that's what you are after.
Have you looked for a custom control on the net somewhere?
Q1. I don't think it would work that way. Because the first control I have on my form is a text box which should have the focus first so its TabIndex i s0. The OK button which I want to be a default one is at number 10. So if I make this button's TabIndex 0 then the focus will shift to it when the form loads. Plus it will also mess up the order of TabIndex.
Q2. I will look into it.
Q3. In the right pane in both the pics you will find two objects/icons J WILLIAMS and R COLLINS. How can I use like these one in my VB.Net application?
Q4. How can I use any 3rd party component that I have added in my Vb.Net project? For example if I download a control named XPStyleMenu and add its reference by right clicking on the project and then Add Reference. But it doesn't show up in the Windows Forms tab on left side where there is a list of all built in controls like Button, Label, TextBox e.t.c. How can I add the control on my form/
In VB6 when you add a new component then it automatically shows up in the Toolbar which is on left side.
Yeah, usually custom controls come up in the Toolbox panel under Windows Forms. If it's not there, you can always add them manually by right clicking on the toolbar and selecting "Add/Remove Items..." and browse to the class library. Or you can add the control at runtime. To do this click on the new reference in your Solution Explorer (accListBar), and press F2 to see the object explorer for that item - then you can see the Namespace etc that the control resides under.
Then you could do something like this in the Form_Load() sub:
Dim xx As New vbAccelerator.Components.ListBarControl.ListBar
xx.Dock = DockStyle.Left
You can do this with every control. eg:
Dim xx as New Button