Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: How to get machine model using VC++/MFC without using WMI Pin
vikasvds12-Jul-09 21:05
vikasvds12-Jul-09 21:05 
AnswerRe: How to get machine model using VC++/MFC without using WMI Pin
kilt9-Jul-09 23:28
kilt9-Jul-09 23:28 
QuestionHow to change .net framework used by Visual Studio 2008? Pin
fujoey9-Jul-09 3:24
fujoey9-Jul-09 3:24 
AnswerRe: How to change .net framework used by Visual Studio 2008? Pin
«_Superman_»9-Jul-09 4:02
professional«_Superman_»9-Jul-09 4:02 
GeneralRe: How to change .net framework used by Visual Studio 2008? Pin
fujoey13-Jul-09 4:28
fujoey13-Jul-09 4:28 
GeneralRe: How to change .net framework used by Visual Studio 2008? Pin
«_Superman_»13-Jul-09 4:42
professional«_Superman_»13-Jul-09 4:42 
Questionsocket programming using MFC' Pin
kir_MFC9-Jul-09 3:11
kir_MFC9-Jul-09 3:11 
AnswerCP IGNORE: REPOST (Vote to remove) Pin
Rajesh R Subramanian9-Jul-09 3:20
professionalRajesh R Subramanian9-Jul-09 3:20 

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.