Jump to content


  • Posts

  • Joined

  • Last visited


clementgirod's Achievements


Newbie (1/14)



  1. QUOTE (Bruno Costa @ May 18 2009, 01:21 PM) Hi Bruno, That's true, you can receive the OS messages from LabVIEW? I found a librairy (Windows Message Queue.llb) on NI web site which allows to catch them. The llb uses a dll, since I don't think it's possible to do the operation directly from LabVIEW. Unfortunatly, the messages are caught at the same time the window catch them so you cannot disable them. Also you cannot write back messages with this librairy. It seems that LV is too high level to handle such low level functions...
  2. QUOTE (crelf @ May 13 2009, 05:47 PM) Hi crelf, Thanks for the example, but I've already tried with the method, but bringing the window to the topmost position is not all I want to do. My main problem is to be able to click on the window and press control on this one without giving focus to this window. The topmost position is not working for that, you can still give focus to the window with a mouse click on it. Thanks anyway for trying to help, I you have other idea you are welcome. Have a great day. Clément
  3. QUOTE (Bruno Costa @ May 12 2009, 10:48 PM) Hi Bruno, Thanks for your answer, unfortunatly the method you proposed is not working for me: bringing my window to the top position doesn't mean is not taking focus when you click on this one. I tried to play with the parameters of the SetWindowsPos, but none of them is giving me the behavior I want to have. Thanks anyway for your help. Clément
  4. QUOTE (asbo @ May 11 2009, 04:35 PM) Hi asbo, Thanks for your answer, but i'm not sure you understood what I want to achieve. I know about the input Device Control VI's, those allow me to catch key pressed on the keyboard or mouse, but it's not what I want to do. What I want to do is to be able to click on a LabVIEW window without giving focus to this window. I'll give you more details: I developped a virtual keyboard to be used on touch screens, so the user won't have a real keyboard. When you press the screen, it's like the pc receiving a mouse click. Now what I want to be able to do is for example on a main application with a graph, the user could change the scaling by a click on the minimum or maximum scale and then using the virtual keyboard entering the new values, or if you want to click on a numeric control to enter a new value. The problem is that you can give focus to a control or the graph scales, but when you press any of the button of the virtual keyboard which is another window from my main vi I loose the focus to my control and it's given to keyboard window. What I want to reproduce is exactly the behavior of the microsoft visual keyboard, it doesn't take focus when you press any key on it. If you can help, I would really appreciate. Thanks Clément
  5. Hello, I'm using LabVIEW 8.6, I would like to give an unusual behavior to a subVI window when opened: I'd like the window to be activated without giving focus to it. What I mean, is that I would like the window to be able to catch even on the front panel like keystroke or mouse click without giving focus to this window. I'd like the focus to stay on another window. A good example of what I want to do is the microsoft visual keyboard installed with Windows: when the visual keyboard in open you can press any button without giving focus to the window. I'd like to reproduce the same behaviour with a labview window. I don't think it's possible with properties or invoke node, I think there might be something to do with the use of user32.dll. If anyone as already done that, or knows how to do it, it would be great. Thanks for helping. Clément DAM
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.