U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Problem with Drag&Drop in ArrayCtrl
Problem with Drag&Drop in ArrayCtrl [message #22440] Wed, 15 July 2009 18:02 Go to previous message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
Hello all

Drag&Drop in ArrayCtrl works perfect for me but when doing UpdateRefresh it seems to be disconnected.

index.php?t=getfile&id=1847&private=0

In the image "A" is a TreeCtrl and "B" and "C" are a two lists of a class derived from ArrayCtrl to show images and with Drag&Drop enabled.

In the application a folder is selected in "A", and the list of files as thumbnails appear in "B".
As a folder can have many files I fill "B" with empty images initially and there is a SetTimeCallback function called every 200 ms that loads one thumbnail and does an UpdateRefresh.

While the thumbnails are loaded it is possible to select the rows in "B" perfectly, but it is not possible to Drag&Drop from "B" to "C".
Then when all thumbnails are loaded, Drag&Drop is possible.

Do you have any idea?

Best regards
Koldo
  • Attachment: Dib.PNG
    (Size: 55.83KB, Downloaded 1152 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Substring formating in ArrayCtrl (SqlCtrl)
Next Topic: Right Click on GridCtrl
Goto Forum:
  


Current Time: Thu Jun 18 16:12:14 GMT+2 2026

Total time taken to generate the page: 0.00756 seconds