Home » Asp.net

why we have pointer for each tab in toolbox?

For every tab as first control in tab,we have "pointer".

what is the use of that?

why we have it each tab?

why we have it first in every tab?

Thanks in advance


6 Answers Found


Answer 1

The "pointer control" is just a usability feature from long ago.  All it really does is to not select any control, i.e. return you to just the regular mouse pointer.  It's included in every category, so that it always shows if you're using the Toolbox. 


Answer 2

what is the use of this control?

how can i use it  in my application?


Answer 3

It is not a control.  It simply clears the current selection in the Toolbox. 


Answer 4

first of all thanks to your replies

1)it is not a control. it's clear.

2)"It simply clears the current selection in the Toolbox"

what is the meaning for the above statement your posted.

if i drag and drop "TextBox" from tool box what this pointer  will do at that point.

will it perform any operation internally.


Answer 5

It will not do anything. 


Answer 6

what is the use of that?

It clears the current selection of the control  in category corresponding to that pointer. If you select LinkButton and hit enter, control will be automatically added to the form. Ponter helps to prevent that kind of accidental insertion of control.



Every time I try to add a new tab to the toolbox and then choose new items, Visual Studio 2008 final crashes and has to be re-started.  I've tried to add items to the new tab several times and VS 2008 crashes every time.  Anyone else had this problem and might be able to help me correct it?

I am trying to create a report using vb.net 2008 but the report tab is not there,how do i find it?

I migrated a DSL project from VS2008 to VS2010. Some of my toolbox items used to show up under the 'General' tab (I simply named the tab 'General' in the DSL). But now in VS2010 I have to 'General' tabs in my toolbox.

Is there any way to place my toolbox items in the VS General toolbox tab?



I have a WPF Project in which i have the design ready and now when i am trying to data bind it,

i find the items in Data Tab in the ToolBox garyed out.

I tried everything as mentioned in this post.


the devenv did not changes.

I could not find the Toolbox.tbd files. Yes i checked for hidden files everything but can't find them in my system.

But nothing works.

Is this some kind of expected behavior or something else ?


When building a user control, how can you make it create a cutom tab in the toolbox when you install it to visual studio and how do you set the description shown when you hover over the control in the toolbox? Do you have to make an install package to do this?




For every tab as first control in tab,we have "pointer".

what is the use of that?

why we have it each tab?

why we have it first in every tab?

Thanks in advance


Hello all.  First off, thanks to the VSX folks for making extensibility in VS 2010 easier than previous versions.  Great stuff.  Having said that, I'm not using much of it for this particular scenario.  I couldn't figure out how to get the default VSX templates to work for a set of custom Silverlight controls/assemblies and a set of custom templates, so I bailed and used WiX to create the registry key for VS and Blend to interrogate for Toolbox items (SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\MyProductName).

My question is this:  Is it possible to have VS install the controls into a custom tab using this approach, or is another approach needed?  Is it possible to use the registry key approach and have VS interrogate a package installer to define the controls to create and the tab for it go in?  In other words, does VS look for a package with the PackageRegistrationAttribute, or does it ignore this for the registry key approach, or just fall back to default behavior if a package is not found.

I hope that question is clear.  Thanks for any insight you can provide, team.

Best, David


Hi All: I was trying to install the AjaxControlToolkit 4 on Win7Pro with VS2010 and VWD2010 installed. I thought I followed the installation instructions properly: open toolbox, right-click to add a new tab, "choose items" and browse to the ajax dll.

Now all my toolbox tabs are gone, except for "General", which is empty. I've tried resetting, reinstalling VWD (which reinstalled .NET4 framework, etc.), deleting all the "TBD" cache files, rerunning "setup" and "resetdefaults" from the command line, but nada...everything is still gone.

If I select "choose items", all the familiar toolbox controls show up with checkmarks, but they are missing from the toolbox itself. If I select "show all" everything missing shows up, but is greyed out.

I must be missing something simple, but as the hours tick by I'm just running into the same recommendations over and over. Any hints?


I installed VS2010 professional on on a clean Windows 7 laptop.

I opened VS2010 and selected an existing Framework 3.5 project solution that I knew used charting. The conversion wizard seemed OK. However, on the Toolbox under the Data tab, there is no entry for "Chart" as several sources suggest this where it should be. There is also an error message objecting to "Imports System.Windows.Forms.DataVisulaization.Charting". Can anyone please tell me what I have to do to put this right? Is it a missing dll? 


Hi everyone.

I'm writing a small C# utility that communicate with a WIN32 API (more specifically, the WOSA/XFS manager as defined in CEN/CWA 15748 Part 1).

In this WIN32 API, command results are reported back to the consumer via pointers to specific structs (each command has its own); these structs may contain among the other data pointers to other structs and pointers to NULL-terminated arrays of pointers to structs.

Marshaling using PtrToStructure works fine, but I got stuck on the pointer to pointer... problem.

In C/C++ that would be easily solved by dereferencing and pointer arithmetics.

This is a sample of one of these structs, in which you can see the lppPositions member defined as WFSIPMPOS** (WFSIPMPOS is another struct, containing WORDs; but generally it may contain any combination of data, arrays, ptr to arrays, ptr to NULL-terminated sequences of ptrs etc.):



struct _wfs_ipm_status



Thanks in advance for any help/suggestions.



WORD fwDevice;

// other data

LPWFSIPMPOS *lppPositions;


LPSTR lpszExtra;

// etc. etc.



I am quite new in ATL and want to know how can I access the following function, which is implemented in ATL, through VB in VS 2008.


Currently from VB I am trying to access this function as shown below but getting an exeption "Attempted to read or write protected memory"

Dim val As System.IntPtr




- Specify the kind of extension Isolated shell

- Specify the Visal Studio version (and service pack) that you are using :

Visual Studio 2008

- Specify the Windows version : Windows XP

- Describe accurately the problem : I am adding toolbox items this way at the moment:



staticvoid fillToolbox( IAcfStencil stencil,


Action<IAcfStencilPart> actionStencilProcessed,


IVsToolbox toolbox,


IToolboxService service,


IServiceProvider srvProvider)





var clipboardTemplate = newOleDataObject();


typeof( IAcfStencilPart ), stencilPart );


// Create the array of TBXITEMINFO structures to describe the items we are adding to the toolbox.


var itemInfo = newTBXITEMINFO[1];

itemInfo[0].dwFlags = (




itemInfo[0].bstrText = stencilPart.Name;

itemInfo[0].hBmp =

ControlPaint.CreateHBitmap16Bit( stencilPart.Icon, Color.Magenta );

itemInfo[0].clrTransparent = (

uint)ColorTranslator.ToWin32( Color.Magenta );


toolbox.AddItem( clipboardTemplate, itemInfo, categoryName );

But I saw that it is possible to specify a f1 help keyword by using a ModelingToolBoxItem. But the following code doesn't work:




"DslEditorToolboxItem", // Unique identifier (non-localized) for the toolbox item.


// Position relative to other items in the same toolbox tab.


// Localized display name for the item.


// Image displayed next to the toolbox item.


"DSL Editor ConfigurationToolboxTab", // Unique identifier (non-localized) for the toolbox item tab.


// Localized display name for the toolbox tab.


// F1 help keyword for the toolbox item.


// Localized tooltip text for the toolbox item.


null, // ElementGroupPrototype (data object) representing model element on the toolbox.


newToolboxItemFilterAttribute[] {} // Collection of ToolboxItemFilterAttribute objects that determine visibility of the toolbox item.

), categoryName);


 I don't understand how to create a ElementGroupPrototype.

- Specify the .NET language .C#

- Specify if the problem happens on the developer machine or on the end user machine : developer machine


I have installed Visual C# 2008 on my computer and everything seems to be fine apart from one problem that I can't seem to solve no matter what I do. I was hoping that someone can perhaps help.

The problem is that I try to choose toolbox items (from tools tab) it gives me an error message on the .NET framework components tab...'an error occurred loading this property page'.
Also when I access the properties window through 'view' the properties page seems not to be complete with certain icons not there (such as AZ alphabetical sort, events, categorized etc).
I have tried reinstalling .NET framework(dotnetfx35.exe), updated it, reinstalled C# but absolutely nothing works.

Please give me some advice if possible

Kindest regards


I have searched the forum and I cant seem to find the answer to my question, although I have tried some of the hints I have found with no luck....

Can someone show me a working sample (with source code) of a page with a TabContainer and several tabs, with each tab having a user control, but the controls are not added/initialized/shown until the appropriate tab is shown/clicked?

Something like this forum's "Write a New Post" page, where the tabs load after I click on them, and an animated picture displays to show that its loading.

The solution needs to add user controls to the page, not just html into a dynamic populate extender.

I have one user control per tab, and is linked (ala master-child relationship) to the page using a property. My user controls perform long-running web service queries, and I dont want to waste database/computing resources loading content into a tab that the user will never look at.   Right now, all tabs load their content when the page loads, even though the first tab is only shown.

As mentioned above, sample code for the page (.aspx and .cs) and the user control (.ascx and .cs) would really help.




I want to create a custom tab in the ribbon that is visible when the Page tab is visible. Is this possible?



Hi, I have the same problem as this fellows description below. Any suggestions? Cannot switch between tabs of a tab control at design time

06-11-2010 4:21 PM |

Hi. I'm using a tabcontrol with some tabs. it works fine in the navigator but in design time a cannot switch between tabs to insert content in graphic mode. When i have created this tabcontrol, i could move me across the tabs. Now when i click the tab it jump the possition in the xaml code but not in the Design. Whats happening? Thanks in advance.


I have an owner draw tab control where the active tab's title is displayed in a bold, blue text.  The inactive tab's text is displayed in basic black text.  Code below:

Sometimes the text will be too big to fit on the tab, so it is not fully visible, due to being bold.  How do I make the width of the tab bigger to accomodate the wider text.





TC_ITEM tci;

CDC* pDC = CDC::FromHandle(lpDIS->hDC);

CRect rect(lpDIS->rcItem);


char szTabText[256];


'\0', sizeof(szTabText));

tci.mask = TCIF_TEXT;

tci.pszText = szTabText;

tci.cchTextMax =

sizeof(szTabText) -1;

GetItem(lpDIS->itemID, &tci);


if (lpDIS->itemAction & ODA_DRAWENTIRE)



pDC->TextOut(rect.left + 5, rect.top + 5, tci.pszText);



if ((lpDIS->itemState & ODS_SELECTED) &&

(lpDIS->itemAction & (ODA_SELECT | ODA_DRAWENTIRE)))



//Make the color of text of the selected tab to be BLUE & bold.


CFont* pFont = pDC->GetCurrentFont(), boldFont;


lf.lfWeight = FW_BOLD;




pDC->SetTextColor(RGB(0, 0, 255));

pDC->TextOut(rect.left + 5, rect.top + 5, tci.pszText);






How to align the tabs of Tab Control to right.
I tried setting the Alignment but that didn't work as the text is oriented vertically.
Can any suggest me in setting the Tab Control's tabs to the right and oriented horizontally.

Thank You


How to align the tabs of Tab Control to right.
I tried setting the Alignment but that didn't work as the text is oriented vertically.
Can any suggest me in setting the Tab Control's tabs to the right and oriented horizontally.

Thank You

Hi there,

I developed a first web application in PHP where a user fills a 5-step form. Then, an hostess checks those data. If OK, the hostess have to copy/paste those data from the PHP application into another web application, in 2 different tabs within IE.
What you should know about the second application :
 - I don't have any access ;
 - they refused any databse insertions ;
 - they refused any web service, data flow or import ;
My only alternative is copy data from a web application in a IE tab to a second web application in an another IE tab.

I know, it's insane and I'm pretty sur I gonna meet some security troubles but I'm not familiar with Microsoft technologies and I just have 1 week to do that...  I saw that BHO allows the DOM manipulation so it seems a good start but can I share informations between 2 tabs?

Anyway, if somebody knows or just have a little idea of how to do that... Please, gimme a tip!



<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure