Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Saving a pointer to file Pin
Paul M Watt19-Nov-02 11:34
mentorPaul M Watt19-Nov-02 11:34 
GeneralRe: Saving a pointer to file Pin
S van Leent20-Nov-02 7:12
S van Leent20-Nov-02 7:12 
GeneralHELP WANTED! Pin
MFC is the Best19-Nov-02 7:49
MFC is the Best19-Nov-02 7:49 
GeneralRe: HELP WANTED! Pin
Maximilien19-Nov-02 8:02
Maximilien19-Nov-02 8:02 
GeneralRe: HELP WANTED! Pin
MFC is the Best19-Nov-02 8:05
MFC is the Best19-Nov-02 8:05 
GeneralRe: HELP WANTED! Pin
Maximilien19-Nov-02 8:17
Maximilien19-Nov-02 8:17 
GeneralNeed definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Dominik Reichl19-Nov-02 7:27
Dominik Reichl19-Nov-02 7:27 
GeneralRe: Need definitions of constants for SetupDiGetDeviceRegistryProperty Pin
User 665819-Nov-02 7:47
User 665819-Nov-02 7:47 
GeneralRe: Need definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Dominik Reichl19-Nov-02 10:02
Dominik Reichl19-Nov-02 10:02 
GeneralGDI related Pin
Imran Farooqui19-Nov-02 7:04
Imran Farooqui19-Nov-02 7:04 
GeneralRe: GDI related Pin
Christian Graus19-Nov-02 8:20
protectorChristian Graus19-Nov-02 8:20 
GeneralRe: GDI related Pin
Paul M Watt19-Nov-02 8:24
mentorPaul M Watt19-Nov-02 8:24 
QuestionMaximize my app drawing even over the MS Windows taskbar? Pin
Joan M19-Nov-02 6:27
professionalJoan M19-Nov-02 6:27 
AnswerRe: Maximize my app drawing even over the MS Windows taskbar? Pin
RobJones19-Nov-02 8:58
RobJones19-Nov-02 8:58 
AnswerRe: Maximize my app drawing even over the MS Windows taskbar? Pin
RobJones19-Nov-02 9:07
RobJones19-Nov-02 9:07 
Answertutorial for this Pin
zenboy19-Nov-02 14:27
zenboy19-Nov-02 14:27 
GeneralTri - State button Pin
Anonymous19-Nov-02 6:12
Anonymous19-Nov-02 6:12 
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.

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.