Drag & Drop in ListView with manifest file = unexpected result.

Started by georgek01, January 18, 2006, 06:00:27 AM

Previous topic - Next topic

georgek01

Hello all Assemblers!

I'm adding drag and drop to a list view and all works fine until I compile with a manifest file included. Now the image and text is all black while dragging.

I've compiled two test apps that I've included to demonstrate the problem - one with manifest and one without. I'm running Win XP SP 1 - so if you running 2000 and do not see the black box then it might just be XP.

Thank you for your assistance!!

Updated attachment for W2K - replaced ebx with ecx

Regards, George.

[attachment deleted by admin]
What we have to learn to do, we learn by doing.

- ARISTOTLE (384-322 BC)

georgek01

Antonis from the WinAsm Form provided the following solution...


DoImageList Proc
Invoke ImageList_LoadImage, hInstance, ICO1, 16, 1, 0FFFFFFH, IMAGE_BITMAP, LR_CREATEDIBSECTION
MOV hImageList, EAX
RET
DoImageList EndP


What we have to learn to do, we learn by doing.

- ARISTOTLE (384-322 BC)