Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsaving dibsectionbits into avi?? Pin
Kiran Satish3-Mar-10 18:54
Kiran Satish3-Mar-10 18:54 
AnswerRe: saving dibsectionbits into avi?? Pin
normanS3-Mar-10 20:38
normanS3-Mar-10 20:38 
QuestionRaw Image & GUI- Newbie Pin
Trevor Johansen3-Mar-10 18:35
Trevor Johansen3-Mar-10 18:35 
AnswerRe: Raw Image & GUI- Newbie Pin
KingsGambit3-Mar-10 20:09
KingsGambit3-Mar-10 20:09 
AnswerRe: Raw Image & GUI- Newbie Pin
Tim Craig4-Mar-10 19:25
Tim Craig4-Mar-10 19:25 
GeneralRe: Raw Image & GUI- Newbie Pin
Trevor Johansen5-Mar-10 16:12
Trevor Johansen5-Mar-10 16:12 
GeneralRe: Raw Image & GUI- Newbie Pin
Tim Craig5-Mar-10 18:07
Tim Craig5-Mar-10 18:07 
QuestionMFC Tree Pin
RakeshManohar3-Mar-10 17:43
RakeshManohar3-Mar-10 17:43 
Hi,
I'm new in MFC.
I am using Customized CTreeCtrl for Drag n' Drop operation from one tree to the another tree.
Tree1 -> Library (which only support drag and drop from itself to the another tree)
Tree2 -> Project (Here we can drag an item from library to the project and also we can rearrange the item from itself also ie: Unable to drag n' drop an item from project to Library).

Tree2->Here before adding items from library i can also deserialize the available message and display it in the tree view and can make changes in it.

I found one useful article from Code Project here it is[http://www.codeproject.com/KB/tree/ExtrendedTreeCtrlDrag.aspx].

I implemented this in my project view for the deserialised message. I can drag and drop an item with images from the tree itself which also draws drop target line.

I can drag an item with image up to the end of the library window when the pointer reaches the next window drag image disappear and shows it in some other place also unable to draw target line in the project view.

I have Base class CTreeDragDropConrol inherited from the CTreeCtrl
Also Have
CPjtTreeDragDropCtrl -> Inherited from CTreeDragDropConrol (Which have timer to draw the Target line).
CLibTreedragDropCtrl -> Inherited from CTreeDragDropConrol (Which have no timer).

Both the class have single DropTarget.

How can i support drag with image from one window to another,
Can any one please help me.

Regards,
Rakesh.
QuestionGetHandle Pin
john56323-Mar-10 16:44
john56323-Mar-10 16:44 
AnswerRe: GetHandle Pin
Stephen Hewitt3-Mar-10 17:26
Stephen Hewitt3-Mar-10 17:26 
GeneralRe: GetHandle Pin
john56323-Mar-10 17:32
john56323-Mar-10 17:32 
GeneralRe: GetHandle Pin
Adam Roderick J3-Mar-10 17:35
Adam Roderick J3-Mar-10 17:35 
GeneralRe: GetHandle Pin
john56323-Mar-10 17:37
john56323-Mar-10 17:37 
GeneralRe: GetHandle Pin
john56323-Mar-10 17:41
john56323-Mar-10 17:41 
GeneralRe: GetHandle Pin
Adam Roderick J3-Mar-10 17:46
Adam Roderick J3-Mar-10 17:46 
GeneralRe: GetHandle Pin
john56323-Mar-10 17:50
john56323-Mar-10 17:50 
GeneralRe: GetHandle Pin
Adam Roderick J3-Mar-10 18:06
Adam Roderick J3-Mar-10 18:06 
GeneralRe: GetHandle Pin
john56323-Mar-10 18:08
john56323-Mar-10 18:08 
GeneralRe: GetHandle Pin
Adam Roderick J3-Mar-10 18:16
Adam Roderick J3-Mar-10 18:16 
GeneralRe: GetHandle Pin
john56323-Mar-10 18:28
john56323-Mar-10 18:28 
GeneralRe: GetHandle Pin
KarstenK3-Mar-10 21:39
mveKarstenK3-Mar-10 21:39 
AnswerRe: GetHandle Pin
Adam Roderick J3-Mar-10 17:32
Adam Roderick J3-Mar-10 17:32 
GeneralRe: GetHandle Pin
john56323-Mar-10 17:34
john56323-Mar-10 17:34 
GeneralRe: GetHandle Pin
Adam Roderick J3-Mar-10 17:48
Adam Roderick J3-Mar-10 17:48 
QuestionControl Bar Focus Issue [modified] [SOLVED] Pin
Kyudos3-Mar-10 16:21
Kyudos3-Mar-10 16:21 

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.