Results 1 to 3 of 3

Thread: ActiveQt - How can I hide an ActiveX control ?

  1. #1
    Join Date
    Jul 2009
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question ActiveQt - How can I hide an ActiveX control ?

    Hi

    I want to use a COM object to perform some backend calculations from my GUI. Since it is not a widget, I used QAxObject to set up the control. But this opens up the control application on the desktop. How can I make the control invisible ? ( Only the controlling GUI should be visible not any other application. )

    Does this depend on the COM interface? Because I cant find a hide method in the QAxObject documentation.

    Thanks
    John

  2. #2
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: ActiveQt - How can I hide an ActiveX control ?

    IMHO use QWidget and QWidget::show()... and ::hide()

  3. #3
    Join Date
    Jul 2009
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Re: ActiveQt - How can I hide an ActiveX control ?

    I tried that. I initialized the control as an instance of QAxWidget and tried hiding it but the application still appears on the desktop.

    But the fact is I dont need QAxWidget, since the control object/application need not appear in my GUI. It is a computational backend. But users should not be able to interact with it.

    I'm new to COM, so much of the interface functionality is very confusing for me. Is there a COM implementation to hide a server that ActiveQt can use?

Similar Threads

  1. Replies: 3
    Last Post: 7th October 2015, 19:43
  2. ActiveQt: How to pass image to ActiveX object?
    By AndreasSchlempp in forum Qt Programming
    Replies: 2
    Last Post: 16th February 2009, 12:44
  3. How to hide dotted lines around the focused control?
    By gimel in forum Qt Programming
    Replies: 3
    Last Post: 6th November 2008, 07:09
  4. ActiveX control
    By Kapil in forum General Discussion
    Replies: 0
    Last Post: 4th October 2006, 09:56
  5. Replies: 6
    Last Post: 3rd February 2006, 09:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.