![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | DragEnter Does Not Fire? I have a DataGridView on the form with AllowDrop = true when I drag a file from windows Explorer on DataGridView Mouse Pointer becomes a No Icon And DragEnter Does not Fire! It fires when I Initiate a Drag Drop from within the C# Application! What Should I do? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: DragEnter Does Not Fire? Leon, Can you show us the documentation where is written that you can drag a file to a to DataGridView (or do you mean an image)? Cor "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message news:u6w%23FS$lJHA.4372@xxxxxx Quote: >I have a DataGridView on the form with AllowDrop = true when I drag a file >from windows Explorer on DataGridView Mouse Pointer becomes a No Icon And >DragEnter Does not Fire! > > It fires when I Initiate a Drag Drop from within the C# Application! > > What Should I do? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: DragEnter Does Not Fire? Sorry I dont Get it? I thought the DragEnter Should get Fired every time I dragged over it no matter what I drag!? If no, What should I do then, to get the names of files dragged into my application from Windows Explorer? "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message news:OryzlV$lJHA.1292@xxxxxx Quote: > Leon, > > Can you show us the documentation where is written that you can drag a > file to a to DataGridView (or do you mean an image)? > > Cor > > "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message > news:u6w%23FS$lJHA.4372@xxxxxx Quote: >>I have a DataGridView on the form with AllowDrop = true when I drag a file >>from windows Explorer on DataGridView Mouse Pointer becomes a No Icon And >>DragEnter Does not Fire! >> >> It fires when I Initiate a Drag Drop from within the C# Application! >> >> What Should I do? |
My System Specs![]() |
| | #4 (permalink) |
| | Re: DragEnter Does Not Fire? For sure not use a DataGridView as that is mainly intended for a Database. A listview like in explorer itself will in my ide be definitly a better choise. Cor "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message news:OWaZ5x$lJHA.1248@xxxxxx Quote: > Sorry I dont Get it? > I thought the DragEnter Should get Fired every time I dragged over it no > matter what I drag!? > > If no, What should I do then, to get the names of files dragged into my > application from Windows Explorer? > > "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message > news:OryzlV$lJHA.1292@xxxxxx Quote: >> Leon, >> >> Can you show us the documentation where is written that you can drag a >> file to a to DataGridView (or do you mean an image)? >> >> Cor >> >> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >> news:u6w%23FS$lJHA.4372@xxxxxx Quote: >>>I have a DataGridView on the form with AllowDrop = true when I drag a >>>file from windows Explorer on DataGridView Mouse Pointer becomes a No >>>Icon And DragEnter Does not Fire! >>> >>> It fires when I Initiate a Drag Drop from within the C# Application! >>> >>> What Should I do? |
My System Specs![]() |
| | #5 (permalink) |
| | Re: DragEnter Does Not Fire? Still Problem ramains: The ListView DragEnter Does not Fire!? What Should I do? "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message news:uRg5uFAmJHA.1184@xxxxxx Quote: > For sure not use a DataGridView as that is mainly intended for a Database. > > A listview like in explorer itself will in my ide be definitly a better > choise. > > Cor > > "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message > news:OWaZ5x$lJHA.1248@xxxxxx Quote: >> Sorry I dont Get it? >> I thought the DragEnter Should get Fired every time I dragged over it no >> matter what I drag!? >> >> If no, What should I do then, to get the names of files dragged into my >> application from Windows Explorer? >> >> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message >> news:OryzlV$lJHA.1292@xxxxxx Quote: >>> Leon, >>> >>> Can you show us the documentation where is written that you can drag a >>> file to a to DataGridView (or do you mean an image)? >>> >>> Cor >>> >>> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >>> news:u6w%23FS$lJHA.4372@xxxxxx >>>>I have a DataGridView on the form with AllowDrop = true when I drag a >>>>file from windows Explorer on DataGridView Mouse Pointer becomes a No >>>>Icon And DragEnter Does not Fire! >>>> >>>> It fires when I Initiate a Drag Drop from within the C# Application! >>>> >>>> What Should I do? >>> |
My System Specs![]() |
| | #6 (permalink) |
| | Re: DragEnter Does Not Fire? There are samples on Internet how to drag from Explorer to the Listview, in fact it is the same control "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message news:ujkJwLAmJHA.1288@xxxxxx Quote: > Still Problem ramains: > The ListView DragEnter Does not Fire!? > What Should I do? > > "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message > news:uRg5uFAmJHA.1184@xxxxxx Quote: >> For sure not use a DataGridView as that is mainly intended for a >> Database. >> >> A listview like in explorer itself will in my ide be definitly a better >> choise. >> >> Cor >> >> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >> news:OWaZ5x$lJHA.1248@xxxxxx Quote: >>> Sorry I dont Get it? >>> I thought the DragEnter Should get Fired every time I dragged over it no >>> matter what I drag!? >>> >>> If no, What should I do then, to get the names of files dragged into my >>> application from Windows Explorer? >>> >>> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message >>> news:OryzlV$lJHA.1292@xxxxxx >>>> Leon, >>>> >>>> Can you show us the documentation where is written that you can drag a >>>> file to a to DataGridView (or do you mean an image)? >>>> >>>> Cor >>>> >>>> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >>>> news:u6w%23FS$lJHA.4372@xxxxxx >>>>>I have a DataGridView on the form with AllowDrop = true when I drag a >>>>>file from windows Explorer on DataGridView Mouse Pointer becomes a No >>>>>Icon And DragEnter Does not Fire! >>>>> >>>>> It fires when I Initiate a Drag Drop from within the C# Application! >>>>> >>>>> What Should I do? >>>> >>> |
My System Specs![]() |
| | #7 (permalink) |
| | Re: DragEnter Does Not Fire? I have seen many drag drop examples that use DragEnter and its event argument BUT within the same application! I havent seen any that uses drag from another App into your .Net App! could you possibly give an example URL! "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message news:uB7DzbAmJHA.500@xxxxxx Quote: > There are samples on Internet how to drag from Explorer to the Listview, > in fact it is the same control > > > "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message > news:ujkJwLAmJHA.1288@xxxxxx Quote: >> Still Problem ramains: >> The ListView DragEnter Does not Fire!? >> What Should I do? >> >> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message >> news:uRg5uFAmJHA.1184@xxxxxx Quote: >>> For sure not use a DataGridView as that is mainly intended for a >>> Database. >>> >>> A listview like in explorer itself will in my ide be definitly a better >>> choise. >>> >>> Cor >>> >>> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >>> news:OWaZ5x$lJHA.1248@xxxxxx >>>> Sorry I dont Get it? >>>> I thought the DragEnter Should get Fired every time I dragged over it >>>> no matter what I drag!? >>>> >>>> If no, What should I do then, to get the names of files dragged into my >>>> application from Windows Explorer? >>>> >>>> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message >>>> news:OryzlV$lJHA.1292@xxxxxx >>>>> Leon, >>>>> >>>>> Can you show us the documentation where is written that you can drag a >>>>> file to a to DataGridView (or do you mean an image)? >>>>> >>>>> Cor >>>>> >>>>> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >>>>> news:u6w%23FS$lJHA.4372@xxxxxx >>>>>>I have a DataGridView on the form with AllowDrop = true when I drag a >>>>>>file from windows Explorer on DataGridView Mouse Pointer becomes a No >>>>>>Icon And DragEnter Does not Fire! >>>>>> >>>>>> It fires when I Initiate a Drag Drop from within the C# Application! >>>>>> >>>>>> What Should I do? >>>>> >>>> >>> |
My System Specs![]() |
| | #8 (permalink) |
| | Re: DragEnter Does Not Fire? Are you setting AllowDrop=true? Once that is set, using: e.Effect= DragDropEffects.Copy in DragEneter handler should work -------- - G Himangi, LogicNP Software http://www.ssware.com Shell MegaPack: GUI Controls For Drop-In Windows Explorer like File/Folder Browsing Functionality (.Net & ActiveX Editions). EZNamespaceExtensions: Develop namespace extensions rapidly in .Net and MFC/ATL/C++ EZShellExtensions: Develop all shell extensions,explorer bars and BHOs rapidly in .Net & MFC/ATL/C++ --------- "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message news:etBrY%23AmJHA.4180@xxxxxx Quote: >I have seen many drag drop examples that use DragEnter and its event >argument BUT within the same application! > I havent seen any that uses drag from another App into your .Net App! > > could you possibly give an example URL! > > "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message > news:uB7DzbAmJHA.500@xxxxxx Quote: >> There are samples on Internet how to drag from Explorer to the Listview, >> in fact it is the same control >> >> >> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >> news:ujkJwLAmJHA.1288@xxxxxx Quote: >>> Still Problem ramains: >>> The ListView DragEnter Does not Fire!? >>> What Should I do? >>> >>> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message >>> news:uRg5uFAmJHA.1184@xxxxxx >>>> For sure not use a DataGridView as that is mainly intended for a >>>> Database. >>>> >>>> A listview like in explorer itself will in my ide be definitly a better >>>> choise. >>>> >>>> Cor >>>> >>>> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >>>> news:OWaZ5x$lJHA.1248@xxxxxx >>>>> Sorry I dont Get it? >>>>> I thought the DragEnter Should get Fired every time I dragged over it >>>>> no matter what I drag!? >>>>> >>>>> If no, What should I do then, to get the names of files dragged into >>>>> my application from Windows Explorer? >>>>> >>>>> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message >>>>> news:OryzlV$lJHA.1292@xxxxxx >>>>>> Leon, >>>>>> >>>>>> Can you show us the documentation where is written that you can drag >>>>>> a file to a to DataGridView (or do you mean an image)? >>>>>> >>>>>> Cor >>>>>> >>>>>> "Leon_Amirreza" <r_rahmaty@xxxxxx> wrote in message >>>>>> news:u6w%23FS$lJHA.4372@xxxxxx >>>>>>>I have a DataGridView on the form with AllowDrop = true when I drag a >>>>>>>file from windows Explorer on DataGridView Mouse Pointer becomes a No >>>>>>>Icon And DragEnter Does not Fire! >>>>>>> >>>>>>> It fires when I Initiate a Drag Drop from within the C# Application! >>>>>>> >>>>>>> What Should I do? >>>>>> >>>>> >>>> >>> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Need to click twice to fire an Event | .NET General | |||
| Turtle Creek Fire | Vista General | |||
| chocolate fire guard... | Vista General | |||
| FIRE FIRE !!!!!Video Games play over second page | Vista General | |||