How can I approach controls in Dialogbar?

I would like to know how I can approach my controls in Dialogbar?
I made an dialogbar in mainframe and added some NI Controls and normal controls (ex, CEdit). I can handle normal controls without problem, but if I try to handle NI Controls it gives runtime errors.
Does it happens since Ni Controls are ActiveX controls? In that case, how can I handle them?
I tried like follows:
CNiNumEdit *numEdit;
numEdit = (CNiNumEdit*)m_wndDialogBar.GetDlgItem(IDC_CWNETL);
numEdit->Value = 10;

Simply go to the "project->Add to Project->Components and Controls" Select the NI controls you want to use. You will see a bunch of new classes added to you project in your class view.
See zip file for simple demo....
Steve
Attachments:
NI_Controls.zip ‏2348 KB

Similar Messages

  • How can i add control at runtime??

    hi,
    please help me! how can i add control(textfield, dropdownlist or subform...) at run time???
    thanks

    this option had no relation about editing items or not , i hadn't notice it was accessible true pop up
    when you rigt click is properties disable also ?
    may be i 'm wrong i talking about that :
    see attachement
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte
    Attachments:
    example.jpg ‏57 KB

  • How can I to control any element of my GUI from another class?

    How can I to control any element of my GUI from another class?

    For that, you need the external class to have the reference to your element.. If your idea is to change basic properties like width, height etc.. then you can have the constructor of the external class to take the object of the parent of your class as the parameter and modify ..
    However, if the properties to be altered/accessed are custom to your element, then you will have to have the class accept an object of your class as the parameter. No other option..
    What exactly is your requirement?

  • How can I disable Control+PageUp/Control+PageDown Tab switch?

    How can I disable Control+PageUp/Control+PageDown Tab switch? I have found various addons to provide additional key combinations for this action, but no option to disable that (these key combinations are mapped on my X server to serve as Home/Pos1 and End, and I would like to have that functionality within firefox as well).

    Hi Guigs2, I already tried that (and a whole bunch of other key costumization/mapping plugins), and it does not help. It helps to add other shotcuts for the tab switching, but does not give an option to eliminate the existing key combination. Thank you anyways.

  • I am 63 yrs. old and I just want to use my iPod for music.  As soon as I turn my iPod on, it connects to the internet.  How can I have control over when I do or do not connect to the internet?  (I have wifi)

    Help!  I have an iPod Touch 5th generation with iOS 8.1 that I just purchased two days ago.  I am of the early 70's generation and this is all new to me.  I have wifi at home because i have a laptop.  I want to use my iPod mainly for creating playlists and then playing it through my stereo.  When I turn my iPod on, it automatically connects to the internet.  How can I control when I connect to the internet?  I am not a kid wanting to use all the "gadgets" please help me so I don't feel that I've totally wasted all of this money on this purchase!  Thank you so much for your help!.

    Hey Evawantsin, turning off Wi-Fi as suggested by Illaass will do the trick, but how are you connecting to your stereo? If it uses Wi-Fi, then you need to turn the Wi-Fi on for music sessions. If through Bluetooth your fine, or do you use a physical connection like a dock, USB to lighting cable or do you just plug in through the headphone port with a patch cable? Also, you can down load the iPod Touch Users Guide for iOS 8 for free from iTunes. It will answer most questions, or at least point you in a direction. Hope this helps. Good luck, Cheers.

  • How can i take control of an ipad using my apple ID..??

    I have bought a used ipad mini 2 [wifi + retina], & while trying to sync the apps from my PC using my apple ID, the ipad keeps asking for the authorization of the PC even though the authorization was successful using my ID. then i authorized the PC with the previous users apple ID, and the syncing was successful..! however i want to use my apple ID to run the ipad, & take control of it. can anyone advise how can i get rid of the previous ID, & use my own one..?? Thanks!

    The Seller should have performed these Steps Before you took possion of the Device.
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    NOTE:  You may need to contact the Seller
    salm4n wrote:
    I have bought a used ipad mini 2
    i want to use my apple ID to run the ipad, & take control of it
    Restore the Device as New and Set it up using your Apple ID.
    See  Erase your device  Here  >  http://support.apple.com/kb/HT4137

  • How can I manage controls in an RTP Streaming

    Hello,
    I'm currently using an RTP Streaming in order to play some music. I started with AVReceive2 and AVTransmit2 from sun and by adding a plugin, I managed to play MP3. So far so good.
    Because I didn't want to use view components given by sun, I created my own GUI for my player and I use it instead of using the one in sun's examples.
    I use listeners for my "buttons" (I prefer using mouselistener and Panel like in the sun's example Jamp) but I can't find a way to execute those buttons.
    If I press pause, it has to pause the streaming in AVTransmit2.
    If I press next, or previous, it has to change the process AVTransmit2.
    Each control has to be done in AVTransmit2 but my player is part of AVReceive2.
    My first guess was to check if I could use an event to tell my AVTransmit2 object to execute my controls but I havn't found a way to tell my AVTransmit2 object that it was this button I pressed.
    I finally stopped trying transmitting my orders thanks to the events.
    I tried then to find a way to get my AVTransmit2 object in my AVReceive2 object so that I could call methods but i failed :(
    How can i manage my controls so that it will call methods on my server and not my client ?
    Thanks :)
    Shad.
    Edited by: Shadwolf on Feb 9, 2010 2:15 AM

    Hi, again,
    For the next & previous button, I was thinking in something.
    Do you think it could be good to create a new class RTPClientManager which extends from RTPManager and get 2 booleans previous & next that are set to true when I press on buttons ?
    From here, couldn't I modify my function in AVTransmit2 like this (I implements ReseiveStreamEvent on AVTransmit2) :
    @Override
         public void update(ReceiveStreamEvent evt)
              RTPClientManager mgr = (RTPClientManager )evt.getSource();
              Participant participant = evt.getParticipant();     // could be null.
              ReceiveStream stream = evt.getReceiveStream();  // could be null.
               * Détection de la fermeture de connexion du client afin de fermer la transmission streaming
              if (evt instanceof ByeEvent)
                   System.err.println("  - Got \"bye\" from: " + participant.getCNAME());
                         if(mgr.isNext())
                     this.stop();
                             /* SOME STUFF FOR NEXT */
                        else if(mgr.isPrevious())
                     this.stop();
                             /* SOME STUFF FOR PREVIOUS*/
                    else //means it's the stop button called
                              this.stop() ;
         }Would it work ?
    If you have better ideas I am ready to hear theam :P
    But if this works, I will manage stop, next and previous, but how could I manage play & pause button ?
    I can't find a proper solution to manage my controls :(

  • How can I remotely control what iTunes song my iMac is playing to multiple AppleTV's?

    So I own an iMac that has homesharing enabled.  I then tell the iMac to play to both of my AppleTV's by holding OPTION key down while clicking on Airplay, and checking off the devices that I want it to stream to filling my home with sound that is in sync in every room.  Works beautifully.  Only problem is that I can not then control the iMac remotely from let's say the bedroom to pick a new artist.  The ATV's become dumb clients simply playing what the iMac is pumping to them.  Is there a remote interface that allows me to control iTunes on the iMac to choose the sounds being broadcast to the other Apple devices?
    NO.  VNC is a ghetto work around to accomplish this.  Yes, I could do that, but it is inefficient, and inelegant.  I am looking for a remote control app with the  functionality that allows me to connect to and see the device that I want to control, and then by choosing my iMac, see all artists/albums/songs, play them and let the iMac pump the tunes to the devices that I told iTunes to Airplay to.
    Ideally, the AppleTV's should know that they are acting as clients to the iMac serving centrally, but when I pick up an AppleTV remote, it overrides the stream from the iMac, and then the ATV begins streaming independently from the other.  I KNOW there is a solution to this...
    Any suggestions?
    Thanks!
    Adam

    ok...  solved it.  By using the Apple Remote app, you can tell the app to control your iMac (I did not know that) and that solved the issue.  Now the iMac plays the song I want to all of the devices that I told the iMac to play to.  Perfect.

  • How can change or control tempo in Logic8 with incoming MTC signal

    Hi Logic users!
    I need help about MTC synchronisation. How can I change tempo /follow tempo/ with incoming MTC signal in Logic 8.
    Many musician and producer use Cubase and we need frequently use their tempo map. We use Soundscape HDR /there is our main equipment for audio recording – working very stable and reliably/ as MTC master because of I simply open in HDR any midi file exported from Cubase as „tempo map“ and Soundscape can read time information included in midifile and read and change tempo /so midifile i sused as tempo map./. In Cubase is very easy read incoming tempo information. You can switch in transport bar either „fixed“ tempo or „track“ for change tempo with tempo map or incoming MTC signal with tempo information but in Logic 8 I did not find any solution.
    Our setup is: 2 SSL Soundscape HDR, Logic8, Yamaha DM2000 mixing console – Soundscape is MTC master. From SS I send MTC to all other gear/ to Mac with Logic8 and to Yamaha DM 2000 for mix automation etc./. Logic is sync very well to incoming MTC signal from SS so it is OK but don´t read incoming tempo information.
    Please help

    MTC (MIDI Time Code) is time based, not tempo based.
    The tempo map will need to be recreated in Logic.
    MIDI Clockb is tempo based but as of version 8, Logic no longer reads MIDI clock. Doubt if that would've worked anyway.
    pancenter-

  • How can I programmatically control stylesheet slection in TestSTand?

    I would like to have several style sheets available for report generation in TestStand 4.1.1.  How can I programatticaly select which style sheet is selected when running a TS sequence?

    Hey,
    A little something I threw together.  Hopefully you can understand it.  Let me know if you have any questions.
    Cheers,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    SelectStyleSheetOnFly.seq ‏7 KB

  • How can I remote control my iPad 2 with my iPhone.....apart from limited 2screens?

    Is there an app yet or in development which means I can remotely control some aspects of my iPad 2 with my iPhone.....I have used 2screens but am hoping for a more universal app......thanks
    Stephen

    Actually, if you Don't know how to do, you could go to
    http://charlie-roberts.com/Control/ (the web site of the creator of your app.)

  • How can I regain control of .bash_profile after making changes to $PATH?

    Hi,
    Today, I installed Android ADB on my MBP (late 2013) and used the following guide to get it started: http://www.droidviews.com/a-comprehensive-guide-to-adb-android-debug-bridge-and- commands/ - that guide said I should make a change to ~/bash_profile in order to get the settings right. Here's what I did (copied from the link):
    Open terminal window and type following: nano ~/.bash_profile
    This shall open the .bash_profile file. Now enter the following line to define ADB path. export PATH=${PATH}:~/android-sdk-macosx/tools export PATH=${PATH}:~/android-sdk-macosx/platform-tools
    Then, I saved and closed the terminal window.
    Now, I cannot use a lot of terminal commands anymore - sudo, latex, rm, all only give me:
    -bash: latex: command not found
    If I try to access ~/.bash_profile, I get the following error:
    -bash: /Users/richard/.bash_profile: Permission denied
    I tried this:
    RMBP:~ richard$ echo $PATH
    {PATH}:/Users/richard/android-sdk-macosx/platform-tools
    which only shows me that I have changed the path.
    Is there any way I can regain access to the .bash_profile file and control over the Terminal in general?
    Any help would be highly appreciated, thanks in advance!

    I solved the problem, it seems, by doing the following:
    I found the defective .bash_profile file by using Omni Disk Sweeper, and deleted it right away. Someone else here in the support forum had a similar problem and solved it this way, so that's how I got the idea. The Terminal works nicely now and no other signs of trouble have come up yet.

  • How can i remotely control a macintosh centris 650

    I have an old Centris 650 with some NuBus cards that I still want to use. I'd like to remotely control the Centris, and I would think there are two possible ways to do it: remote control via Ethernet, or emulating the mouse and keyboard (and sharing a monitor). So far, neither approach seems viable. I can find ADB->USB adapters, but not the other way around. The Centris is currently running OS 7.1, though I have installers up to 7.5.5, if installing that would help.
    All I need to be able to do is boot one or two applications and make simple adjustments to their UIs.
    Anyone have any suggestions?
    thanks!

    Apple Remote Access can do that.
    http://support.apple.com/kb/TA36867?viewlocale=en_US

  • How cani disable switch control

    i enabled switch control on my ipad 2. i cant enter my passcode or slide to unlock. the ipad wont do anything. how do i disable or get to the settings with out deleting anything from my ipad. or can i control the settings from another computer

    Try triple clicking the home button.

  • How can I have control of my photos?

    Ok, please someone tell me this.
    I've been fighting this iPhoto battle for years. My problem is that I want to manage my own photos on my external drive where I am backing them up on time machine. I don't want them tangled inside iPhoto's individual users Libraries. Because of this, I uncheck the option that asks if I want them copied to the Library when importing. I understand this means I am using a 'referenced library'.
    Why won't iPhoto allow me to delete these referenced files? Why? I know it could do it, but it seems that they have designed it so that it won't. I can see that people might complain that iPhoto is removing their outside files... yes. But make it a hidden option. With red flags and waving hands. Make it a special key stroke. Something, anything please! I want control of my photos.
    To top it off, when I import photos with my camera, I would love to use iPhoto because it is concise and straightforward. The problem is that it (again) wants to bury the camera imported photos into the users' iPhoto Libraries. Why no option to import the files from the camera to a specified location (i.e. my external hard disk library of photos)? Why? I know it could, but it won't.
    I have lost photos this way. My wife uses iPhoto to import photos and they go into her iPhoto library. When I think that all my photos are safe in the photos directory on my external hard disk (where they belong) I am hurt to find out that there were some lost files hidden in one or more of the users Libraries. Oh the horror!
    So in the end, if I want to use iPhoto, I have to import the photos with a different application that will put them in the folder I want. This drives my wife crazy. "Why can't we use iPhoto to import them?" She asks. I say that apple wont let us do it.
    She asks "Why can't I delete these duplicate photos, and the ones I don't like? They keep coming back each time we import." Again, I say, Apple won't let us do it. We have to use the finder and look through them one by one, painful and slow as it is.
    If there are no solutions to these problems, I am soon to be jumping off the iPhoto bandwagon (Picasa?) and losing a little faith in the Tao of Apple.
    Cheers.

    First, thanks for your responses. Sorry if I sounded snarky. Guess that is what happens when you bang your head against a wall
    Terence Devlin wrote:
    When you decide to run a Referenced Library you are saying to iPhoto, "Don't touch those files, I'll manage them". So, iPhoto won't touch them on the way in and won't touch them on the way out. Consistency. After all you "want control of my photos". Don't you?
    Yes. This is the struggle I suppose. I want to use iPhoto as an interface to my photo library. I want it to give me the control to do whatever I want with my photos. Delete them, modify them, resize them, etc. And yes of course, view them.
    Terence Devlin wrote:
    Is there a reason why you insist on running referenced Libraries? You've heard of sharing, right?
    Yes. We actually have soft links setup to use a single shared iPhoto Library. This works well so that any changes/albums I make are immediately available to the other user accounts on our Mac. The problem is that we like to keep our photos in specific directories that are organized on our external drive. When we copy them to the iPhoto Library all the work we do on them (modifying etc) does not affect the 'actual' original files. It only affects the iPhoto copy. Again, this goes back to the fact that we want iPhoto to be an interface to our photos.
    LarryHN wrote:
    One of (the many) things you fail to comprehend is that iPhoto is a relational database and all relational databases must totally control their data - you can not manage the address book database - or an oracle database - or filemaker - etc etc etc - relational databases must be carefully structured and controlled - iPhoto is no different
    I imagine that in this relational database there is a pointer to the location of the original file. Or is the entire file stored in the database? If the file is stored in the database, I can understand this would be a bit more difficult to implement (deleting referenced files, that is). However if only a pointer to the file location is stored, it seems it would be easy to allow the program to delete the referenced file. Plus, it should be faster if the database only stores the link, right? Storing the entire file in my experience can slow the performance. If it stores the link, deleting the file referenced by the link should have no adverse effects on the integrity of the relational database contents.
    LarryHN wrote:
    You either need to use iPhoto the way it works or find another program that works like you want - Ranting to other users about your own personal preferences that do not match most others is futile and a total waste of your time and ours
    Yes, they are my own personal preferences as a user. They are functionality I would love to see in the iPhoto product, and I was hoping there was a slim chance that they do exist and that I was just overlooking them. You have made it clear that the product I am looking for to provide an interface to my photo library is apparently not iPhoto. That is too bad. All it would take to please me as a user is for two simple functions:
    - Ability to delete referenced files.
    - Ability to import from the camera to a specified location.
    Also, I am sure that my needs do match the needs of others. I am not alone with these issues. I have come across similar issues before in my search for these answers. Perhaps others will chime in on this thread.
    I will check out Aperture.
    Yes, my question has been answered. The answer still remains - "Apple won't let us do it". I'm really hoping there is a big 'yet' at the end of this.

Maybe you are looking for

  • Windows in bootcamp gone after software update

    My computer is MacBook Air 11-inch, mid2011 128gb I was using windows in bootcamp but when I recently upgraded the os to OS X mavericks 10.9.4 it was gone. Also at the same time the computer doesn't read my external hard disk anymore which was workin

  • Sql*loader in batch script

    Hi, I am calling a sqlloader and a procedure within a loop inside a batch script. Sometimes, The sqlloader fails and subsequent procedure fails, I am not able move to the next iteration. How to catch oracle errors in batch script Thx.

  • How to convert oracle form fmb file to java swing file using Jdeveloper

    how to convert oracle form fmb file to java swing file using Jdeveloper.Please explain with detailes steps if possible or please give a link where it is available thanks Message was edited by: user591884

  • How to block the keyboard

    We are developing an application that should block the keyboard for all applications running under windows. (A time limited web browser) I know more or less how to do it on my Java Window but I need to block all the machine. Thanks in advance.

  • ICloud Backup not Restoring!

    I got a new iPhone 6 and am trying to restore it with a backup of my iPhone 5S (iOS8) but every time I try it, it gets about a quarter of the way and fails with an error regarding losing internet connection. I have tried 3 different networks, includi