How to determine which CDockablePane in a group is currently active in Visual Studio 2013

I understand that to activate a pane, I can do the following:
dockablePane->ShowPane(TRUE, FALSE, TRUE);
But, in a group of panes, how can I tell which pane is currently active?
For instance, let's say there are 3 groups of panes on the screen.  The first group contains three tabs captioned "A", "B", and "C".  The second group contains "D", "E", and "F" and the
third group contains "G", "H", and "I".
How would I determine the active pane within each group?  (As an example for reference, within Visual Studio in the left pane group, I can currently see the contents of "Solution Explorer" while "Class View", "Property M...",
"Resource Vi..." and "Team Explo..." are within the same group but not active.  In the bottom group, I can see the contents of "Output" while "Find Results 1" and "Find Results 2" are present but not active".  
In the right group, I can see "MySource.cpp" while "MySource.h" is present but not active.  So, I need to know how to request from each pane whether they are the current tab within their container or not.
Steve

Hi Steve,
Thanks for posting in MSDN forum.
(As an example for reference, within Visual Studio in the left pane group, I can currently see the contents of "Solution Explorer" while "Class View", "Property M...", "Resource Vi..." and "Team Explo..."
are within the same group but not active. In the bottom group, I can see the contents of "Output" while "Find Results 1" and "Find Results 2" are present but not active". In the right group, I can see "MySource.cpp"
while "MySource.h" is present but not active. So, I need to know how to request from each pane whether they are the current tab within their container or not.
This scenerio in your example, we don't need to know the current tab within which tab group. Actually I don't understand why do you need to know that? If you are using
AFX_DOCK_TYPE::DT_SMART   model dock pane, the dock pane should be implemented in a internal MFC
CSmartDockingManager
class and it is not intended to be used directly from your code. . You could read the source code of this class at VS installed path-> VC->altmfc->src->mfc->afxsmartdockingmanage.cpp
For the dock pane layout in VS interface, I remember there is a sample named Visual Studio Demo sample in Visual C++ 2008 Feature Pack. You can download it at here.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/b4e6cb6e-e2a8-4e02-9c67-0dc431618157/visual-c-2008-feature-pack-samples-where-to-find?forum=vcgeneral
And the dock pane control implements the core functionality that controls docking layout in a main frame window by CDockingManager class.
https://msdn.microsoft.com/en-us/library/bb983791.aspx
A greate article about using CDockablePane:
http://www.codeproject.com/Articles/493218/Understanding-CDockablePane
Please tell us more details about what you want to do.
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • 5s How to determine which version of operating system is currently installed

    How can I determine which version of the operating system is currently installed in my 5s without having to go to iTunes using my PC?

    Tap Settings > General > About.

  • How to control which Configuration File a package Opens with in MS Visual Studio 2008 ?

    When running our jobs, I know which Configuration File is being used, as it's specified in the path.
    But when opening SSIS Jobs in MS Visual Studio, lets say there is four different Config files.
    How do you control which one is used when you are working with the job in Visual Studio?
    For example in the above screen, you can 'Add' or 'Edit' or 'Remove' Configurations but you can seem to say
    "Reload this package with x Configuration", or "Select this particular one at the moment" for instance?

    The configuration file mentioned last in the above screen is the one loaded last and the values of this file are applied. You can specify the sequence of the file with the arrow buttons on the right in case if you want a different config file to be loaded
    in development and then change them back when you are deploying the package as a job. 
    Surender Singh Bhadauria
    My Blog

  • How to hide gray borders in Crystal reports Visual Studio 2013

    Hi All,
    I have a web application in ASP.NET 2013.
    I'm using latest developer version of Crystal reports.
    When I run the report, I see gray borders around the actual report.
    This was not the case with Crystal reports in Visual Studio 2005.
    How can I hide these gray borders in Crystal reports ASP.NET Visual studio 2013?
    Please see the attached image for more info.
    Thanks,

    Hi Anurag
    Please see if this KBA will help:
    1344534 - How to change the documentView for a Crystal Report web viewer
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to determine which elements are queryable via Web Services QueryPage

    I am trying to query opportunities by associated opportunity product revenue records, but I continue to receive errors like "Unexpected text: = '9598015'".
    From reviewing the forums, it looks like this is when I am querying a field that is not defined to be queryable.
    Could someone please tell me how to determine which fields are queryable on a particular record type like this? I have tried using basic short text fields and indexed short text fields - but continue to receive the error message above.
    Thanks in advance.

    I found at least partial answers to my questions.
    MessageContext.getPropertyNames() can be used to see the properties on a given flow.
    MessageContext.getProperty(prop) can be used to get information for paroperties such as:
    prop=javax.xml.rpc.service.endpoint.address
    prop=wsdl.portName
    -- Frank

  • How to determine which chipset my Satellite L300/700 has?

    I have a SATELLITE L300/700 (PSLB8A-047004). The User Guide covers several models. It indicates that the chipset determines which memory modules I need for a memory upgrade. How do I find out which chipset I have, please?
    Kev.

    > I'm still curious about how to determine which chipset I have - any thoughts?
    Go to the device manger and click on IDE Ata/Atapi controllers:
    http://img814.imageshack.us/img814/7321/chipset.jpg
    There you will see your chipset installed on your laptop. In my case, as shown on the screenshot is Intel ICH9m

  • How CSSCAN determines which indexes need to be rebuild ?

    Hi everybody,
    i'm currently migrating 3 Oracle databases that contain CP1252 characters unproperly stored in WE8ISO8859P1 instances.
    The key steps of the migration are :
    1. ALTERing CHARACTERSET to WE8MSWIN1252
    2. changing CHARACTER SEMANTIC LENGTH for CHAR and VARCHAR2 columns
    3. truncating data stored in VARCHAR2(4000) columns
    2. Full export
    3. Full import in a ALL32UTF8 instance
    To do all of this (and especially the step 3), i use the CSSCAN utility (very practical !!!).
    And i have a question about CSSCAN: how CSSCAN determines which indexes need to be rebuild. What is the logic ?
    Looking at the CSSCAN report, i have a lot of cells/columns that are affected by the characterset migration, and i have just a few index to rebuild.
    Why would i like to understand the logic ? Because i would like to rebuild ONLY indexes that REALLY need to be rebuilt and i am not sure that all the indexes specified by CSSCAN really need to be rebuilt.
    Thanks for any information about that.
    (and sorry for my english)
    NB: i have managed "function-based indexes" specifically: i drop them before the export, and i recreate them after the import. So my question mostly target the "regular indexes"

    1. All indexes whose key contains at least one character column with convertible or exceptional data, excluding indexes with names equal to some constraint name for the same owner.
    plus
    2. All functional indexes on tables that have columns needing conversion, excluding indexes with names equal to some constraint name for the same owner.
    The condition regarding constraints does not seem to be very fortunate but it comes from times when the appropriate flag in index metadata was not yet available.
    But note that in your migration scenario, you do not actually have to care much about indexes. Step 1 & 2 do not need any modifications to the user data and hence to index contents. Step 3, if done through UPDATE, will modify affected indexes automatically. Step 4 does not affect the database. Step 5 will recreate all existing indexes anyway.
    -- Sergiusz

  • How to determine which item is currently in focus

    Is there a quick javascript way of determining which element on a page is currently in focus??

    You tend to complicate things :-)
    What you seem to want is: User is typing in some text field, clicks the Submit button, you would like the page to refresh and focus to return to the same text field so the user can continue typing as if nothing has happened?
    Then why do a traditional page submit? This seems like a perfect use for the AJAX stuff. Just do the stuff in the background instead of going thru all these hoops to save and restore focus.
    Also, it makes (some) sense for text fields, but what use does this feature provide for other input elements like checkboxes and radiogroups and select lists?
    What functionality are you trying to provide exactly?
    was just thinking about a quick and easy way of setting scrollbar position
    on page refreshYou mean having the page refresh and scroll down to some pre-determined point instead of at the top?
    This is best done by using named anchors. Just capture the item name that causes the page to submit in a hidden page item and add it to the same-page branch using the
    f?p=...#&P1_ANCHOR.syntax.
    Just sprinkle your region and label templates with these named anchors and you are done.
    Hope this helps.

  • How do I put a project using nmake (or other make util) into a visual studio 2013 project?

    I'm not asking how to convert it over to visual studio's internal setup.  I want to use the custom build feature to build the code prior to building the current project so that the library generated will be available to the project.
    Steps I've used I got from
    here:
    Create a win32 dll project.
    Copy the files into a subdirectory under the project.
    In the Solution Explorer, I create a Filter that I then add all of the source, headers and Makefile to.
    I select all of the items in that filter group and right click and select properties.
    In Configuration Properties->General, I change Item Type to Custom Build Tool and click Apply. (In the Visual Studio 2013 community, this sometimes comes up with:
    An error has occured while saving the edited properties listed below:
    One or more values are invalid. Object reference not set to an instance of and object.
    Yeah, that's not cryptic. 9.9.  When that happens, I just click Ok and then click on the parent window, and it will ask me
    Do you want to save the changes you've made to the property page?
    To which I click Yes and it seems to apply it to all the files and I then reopen the property page again.
    I then go to Configuration Properties->Custom Build Tool->General and set
    Command Line to:
    cd subfolder
    nmake
    For Outputs, I set it to subfolder\bin\output-file.lib.
    For Link Objects, I leave it as Yes.
    Clicking on ok and then building gets me the following error:
    LINK : fatal error LNK1104: cannot open file 'subfolder\bin\output-file.lib'.
    Yeah, no kidding, it hasn't been made yet.
    What am I doing wrong? Thanks for your help.
    A
    Adrian

    I was trying to get it to be part of another project, and the information from Specifying Custom Build Tools stated:
    If the Custom
    Build Tool folder does not appear, the file extension of the file you selected is associated with a default tool. For example,
    the default tool for .c and .cpp files is the compiler. To override a default tool setting, in the Configuration
    Properties node, in the General folder,
    in the Item Type property,
    click Custom Build Tool.
    Click Apply and
    the Custom Build Tool node
    is displayed.
    Indicating that what I was trying to accomplish could be done.  However, since this is 3rd party code, this seems to be a cleaner way of doing it.
    Thanks,
    A
    Adrian

  • How to configure a proxy server for Windows Azure Tools in Visual Studio 2013

    Hi Visual Studio/Azure Tools team
    I would like to use the Windows Azure tools in Visual Studio 2013 to manage my Azure Web sites (Server Explorer -> Windows Azure -> Web Sites) from within my corporate network which is secured using a proxy server. Unfortunately, I am not able to use
    the Windows Azure tools since the required HTTPS connection to windows azure is not going through the default configured proxy. Instead, Visual Studio tries directly to connect to port 443 which is blocked by our corporate firewall (and yes: there is no way
    around using our proxy server). Other visual studio features like NuGet, updates, etc. work fine and use the configured proxy server. 
    So my question: How can I configure visual studio respective its Azure tools to use a proxy server instead of a direct connection? I already tried configuring the proxy server within the file devenv.exe.config but this doesn't show any effect for Windows Azure
    tools.
    Regards
    tschaena

    As we have very similar problems I consider the found solution a work arround an existing problem which will not work if corporate FW policy does not allow such changes.
    In my mind, any tools in charge of dealing with some sort of FW protocols should deliver the following information, should make it absolute clear how to setup that the request packages are setup rigth at the first time.
    a) proxy server
    b) proxy port
    c) proxy user
    d) proxy users-password
    e) proxy.auth.Preference="BASIC"
    And for moste tools (including Visual Studio and AZUR Tools) it is absolut unclear
    a) how to setup that on a per tools basis
    b) OR who inherits this information from whom    i.e. use the same as IE does, what if we use FireFox or any other browsers?
    I understand that developers requested to cure such problem areas will often have difficulty to gain all required elemenst used to realy test the solution.
    But I can tell you: I loos more time figthing down the FW setups for my clients. WHat I do at home in a sniff, takes ages to be realised by all the various clients on the market where each has to deliver the same sort of information but actually does not,
    or has it just somewhere, but not in the vicinity of the demanding user.
    Good examples i.e. NetBeans IDE where the Option Menu shows very clearly what information is required to pass through a FW/Proxy; but even there, the hint to start with a BASIC authentication schema is not part of this OPTION menu and must be added a JAVA
    environment value. But at least, it works.
    Sepp

  • How do I make Visual Studio 2013 use my dedicated graphics card instead of integrated graphics on my laptop?

    I am using Alienware 13 as a portable workstation. I do game development on Unreal Engine 4 using Visual Studio 2013. The issue I am having is that when I want to debug codes in Visual Studio 2013, it launches Unreal Engine 4 through the debugger and uses
    the integrated graphics card rather than my dedicated graphics card, which is an nVida Geforce 860M.
    When I wanted to change the settings in the NVidia Control Panel, I see this:
    The drop-down menu is grayed out, so I cannot select to change the graphics card to my dedicated card.
    What should I do? How do I make it so that Visual Studio uses my dedicated card? Thanks in advance.

    Hi tom_mai78101,
    Thank you for posting in the MSDN forum.
    It seems that it is not the correct forum for this issue, since this forum is to discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    As you said that you want to change the setting so that Visual Studio uses your dedicated card in NVidia Control Panel, since this NVidia Control Panel is third-party tool, we are not support it. So please post this issue this issue directly
    to this NVidia Control Panel Official website:
    http://www.nvidia.com/object/nvidia-communities.html , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I use infopath 2013 with visual studio 2013 to modify forms with code?

    Dear all,
    I am using sharepoint online and infopath 2013, I wonder how do I edit infopath 2013 forms with visual studio? When I try to edit form code it says  I need visual studio 2012 and some other tools, I installed them and visual studio 2013, I wonder how
    do I get rid of the message and start coding? Can someone provide a detailed procedure of doing so? I am having trouble with creating multiple items with single infopath form with repeating table on sharepoint online. Thanks.
    Timothy

    Hi,
    According to your post, my understanding is that you want to create InfoPath form with code using Visual Studio.
    More information about develop InfoPath form with Visual Studio:
    http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/aa942693.aspx  
    For the second question, I suggest you can create another post , it will be easier for others to focus on one question in one thread.
    Best regards

  • How to get Crystal Reports Editor in Visual Studio 2013 Preview?

    In Visual Studio 2005, if I double-click a *.RPT file in Solution Explorer, the file opens in the Crystal Reports editor.
    In Visual Studio 2013 Preview, if I double-click a *.RPT file, it opens in Notepad.  How do I get it to use the Crystal Reports editor again, please?
    Thanks and RICKgards
    Rick Raubenheimer

    Hi Rick,
    Since Visual Studio 2013 is still Preview version, I don't think you can find  something like this:
    SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012
    Please notice that you will need to install additional packages for latest VS version, such as Visual Studio 2010 and Visual Studio 2012,
    For more details, please reopen a new case on this forum:
    http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    Or contact SAP for support since it is a third party feature to Visual Studio.
    Best regards,
    Barry Wang
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • I've installed Visual Studio Enterprise 6.0, Which edition of Visual Studio 2013 does the i need to purchase as the legalization for Visual Studio Enterprise 6.0?

    I've installed Visual Studio Enterprise 6.0, Which
    edition of Visual Studio 2013 does the i need to purchase as the legalization for Visual Studio Enterprise 6.0? 

    Hi,
    Here is a topic for MS Visio forum, you'd better post your question to Visual Studio forum.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral&filter=alltypes&sort=lastpostdesc
    Thanks for your understanding.
    Regards,
    George Zhao
    TechNet Community Support

  • How do I enable parent paths in Visual Studio 2013?

    I am converting a classic ASP site to a Visual Studio 2013 MVC. When I run the ASP code inside of the Visual Studio 2013 debugger I get the following error message. How can I enable parent paths in 2013? 
    Active Server Pages error 'ASP 0131'
    Disallowed Parent Path
    /prospect/contact/contact_search.asp, line 33
    The Include file '../menu_inc/contacts.inc' cannot contain '..' to indicate the parent directory.
    

    I discovered the answer myself.  Here is how I did it.
    I opened Task Manager and saw that Visual Studio was running processes of IISExpress for the web server functionality.
    I clicked on Start and entered IISExpress to find out where it was installed. To my surprise, but an obvious choice, it was located in documents.
    I opened the C:\Users\Mike\Documents\IISExpress\config folder then opened Notepad as an administrator.  I then opened the applicationhost.config file and under the <system.webServer> element there is an <asp> element. I modified it
    to read. <asp scriptErrorSentToBrowser="true" enableParentPaths="true">
    I then opened by MVC solution and ran the Classic ASP program without any problems.  Everything works!

Maybe you are looking for