Click here to Skip to main content
15,895,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tri - State button Pin
Alvaro Mendez19-Nov-02 6:26
Alvaro Mendez19-Nov-02 6:26 
GeneralRe: Tri - State button Pin
Anonymous19-Nov-02 6:32
Anonymous19-Nov-02 6:32 
GeneralRe: Tri - State button Pin
Alvaro Mendez19-Nov-02 6:48
Alvaro Mendez19-Nov-02 6:48 
GeneralRe: Tri - State button Pin
Amy Patterson19-Nov-02 7:11
Amy Patterson19-Nov-02 7:11 
QuestionHow to get the difference between two variables of type DATE !! Pin
bahruddina19-Nov-02 5:56
bahruddina19-Nov-02 5:56 
AnswerRe: How to get the difference between two variables of type DATE !! Pin
Chris Losinger19-Nov-02 6:02
professionalChris Losinger19-Nov-02 6:02 
AnswerRe: How to get the difference between two variables of type DATE !! Pin
Alvaro Mendez19-Nov-02 6:10
Alvaro Mendez19-Nov-02 6:10 
GeneralDrag And Droppings ... Pin
Maximilien19-Nov-02 5:34
Maximilien19-Nov-02 5:34 
Howdy'

I'm trying to implement a simple drag'n'drop of objects and I want to be able to drop them outside my application to create new windows ( i.e. detach some element from the main window )

I'm now use the drag'n'drop mechanism to drag some info between the source and the target, which is ok, but I don't/can't drop to somewhere else ?

[Question part ... ]
I've added a derived COleDropTarget to my mainframe and registered the target window, all is working ok inside the application, but I don't exactly know what to register if I let go of the button anywhere else on the screen, whether it's the desktop window, or any other windows under the mouse at that point; I don't think that I have to register a type because I'm not using the clipboard.

The other alternative that I'm trying , is to "simulate" the drag'n'drop by capturing the mouse ( SetCapture ) and processing stuff in the MouseMove and on the MouseUp, do the "drop"; I'm loosing some of the functionnalities that the drag'n'drop automatically offer.

Thanks, and sorry for the rambling ...

Max.
GeneralRe: Drag And Droppings ... Pin
Paul M Watt19-Nov-02 9:59
mentorPaul M Watt19-Nov-02 9:59 
GeneralDumb question.. Pin
RobJones19-Nov-02 5:28
RobJones19-Nov-02 5:28 
GeneralRe: Dumb question.. Pin
Chris Losinger19-Nov-02 6:00
professionalChris Losinger19-Nov-02 6:00 
GeneralRe: Dumb question.. Pin
Alvaro Mendez19-Nov-02 6:02
Alvaro Mendez19-Nov-02 6:02 
GeneralRe: Dumb question.. Pin
RobJones19-Nov-02 6:09
RobJones19-Nov-02 6:09 
Generalstatic_cast Pin
Jon Hulatt19-Nov-02 5:14
Jon Hulatt19-Nov-02 5:14 
GeneralRe: static_cast Pin
Joaquín M López Muñoz19-Nov-02 5:33
Joaquín M López Muñoz19-Nov-02 5:33 
GeneralRe: static_cast Pin
Jon Hulatt19-Nov-02 5:52
Jon Hulatt19-Nov-02 5:52 
GeneralRe: static_cast Pin
Tim Smith19-Nov-02 6:04
Tim Smith19-Nov-02 6:04 
GeneralRe: static_cast Pin
Paul M Watt19-Nov-02 10:05
mentorPaul M Watt19-Nov-02 10:05 
GeneralRe: static_cast Pin
Patje19-Nov-02 21:17
Patje19-Nov-02 21:17 
GeneralCrash in CReBar::AddBar() under .Net Pin
pvlasie19-Nov-02 4:39
pvlasie19-Nov-02 4:39 
QuestionWhere custom ie toolbar is located? Pin
Weiye Chen19-Nov-02 4:17
Weiye Chen19-Nov-02 4:17 
AnswerRe: Where custom ie toolbar is located? Pin
Chris Hambleton19-Nov-02 11:54
Chris Hambleton19-Nov-02 11:54 
GeneralDigital timer MFC/C++ Pin
Justina0119-Nov-02 3:39
Justina0119-Nov-02 3:39 
GeneralRe: Digital timer MFC/C++ Pin
RobJones19-Nov-02 5:31
RobJones19-Nov-02 5:31 
GeneralRe: Digital timer MFC/C++ Pin
valikac19-Nov-02 7:26
valikac19-Nov-02 7:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.