Using C++ to create a structure chart designer

I am trying to use C++ to design a structure chart program that will let you enter in names of functions into a sidebar and as you enter a name into the first slot two things will happen: another blank slot will appear below the one you are typing
in and a text box (shaped to the size of the text inside) will appear in the main area allowing the structure chart to expand. Another part will be to put some kind of tab on the text entry slots so that you can add different lines to any other function boxes
including main() and allows you to put the variable names that are being passed in and out of functions on or near the lines that go between them all. It will basically be just what you would expect out of a structure chart, just automated and neat.
Let me know if there is any advice or help you can give me as I start this program. 
Thanks in advance!

Hi TylerSong55,
Thank you for posting in MSDN forum.
I think the pvdg42's suggestion is right, so we will move this case to this C++ forum, you will get better support.
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.

Similar Messages

  • Use Applescript to create folder structure from Numbers document

    Hello All,
    I know this is possible and I am feeling close - I just couldn't find a post that addressed the issue I am having exactly. Essentially I have a client list with 211 business names in it. I am trying to create a script that will scan the first column of my Numbers document and create a folder structure from that list. I found a post on another website that gave me a rough template and this is where I am at:
    set destinationFolder to "MacHD:/Users//Documents/Work/Customers/:to:folder:"
    tell application "Numbers.app"
              set theCells to value of range "A1:A211" of active sheet
    end tell
    repeat with oneCell in theCells
              tell application "Finder" to make new folder at folder destinationFolder with properties {name:item 1 of oneCell}
    end repeat
    When I run this I get "Expected end of line but found class name." and in the result window it display "
    error "Can’t get value of range." number -1728 from «class NMCv» of «class NmCR»"
    I am completely new to this and don't really know how to debug. Any help would be appreciated! Thank you so much!
    Adam

    Here is an enhanced version which no longer use a loop to extract the selected values.
    --{code}
    set destinationFolder to "MacHD:/Users//Documents/Work/Customers/:to:folder:"
    tell application "Numbers.app"
              set theCells to value of range "A1:A211" of active sheet
    end tell
    repeat with oneCell in theCells
              tell application "Finder" to make new folder at folder destinationFolder with properties {name:item 1 of oneCell}
    end repeat
    set destinationFolder to "" & (path to desktop) & "  dossier"
    Select the range of source cells then run the script *)
    Grab parameters describing the selected cells *)
    set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    Extract the names from the selected cells *)
              tell column colNum1
                        set theNames to value of cells rowNum1 thru rowNum2
              end tell -- column
    end tell -- Numbers
    I always do my best to use System Events which is faster than the Finder *)
    tell application "System Events"
              repeat with aName in theNames
                        try
      make new folder at end of folder destinationFolder with properties {name:aName as text}
                        end try
              end repeat
    end tell
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parle_anglais()
              return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_anglais
    --=====
    --{code}
    Here is an alternate version of the piece of code extracting the values :
    --{code}
    Grab parameters describing the selected cells *)
    set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    Extract the names from the selected cells *)
              set cell1 to name of cell rowNum1 of column colNum1
              set cell2 to name of cell rowNum2 of column colNum1
              set theNames to value of cells of range (cell1 & ":" & cell2)
    end tell -- Numbers
    --{code}
    Yvan KOENIG (VALLAURIS, France) mercredi 25 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Portal error while using BI template created by Web appliaction designer

    Hello Guys,
    I am getting error
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 03:58_20/08/08_0031_7258650
    See the details for the exception ID in the log file.
    while checking template from BI menu . And if i am using option Publish to portal i am getting Portal Home page .
    Please suggest me a solution .
    Regards
    Nilesh Vakil

    good

  • Can we use global structure while designing a query on  a multiprovider

    hai friends,
                     If i build a multiprovider on cubes for which the query design  on those cubes contains global sturctures ,
    Can i use those global structures while designing a query on a multiprovider (which contains those cubes)

    Hi Vamsi,
    The structure from the base cubes will not automatically be available for the queries created on the multiprovider. The only way to get the structure there is to copy a query from the base cube to the multiprovider. You can use transaction RSZC to do this.
    Hope this helps...

  • How to create two structures in query designer?

    Hi experts,
    I got the requirement to create 2 structures in query designer , as far as i concern i got to know that there will be chance to create on one for char and other for key figure,
    is their any chance to create 2 structures on key figures.
    If possible please help me in that.
    Thanks in Advance
    vas

    Hi,
    in Query at a time only 2 structures can be used, even thought there are many structures created on that infoprovider.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/4d/e2bebb41da1d42917100471b364efa/content.htm]

  • How to create custom structure in smart forms & use them in interface

    hi experts....
    can anyone tell me how to use  custom structure in
    form interface (parameters) without creating any structure
    in the dictionary.

    Hi Shrama,
    If you want to use the structure in interface. You have to create structure in dictionary.
    if you create in form or in report ..they won't recongnize the local structures.
    Thanks,
    Sunil

  • How do I create an xy chart using two independent while loops?

    Hi everyone,
    I am trying to develop a data acquisition program. In this program, I have two independent while loops that each output a number of type double each iteration of the loop. I am able to successfully create two independent waveform charts (data vs. time) for each of the loops when it is placed inside. However, I now want to create an xy chart of the live data (the output of one loop is x and the output of the other is y).
    I am having trouble doing this because of the separate nature of the loops...when I try to pull data outside of the loops it (naturally) doesn't refresh with each loop iteration causing the xy chart to not work in the way I intend. Is there an easy way to fix this? If more clarification is needed, please let me know!
    David
    Solved!
    Go to Solution.

    Yes, more clarification is needed. Please attach your code to clarify.
    I'll take a wag at it, though. It sounds like you are trying to pair X and Y data which happen during a single time chunk, then repeat, is this right? (If not, don't bother to read on.) If so, why not just use a single loop. If your VI is getting too big/complicated for comfort, just put the data-generating stuff into subVIs which run to generate a single data point, then stop, put them into a while loop and send the putputs to a graph or chart inside the loop. That way you won't extend your data trace until you get one and only one point from each subVI and things will stay synchronized.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Is there any need to create schema in univese designer,when using sap data

    hi this is sridhar,  i have integraed sap bi with business objects,now i have all cube chars and keyigures in BO UNIVERSE DESIGNER,NOW is there any need to create schema in universe designer to get a report in web intelligence

    Hi Reetha,
    [BAPI create invoice;
    Try if this works out.
    Regards
    Abhii...

  • Is it currently possible to create a doughnut chart with multiple concentric circles in SSRS?

    Is there currently any way to create a 'doughnut' chart with multiple concentric circles in an SSRS report (any version), without using 3rd party tools?
    Something like this, perhaps?
    (For that matter is it possible to create this using JavaScript?  It's my understanding that this image was originally created in a web app using JavaScript.  So far I've not been able to pin down the details.  I've found hints that JavaScript
    can be used in SSRS reports but so far no clear working examples.)

    Hi B.Chernick,
    According to your description, you want to create a create a doughnut chart with multiple concentric circles in your report. Right?
    In Reporting Services, we only have doughnut chart with one concentric circle. All the category group is in that concentric circle. Though we can embed javascript injection in expression, it only give the css style to values or report
    items which can change the looking. It can't change the structure of the report items itself. So your requirement can't be achieved current.
    For your requirement, we suggest you provide Microsoft a feature request at
    https://connect.microsoft.com/SQLServer
    so that we may try to expand the product features based on your needs.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Use of Regular Expressions in BI Query Designer

    Hello All,
    For a particular requirement in Inventory, I have the following to be achieved:
    If at the input selection screen, if Plant entered is 'AB12', then it should show batches only startign with 'J' and if Plant entered is 'AB13' then the query output should show only batches with '$****K' (where * indicates any digit and $ indicates any character.
    Will I be able to achieve this at query level, since my design for Inventory is already existing.
    One way is I can always take it to a new cube and write some routines in transformation to achieve the same, but that would in essence duplicate data at multiple places.
    Request to guide me for the same.
    Thank you.
    Regards,
    Kunal Gandhi

    Hi,
    If you are able, create a Structure in your Query and add 2 Selections to it.
    Restrict 1 Selection on Plant AB12, and Batch J****** using Contains Pattern as described by Mansi. Restrict the other Selection on Plant AB13, and Batch $*****K again using Contains Pattern.
    Activate Zero Suppression on this Structure.
    When the user selects a Plant in the input, only the Selection which contains that Plant will be displayed.
    Hope this helps. Sorry it is so long after the question, I found this while looking for something else.
    Steve

  • How to create a structure which can hold a dynamic table as a field in DDIC

    Hi ,
           I am designing a solution for a problem and have a unique requirement.  I need to create a structure which can hold a field where dynamic table data can be stored.  Let me illustrate with an example :
    My structure  ( say  Z_output_struc ) will have the fields
    Table_name  Table_Data
    My function module will have a table type of the above structure, so in effect ,my output can have multiple table names and related to each of them, there will be table data of that table name. The issue is how do I configure this in DDIC ?
    I tried creating table_data as "Type ref to Data"  but was stuck  inside the func module when I tried to transfer data to this.
    Any pointers as to how to think about this differently ? 
    Best Regards,
    Girish

    Hi Girish,
    you start directly from the ref to data. You assign it to a field symbol and cast this to the type of the destination of your select. So you can directly add the reference to the cache:
    I hope this example helps a bit (I took a form instead of a function module as it is easier to add here and used an hr table as kna1 is empty on my test system):
    REPORT  z_rwe_99_dyn_tab_cache.
    * type definition
    TYPES:
      BEGIN OF _s_cache,
        table TYPE        tabname16,
        cache TYPE REF TO data,
      END   OF _s_cache,
      _t_cache TYPE STANDARD TABLE OF _s_cache.
    * data declaration
    DATA:
      lv_table     TYPE tabname16,
      lv_condition TYPE string,
      lt_cache     TYPE _t_cache.
    * define table and condition
    lv_table     = 'HRP1000'.
    lv_condition = 'plvar = ''01'' and otype = ''S'' and objid = ''50000016'''.
    * get the result of a single table into the cache
    PERFORM get_dyn_table USING
                            lv_table
                            lv_condition
                          CHANGING
                            lt_cache.
    * form to read a single table
    FORM get_dyn_table USING
                         iv_table     TYPE tabname16
                         iv_condition TYPE string
                       CHANGING
                         ct_cache     TYPE _t_cache.
      FIELD-SYMBOLS:
        <lt_table> TYPE ANY TABLE.
      DATA:
        ls_cache TYPE        _s_cache,
        lr_data  TYPE REF TO data.
      CREATE DATA lr_data TYPE STANDARD TABLE OF (iv_table).
      ASSIGN lr_data->* TO <lt_table>.
      SELECT * FROM (iv_table) INTO TABLE <lt_table>
        WHERE
          (iv_condition).
      ls_cache-table = lv_table.
      ls_cache-cache = lr_data.
      APPEND ls_cache TO ct_cache.
    ENDFORM.                    "get_dyn_table
    If you have more questions just give another post.
    Best Regards
    Roman

  • How to create the timeline chart in SSRS 2008

    Hello Everyone!!
    How to create basic timeline chart with x asix as month and  show project start date as marker on this in ssrs reports
    Which type of chart i should use and any sample link?
    Something like in below link
    Timeline
    image

    Hi SonikaJ,
    After testing the issue in my local environment, we can enable the Scalar axis option to display a set of axis values on a continuous scale and reset the “Interval” property of the X-Axis. For more details, please see the following steps:
    Drag a Column Chart to design surface, insert corresponding fields.
    Right click on the Horizontal Axis and open the “Category Axis Properties” window.
    Check the “Scalar axis” option, set the “Interval type” to “Months” and set the “Interval” to 1 for example.
    Right click on the Vertical Axis and uncheck “Show Axis” option to hide the Y-Axis.
    Right-click the series columns to select “Show Data Labels”, then right-click on the Label and select Series Label Properties.
    In the Expression dialog box, modify the expression to anything you like.
    To adjust the width simply select the appropriate series and go to the properties pane and drill down into the Custom Attributes and find the PointWidth. Then set the value to 0.1 for example.
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Unable to create a Line chart

    Hi Friends,
    I am trying to create a Line Chart based on CalMonth, where I want to show no. of SalesOrg denoted by different lines separately according to their monthly sales.
    Please help.
    Regards,
    Jatin

    Hi,
    To create chart this is the process..
        1.      Before you begin publishing a chart, you need to specify which chart type ( Line chart in your case ) you want to display. You can determine how the data provider is to be built by using the class of the chart type.
           2.      Select an existing query or design a new query with which you can generate a suitable view of the data, that is, a suitable data provider.
           3.      Start the publishing process and create a new Web item of type Chart.
           4.      We recommend configuring the properties of the chart Web item as follows:
    &#9675;       Expanded hierarchy nodes should be hidden.
    &#9675;       Totals should be suppressed.
    &#9675;        If you want to swap the data providers in the chart, you should assign the Swap Display Axes property to the chart. The columns and rows are then swapped automatically when the chart is generated. You do not need to change the view on which the chart is based.
           5.      When you edit the chart, the Web Application Designer or Web Application Wizard first shows the default setting, that is, a column chart.
    &#9675;       Firstly, format the chart using the wizard so that the most important settings and the number of displayed data series and data points correspond to your data provider (see also Formatting a Chart Using the Wizard). Assign the required chart type to the chart and format the chart as required.
    &#9675;       All chart elements that you can format are displayed in the list of properties on the right of the screen. You can modify the properties as required here.
    Also go through these links.
    line chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Formatting chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Hope it helps..
    Regards,
    Priti

  • Structure App Designer Setup for Schemas

    Fellow Forum Members,
    My stylesheets are 31 separate FO-XSL files. There is one MAIN XSL file that contains links to all 30 XSL files.  It's the only file that needs to be pointed to using a directory path.
    In addition, I do not have a single  DTD.file. Instead the S1000D_4-0-1 folder contains 16 FOS files, 51 XSD files, and 16 DCF files.
    Can anyone out there please provide a brief overview on how I'm suppose to setup all my Schema and Stylesheet files to the dialog window shown below:
    In what field do I insert my path to my MAIN FO-XSL stylesheet file? The word "Stylesheet" doesn't show anywhere in the dialog window?
    Also how do I setup the multitude of files within my S1000D_4-0-1 folder?  Do all of thes files need to be converted into EDD files?  I don't see any field in the S.A.D. dialog window that will allow me to define a path to all of my S1000D_4-0-1 schema files.
    Any help will be greatly appreciated.

    Hi Binar...
    I'm not clear on what you're expecting from FrameMaker in this situation. XSL-FO stylesheets are typically used to create page-formatted output (PDF and other). If you've got these stylesheets, you don't really need FrameMaker (although FrameMaker will do a far better job than FO can).
    While there may be some way to set up a structured application to kick off a "build" of your stylesheets, you'll likely need to work closely with a consultant who understands the way structure applications work. The Structure Application Designer is poorly documented and isn't probably what you should be using .. read the Structure Application Developer's Guide to learn how to set them up via the file system instead. This is a very edge case .. possibly the only one like it, so you're not likely to hear from someone else who has done this before.
    In general, you'd use a build scripting language like Ant to set up an XSL-FO based build process.
    Good luck!
    ...scott

  • Using Text to Create a Bridge

    Hi all,
    I want to use text to create a bridge.  Basically I have an image of a cliff, and I want to use the text to span the gap.  I want the text to become the support structures of this arch bridge.  I know you can allow the text to align to a path but is there any way to squeeze the text between two paths?  So that the top of the text will be just flat, but the bottom will be arranged in an arc.  I want the height of the text to change with the path, not the orientation (i.e. remain vertical). see attached.  There are three "pieces" to the bridge and this image is going to be a part of an animation where the bridge is assembled piece by piece.  Each piece of the bridge ought to be one of the three words "Pricing" "Marketing" and "inventory"  See attachedAlso, if you have any other design ideas for this that may work better that would be awesome!

    Well I think you do want to use the text path tool but I think you need an extended font design or you have to extend the text yourself as I did using the selection tool, I first created the text as a straight point text then extended it cut and pasted the text to he ellipse which I had already converted to a text path.
    I think you should consider being creative about it yourself
    Anyway pretty easy to accomplish if you weigh the limitation and the possibilities together.

Maybe you are looking for

  • Request: compare and propagate user objects

    After making changes to table definitions, views, program units, and so on, it may be useful to propagate these changes to another database user. This maybe another development environment, or a testing environment in same or another database. Like "

  • Yahoo IM no longer working in Apple Messages.

    My Yahoo IM is no longer working in Apple Messages. I am able to log in and send messages to my buddies, and they receive my messages. The problem is I do not receive any of their replies. I have AOL, Jabber and iMessages working, its only Yahoo that

  • Need Help in  Interactive ALV Report

    Hi guru's,   I need sample code of Interactive ALV   when on selecting an particular field, it should open an another ALV windows or pop-up window. Please help me and points will be rewarded for the right code. Regards Rajiv Christopher

  • Apple TV, mirroring, wireless cam...

    I have a newer iMac and recently purchased AppleTV.  I would essentially like to video conference from my living room via mirroring AppleTV and my iMac (which is in an adjacent room) but cant really understand how I could use an external cam from the

  • How to run report from java code

    I am a begginner in Oracle Reports. We have no AS installed, so we run reports either from Reports Builder or by calling rwrun. I would like to know how to embed report calling into java code , let's say into simple swing application. Some example co