Drag and Drop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MT00KSTN - Hai Ly Hoang

    #1

    Drag and Drop

    I want my application to show a window (named W1).
    When the user drag an icon from Window Explorer to window W1, my application
    will do certain thing on that file. How to implement the drag operation ?



  • Simon Trew

    #2
    Re: Drag and Drop

    Check out DragAcceptFiles API and WM_DROPFILES message
    http://msdn.microsoft.com/library/de...cceptfiles.asp

    " MT00KSTN - Hai Ly Hoang" <ReplyToGroup@M ail.com> wrote in message
    news:%23oyoGn6n DHA.2500@TK2MSF TNGP10.phx.gbl. ..[color=blue]
    > I want my application to show a window (named W1).
    > When the user drag an icon from Window Explorer to window W1, my[/color]
    application[color=blue]
    > will do certain thing on that file. How to implement the drag operation ?
    >
    >
    >[/color]


    Comment

    Working...