flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
wisepenguin 25 Jul 2006, 21:08
DragAcceptFiles
DragQueryFile WM_DROPFILES are things you should look for in the platform SDK i think they're the functions, you tell Windows which "window" you want to get dropped files and handle the WM_DROPFILES message which has an array of filenames that are dropped for your sample, im not sure whether it would work but pass the hWnd of each edit control to a call to DragAcceptFiles |
|||
![]() |
|
UCM 25 Jul 2006, 21:32
Yes, I know these, but how would I capture the WM_DROPFILES messages? Are they sent to the edit control, or to the dialog?
|
|||
![]() |
|
wisepenguin 26 Jul 2006, 12:11
oh right sorry.
yes you need to handle the WM_DROPFILES in the WindowProc of the hWnd you sent to DragAcceptFiles. for edit controls, you will need to call SetWIndowLong, hEdit, GWL_WNDPROC, newwndprocaddress and in that windowproc you need CallWindowProc, oldwindproc etc DragAcceptFiles, hWnd, activate the hWnd you pass is the one that is used for notification hope that clears it up for you |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.