CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    13

    Drag & Drop for static controls

    I have a simple Win32 program that creates a dialog with a static listbox control. I want to be able to drag&drop files onto this listbox, so I check "Accept Files" in the resource editor. However, I understand that the WM_DROPFILES message is only intended for the parent window/dialog, so I can't use WM_DROPFILES to process messages for its child controls.

    Is there some other way to process Drag&Drop messages for static child controls in the parent window proc? If not, how do I process them?

  2. #2
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Re: Drag & Drop for static controls

    Even I have the same question as above.

    How to control the drag and drop on different cstatic control boxes on a single dialog box

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured