Results 1 to 3 of 3

Thread: Problem with drag&drop in qlistview

  1. #1
    Join Date
    Sep 2006
    Posts
    6

    Default Problem with drag&drop in qlistview

    Hi everybody,

    I'm developping an application using QT3 and visual C++6.
    One of my interfaces contains 2 qlistview objects where I can drag one element from the first and drop it in the second.
    It worked fine until I added this line in my main function:

    Qt Code:
    1. HRESULT hr = CoInitializeEx(NULL,COINIT_MULTITHREADED );
    To copy to clipboard, switch view to plain text mode 

    What am I doing wrong?

    Thanks for helping me.

  2. #2
    Join Date
    Sep 2006
    Posts
    6

    Default Re: Problem with drag&drop in qlistview

    No body has seen this problem before?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with drag&drop in qlistview

    Apparently the problem is with WinAPI not with Qt. Maybe if you describe what exactly happens someone will be able to help you. Maybe this line spawns some thread which ruins the QApplication object?

Similar Threads

  1. QListView & backgroundBrush -> Houston we hv a problem
    By travis in forum Qt Programming
    Replies: 3
    Last Post: 31st July 2006, 08:13
  2. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 13:45
  3. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 22:36
  4. Replies: 16
    Last Post: 7th March 2006, 16:57
  5. Keeping focus at bottom of QListView
    By jakamph in forum Qt Programming
    Replies: 4
    Last Post: 10th January 2006, 15:45

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.