How do I allow the user to select and resize the CNiGraph while executing?

I am writing an application with Measurement Studio and Visual C++ that will allow the user to create graphs on the fly. I need to give them the capability to select a graph and resize it in a manner consistent with most other Windows programs (i.e. resize handles). I have tried various implementations of the CRectTracker class and can get it to work for Microsoft controls, but I can not get it to work with the CNiGraph (the only one I have tried so far). The code runs but I never get the selection box or handles around the control. Is there a way to do this and is there an example anywhere that I can go from? Any help would be appreciated.

Never mind. I have now found the way to do this.

Similar Messages

  • Forcing the user to select one of the OBIEE prompts?

    Hi All,
    Iam new to OBIEE I have a requirment in which I need to force the user to select one of the selection from prompts in OBIEE eg: you need to select one of the contry either India or America to get the other prompts enable and filter the report?
    Any help is highly appriciated.

    Hi,
    You can set a default value in your first dashboard prompt like 'please select a country' then if the user doesn't select something no result will be returned until he selects a valid value
    Then make the other dashboard prompts constrained.
    Regards
    Adil

  • Send Email for manager of the user with Login and Password the user.

    Hello everyone,
    I need to send an email to the manager of the user with login and password when it is created in AD.
    I already have a mail server configured in the IT Resource. It has some component of the IDM that solve this issue?
    Anyone you help me with the next steps?
    Thank you.

    Thank you for your attention.
    It did not work, I did another test to send email notifying you when the User change password.
    The following error message appears in oim_server1-diagnostic.log:
    [2011-08-08T19:21:30.865-03:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Resetting password
    [2011-08-08T19:21:30.936-03:00] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 59,612.0.User.RESET_PASSWORD
    [2011-08-08T19:21:31.155-03:00] [oim_server1] [NOTIFICATION] [IAM-3050013] [oracle.iam.identity.usermgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Searching for users with the specified criteria.
    [2011-08-08T19:21:32.018-03:00] [oim_server1] [WARNING] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Sending Reset Password Notification is not successful
    [2011-08-08T19:21:32.639-03:00] [oim_server1] [NOTIFICATION] [IAM-0080046] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Completed orchestration with action result - oracle.iam.platform.kernel.vo.EventResult@4fe0d018
    [2011-08-08T19:21:32.642-03:00] [oim_server1] [NOTIFICATION] [IAM-0080011] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Orchestration process with id 59,612 started running in a new thread.
    Edited by: Piza on 08/08/2011 15:24
    Edited by: Piza on 08/08/2011 15:26

  • How to fix the table column header and resize the width of a table column?

    Hi all,
    I have the following two requirements,
    1) I need to wrap the table column header into two rows. I mean the header must be displayed in two rows.
    2) I need to to able to resize the width of the column. i.e The user should be able to drag the column width according to his requirement.
    Is this possible. Any help would be appreciated!
    Regards
    Kishan

    Hi Kishan,
    Refer to these links.They may ne useful for you.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80d81237-b780-2a10-d398-cc33af6bd75c
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30291df2-b980-2a10-0884-839c4f7f147e
    Regards,
    Sumangala

  • Reader SDK: any way to see what text the user has selected?

    I'm using the Adobe Reader SDK with C#, looking at the interapplication communication features.
    I can open a document in Reader and allow the user to user the reader tools like select text, etc.
    Here's the problem: I want to have my application know what text the user currently has selected.  And I'd like it to know the name of the field that the user has selected, not just the text of the field.
    Microsoft Office's Interop has something like this:
    currentDocument.GetSelectedText();
    Is there any way to do this with IAC or the javascript or plug-in features of the Reader SDK?
    If not, can it be done with the Acrobat API?  I've looked through both sets of documentation, and haven't found what i needed.
    Thanks for any help!

    To write a plug-in for the Adobe Reader you need to go through 2 separate steps.
    Step one - Download the Adobe Acrobat SDK (from here http://www.adobe.com/devnet/acrobat)
    and build your plug-in against the Acrobat product, following the documentation to make sure you only use API's that are available in the Reader program. The documentation tells you what version of the Adobe ACrobat or Reader program is needed for the function and whether the function can be called in Reader.
    Step two - Apply for a Reader certificate to allow your plug-in to be loaded by the Reader, the link is on the same web page as the above link. This step can be initiated before you have created your plug-in, and I would recommend that you do start this process before you develop your plug-in as Adobe can refuse to give you the certificate in which case all your development would be wasted.
    Only once you have permission form Adobe can you make your plug-in work with the reader application.
    Once you have done both these steps there are plenty of people on this forum that can help you with specific problems you may encounter.
    If you are not sure you have the knowledge to build the plug-in, there are plenty of people that you can hire to create the solution for you.
    HTH
    Malcolm

  • Allowing a user to select a Date

    what is the best option which can be used to allow a user to select date from the user interface on a JFrame? Is there any tool available which can be used directly for this? (eg. like we can use javascript component in web-pages).

    visit this one
    http://in.geocities.com/onlyjava2003/index.html

  • Is it possible for a saved path to open a folder where the user can select the file to open?

    I would like to retieve a link via database that would open a folder of drawings, word documents, pdf files, excel files etc., where the user can select which file they want. Selected files would open in which ever format they were with programs that are already installed on the users computer. For example, the link would open a folder where several solid works files were, and a couple of Word documents. The user would select one of the Solid Works files, and it would open up in the Solid Works installation on the users computer. Is this possible, or must a link point directly to a file?

    I'm not sure I understand what you mean by "link". Are you referring to a URL that uses a "file://" protocol?
    The standard File Dialog VI has a "start path" input that you can set so the file dialog opens to that folder.

  • JFileChooser, how can you allow the user to select MORE than 1 file?

    Hello everyone.
    I want to allow the user to select multiple files from a directory, not just 1, but not just the whole directory.
    Currently I see these 2 options from looking at the sun's JFileChooser demo:
    //Create a file chooser
            fc = new JFileChooser();
            //Uncomment one of the following lines to try a different
            //file selection mode.  The first allows just directories
            //to be selected (and, at least in the Java look and feel,
            //shown).  The second allows both files and directories
            //to be selected.  If you leave these lines commented out,
            //then the default mode (FILES_ONLY) will be used.
            //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
            fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);but both don't allow the selection of more than 1 file.
    When I say, select more than 1 file I mean the user can hold in SHIFT or CTRL and select files.
    Any ideas how to do this?
    Thanks!

    http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#setMultiSelectionEnabled(boolean)
    Cheers,
    Laird

  • How to allow a user to select an instrument from a group and use that VI?

    Hi All,
    In a previous application I wrote using Agilent VEE I created a Configure Equipment and Initialise Panel for the user to select for example a signal generator from a drop down list of different types, and when initialised the functions for that item would loaded into a generic library called Signal Generator into my main program. I could then call these functions in my main program
    When I wrote the instrument drivers I named each function the same for each type of signal generator I could offer the user. e.g. Set_Frequency (would be in all instrument drivers)
    I would like to do this in LabVIEW and am struggling to find out how to do it.
    Does anyone have any suggestions? And I hope what I have said above makes sense.
    TIA
    Martin

    Hi Martin,
    With regards to communicating with hardware
    from other manufacturers, yes you are able to do this using LabVIEW
    provided the drivers are available from National Instruments, or
    sometimes the manufacturers themselves provide LabVIEW VIs to use with
    their instruments.
    To configure the device it may be worth
    implementing some form of popup dialog box to input the values for your
    particular configuration. This can be done by creating a SubVI where
    you are able to input the values and once a button is pressed the
    dialog box closes (as in the example I have attached)
    Just to
    mention also, VI Libraries are mainly for organization purposes, and
    grouping VIs together. It also allows you to protect your VIs by
    setting them to private, which means they are only able to communicate
    with other VIs within that particular library.
    Hope this Helps,
    Steve
    Attachments:
    Popup Example.vi ‏16 KB

  • How do I allow my users to set the option to save a new timezone for future sessions?

    The option to save a newly selected timezone for future sessions has been greyed-out
    in the Calendar Client. How can I allow my users to choose this option?
    <P>
    This is controlled by the settimezone setting on the Calendar Server. By
    default, it is set to FALSE. You can change the value to TRUE in the
    unison.ini settings. The
    Calendar Server must be restarted for the change to take effect.

    Hi,
    Based my research, OOB SharePoint don’t allow anonymous users to contribute contents(Edit, Upload and Add) into list and library.
    This is by design behavior, and it’s a consideration about security in order to help protect your site from potential script injection attacks.
    For anonymous users, only the View Item permission is available for libraries.
    If you want to know more about this, please refer to
    http://office.microsoft.com/en-us/windows-sharepoint-services-help/enable-anonymous-access-HA010113018.aspx
    Hope this helps
    Thanks!
    Stanfford

  • New to mac , when i imported pictures on my account , i noticed the family user account can not view pictures in iPhoto why is this and how do i allow other users on my mac to view the pictures

    how do I allow other users to view pictures in iphoto on my computer?? can only view pictures when signed in administrator account?

    Try Here  >  http://www.apple.com/findouthow/photos/#intro
    More Info Here for the New Mac User...
    Mac essentials   http://support.apple.com/kb/HT2477
    PC to Mac video      http://support.apple.com/kb/VI207
    Find Out How (Video)
    http://www.apple.com/findouthow/mac/

  • How can I allow a user to control my Edge Animation using only the scrollbar?

    I have seen a few examples of an Edge Animation being conrolled by the scrollbar, and I am wondering how I could achieve the same effect.
    Example:
    http://dominikruckli.ch/scrolltest/scrolltest.html
    I have searched the corners of the internet and have found 2 or 3 different tutorials, but none of them have proven successful.
    In basic terms, I am creating an animation that involves a character getting from Point A to Point B, from the beginning of my timeline to the end.
    Rather than exporting my animation so that it plays automatically, by itself, I would like for a user to scroll vertically, and the playing of the animation moves in conjunction with the scroll bar.
    As the user scrolls from top to bottom on the scrollbar, the character in my animation moves from Point A to Point B.
    Also, if the user stops scrolling... the character will stop moving as well.
    In addition, I would like the surrounding area, outside of my stage, to remain hidden. I do not want to allow the user the ability to scroll around and see off of my designated stage area. I only want the scroll bar to act as a playhead for the animation.
    Any help will be greatly appreciated.
    Thank you
    Note:
    If you have special CSS (or other form of Code), please provide specific instructions on how to insert this code, where it should be located, what part(s) of the code should be altered, and any additional instructions on how to apply any form of coding. (Screenshots would be amazing)

    Never mind.  I figured it out myself.  I changed the myComp.play("scenefour"); to myComp.getStage().play("scenefour"); and it worked fine. 

  • Is it possible not to allow the user to select radio button based on condi

    Hello All,
    I have two radio buttons ( Relation value 1 default , famid value 0 )
    can i create a situation where in the user cannnot select the famid radio based on some condition.
    The conditioin is that , the user should have selected atleast one item from three list controls then only i should allow the user to select famid radio else not ?
    thanks/kumar

    Hi,
    You can use javaScript to enable disable radio button. Call the javaScript from your select list onChange event.
    Hope this helps,
    Regards,
    Tajuddin
    web: http://tajuddin.whitepagesbd.com

  • How can a jsp page tell which Oracle Responsibility the user has selected?

    We have two responsibilities - Timecard Administrator and Timecard Viewer. Everything that they can access is the same, except for one particular jsp page which we want to present a slightly different view if the user's responsibility is Timecard Viewer (specifically, the edit link in the results page will be suppressed). Unfortunately in order to implement this, the jsp code needs to be able to distinguish which of those two responsibilities the user has selected. I have written jsp code to print all the environment variables and unfortunately the environment is essentially identical regardless of which of the two responsibilities the user selected.
    How do I pass in the active responsibility to that page/environment in a way that can be tested by the jsp code?
    Thank you,
    Graham Toal <[email protected]>

    Yes, I tried something like this (shortened to the basics for this post):
    <pre>
    sqlQuery="select responsibility_name from fnd_responsibility_vl where responsibility_id = FND_GLOBAL.RESP_ID";
    stmt=con.createStatement();
    rs=stmt.executeQuery(sqlQuery);
    int field_count=rs.getMetaData().getColumnCount();
    while (rs.next()) {
    for (int i=0; i<field_count; i++) {
    logger.write("Responsibility: "+rs.getObject(i+1),"JSP",objName,0,-1,1001);
    </pre>
    However it did not print any results at all.
    I'm trying a different approach at the moment - I've cloned the menus from the Administrator responsibility to the new Viewer responsibility, and have altered the top-level menu so that I can insert a new variable into the process state myself; that way by the time the user navigates to the changed page, there should be a variable there that can be tested.
    Unfortunately the top-level menu isn't just a simple menu, it's a piece of code that issues an HTML redirect depending on the parameter passed in - which is set in the Oracle function screen for the function attached to that menu.
    (was something like utpa_top_menu.jsp?ADMIN and I changed it to utpa_top_menu.jsp?VIEWER, with appropriate tests for the new module name:
    <tt>
    else if ("VIEWER".equals(moduleName))
    url = "/utpa/jsp/admin_reports-viewer.jsp";
    </tt>
    In admin_reports-viewer.jsp I've added <tt>session.putValue("REPVIEWER","y");</tt> and in the actual target main page I have:
    <pre>
    if (session.getValue("REPVIEWER") == "y") {
    // viewer
    out.println("<CENTER><B>You are using the Timecard Viewer responsibility</B></CENTER><BR>");
    } else {
    </pre>
    And although the URL bar at the top of the screen is displaying the correct (redirected) URL, the page that is displayed is blank. Completely empty. 0 bytes. The file is present on the filing system; has content; has the correct ownership and permissions; I've reloaded apache, even had the systems guys reboot completely. I'm at a loss :-/
    Graham

  • Allow users to select Fields that the resulting report would be sorted on

    Is it possible to make available to the users some specific fields from the database that they would be allowed to select themselves which fields they would like the resulting report sorted upon?

    The suggestion that was provided seems to have worked.  But right now I have a situation where I would like to give the users the option to select the desired sort order from 6 different fields.
    Invoice Date
    Due Date
    TransDate
    PO Num
    Invoice No
    Status.
    Right now I have a Sort Parameter created
    Then I also have a Sort Formula generated as follows.
    If {?SortField} = "DueDate" Then {APMASTER.DUE_DATE}
    Else
         If {?SortField} = "TransDate" Then {APMASTER.TRANS_DT}
         Else
              if{?SortField} = "InvDate" Then {APMASTER.INVDATE}
    as soon as I attempt to add another line to this formular that would be for the Invoice No as shown below.
    Else
                 if{?SortField} = "InvNo" Then {APMASTER.INVNO}
    I keep receiving a "A date-Time is required here"  I am assuming it must be because CR is not allowing me to create a formula and/or parameter that is using a mixture of Date and Text fields. 
    If you have any suggestion for a work around, it would be appreciated.

Maybe you are looking for