Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Format CEdit for Phone Number Pin
DanYELL10-Jul-09 1:46
DanYELL10-Jul-09 1:46 
QuestionRe: Format CEdit for Phone Number Pin
David Crow10-Jul-09 2:52
David Crow10-Jul-09 2:52 
AnswerRe: Format CEdit for Phone Number Pin
DanYELL10-Jul-09 3:28
DanYELL10-Jul-09 3:28 
GeneralRe: Format CEdit for Phone Number Pin
David Crow10-Jul-09 3:38
David Crow10-Jul-09 3:38 
QuestionLising Windows registred users Pin
RomTibi9-Jul-09 10:17
RomTibi9-Jul-09 10:17 
QuestionRe: Lising Windows registred users Pin
David Crow9-Jul-09 16:13
David Crow9-Jul-09 16:13 
AnswerRe: Lising Windows registred users Pin
RomTibi10-Jul-09 4:36
RomTibi10-Jul-09 4:36 
AnswerRe: Lising Windows registred users Pin
kilt9-Jul-09 23:24
kilt9-Jul-09 23:24 
GeneralRe: Lising Windows registred users Pin
RomTibi10-Jul-09 4:44
RomTibi10-Jul-09 4:44 
QuestionRe: Lising Windows registred users Pin
David Crow10-Jul-09 5:30
David Crow10-Jul-09 5:30 
AnswerRe: Lising Windows registred users Pin
RomTibi11-Jul-09 6:30
RomTibi11-Jul-09 6:30 
GeneralRe: Lising Windows registred users Pin
David Crow14-Sep-09 4:15
David Crow14-Sep-09 4:15 
GeneralRe: Lising Windows registred users Pin
kilt15-Jul-09 6:26
kilt15-Jul-09 6:26 
QuestionEditStreamSetInfo avi file saving problem Pin
nripun9-Jul-09 9:57
nripun9-Jul-09 9:57 
QuestionPopulating a TreeView via Drag and Drop from Windows Explorer Pin
KawiRider9-Jul-09 8:33
KawiRider9-Jul-09 8:33 
AnswerRe: Populating a TreeView via Drag and Drop from Windows Explorer Pin
Stuart Dootson9-Jul-09 14:00
professionalStuart Dootson9-Jul-09 14:00 
Is this using Windows Forms (because the event names sound like Windows Forms names...)?

If so, you might have better luck in the Managed C++/CLI forum[^].

However...first, you need to work out which drop format is the one you need to manipulate. You can get that list from the DragEventArgs object that's passed to your event handler:

private: System::Void treeView1_DragOver(System::Object^  sender, System::Windows::Forms::DragEventArgs^  e)
{
   array<String^>^ formats2 = e->Data->GetFormats();
}


The Data member of the DragEventArgs class also has another method, GetData, that allows you to retrieve the data associated with any one of those formats. You then need to work out how to decipher and use the data for your format (I see one called "Shell IDList Array", which sounds promising). The documentation will come in handy there, as might this CP article[^], which is written in VB.NET, but probably has the detail you need.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Populating a TreeView via Drag and Drop from Windows Explorer Pin
KawiRider9-Jul-09 14:34
KawiRider9-Jul-09 14:34 
GeneralRe: Populating a TreeView via Drag and Drop from Windows Explorer Pin
Stuart Dootson9-Jul-09 14:46
professionalStuart Dootson9-Jul-09 14:46 
GeneralRe: Populating a TreeView via Drag and Drop from Windows Explorer Pin
KawiRider9-Jul-09 15:06
KawiRider9-Jul-09 15:06 
GeneralRe: Populating a TreeView via Drag and Drop from Windows Explorer Pin
Stuart Dootson9-Jul-09 15:14
professionalStuart Dootson9-Jul-09 15:14 
Questionhow to make a PPC turn on and of on preprogramed times? Pin
OwenBurnett9-Jul-09 7:33
OwenBurnett9-Jul-09 7:33 
QuestionCString causing problem in mulithreaded , multi processor environment Pin
Elsie9-Jul-09 6:17
Elsie9-Jul-09 6:17 
AnswerRe: CString causing problem in mulithreaded , multi processor environment Pin
Stuart Dootson9-Jul-09 13:16
professionalStuart Dootson9-Jul-09 13:16 
QuestionHow to get machine model using VC++/MFC without using WMI Pin
vikasvds9-Jul-09 4:24
vikasvds9-Jul-09 4:24 
AnswerRe: How to get machine model using VC++/MFC without using WMI Pin
Mahesh Kulkarni9-Jul-09 19:52
Mahesh Kulkarni9-Jul-09 19:52 

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.