Click here to Skip to main content
15,884,898 members
Home / Discussions / C#
   

C#

 
QuestionAdd a signature to an e - mail message Pin
Christiaan Laubscher6-May-08 5:21
Christiaan Laubscher6-May-08 5:21 
AnswerRe: Add a signature to an e - mail message Pin
Dave Kreskowiak6-May-08 5:49
mveDave Kreskowiak6-May-08 5:49 
GeneralMessage Removed Pin
6-May-08 19:55
Christiaan Laubscher6-May-08 19:55 
GeneralRe: Add a signature to an e - mail message Pin
Dave Kreskowiak7-May-08 1:59
mveDave Kreskowiak7-May-08 1:59 
AnswerRe: Add a signature to an e - mail message Pin
Thomas Stockwell6-May-08 8:13
professionalThomas Stockwell6-May-08 8:13 
AnswerRe: Add a signature to an e - mail message Pin
Reelix8-May-08 0:34
Reelix8-May-08 0:34 
QuestionHow can i remain focus on the listview [modified] Pin
Naveed7276-May-08 4:55
Naveed7276-May-08 4:55 
AnswerRe: How can i remain focus on the listview Pin
LongRange.Shooter7-May-08 7:53
LongRange.Shooter7-May-08 7:53 
It has been awhile since I coded any drag-and-drop events but there are things you must do to have it happen correctly. I believe the issue goes beyond getting focus for your listview.

Panel1 I believe must be set to that you catch the beginning of the drag event.
From the event you can review what object is being chosen and approve or deny it.
If approved you must then put that object (or representative of it) in the clipboard.
Now in Panel2 -or- in your ListView you need to capture the dragover(?) or dragenter(?) event. Basically it is raised any time an item is dragged over it. If you do not catch this event then you will never be allowed to drop anything.

In the event handler you would then interrogate the clipboard to determine if the object type is what you would allow..and if so return the indicator in the event args that you will accept the object.

Finally your drop event either in Panel2 or your ListView (your broken english was readable but not clear as to whether you are dropping in the second panel or your listview). When you get the event, you can then
1) pull the object from the clipboard
2) get out of it the items/files/work you need to get out of it
3) do your population

Hope this helps. I'd suggest you google Coding Drag And Drop to see if you can find more details that can help you solve your problem. You will especially need it when adding the object to the clipboard. I remember havin one object that I could not add and don't remember the attributes that had to be added to make it addable.
QuestionHow Do I Force A Mouse Movement And Click? Pin
qszwdxefc6-May-08 4:26
qszwdxefc6-May-08 4:26 
AnswerRe: How Do I Force A Mouse Movement And Click? Pin
Roman Muntyanu6-May-08 4:31
Roman Muntyanu6-May-08 4:31 
GeneralRe: How Do I Force A Mouse Movement And Click? Pin
qszwdxefc6-May-08 4:33
qszwdxefc6-May-08 4:33 
GeneralRe: How Do I Force A Mouse Movement And Click? Pin
Reelix6-May-08 5:20
Reelix6-May-08 5:20 
GeneralRe: How Do I Force A Mouse Movement And Click? Pin
That Asian Guy7-May-08 15:20
That Asian Guy7-May-08 15:20 
AnswerRe: How Do I Force A Mouse Movement And Click? Pin
Reelix8-May-08 0:31
Reelix8-May-08 0:31 
AnswerRe: How Do I Force A Mouse Movement And Click? Pin
Naveed7276-May-08 5:19
Naveed7276-May-08 5:19 
AnswerRe: How Do I Force A Mouse Movement And Click? Pin
Luc Pattyn6-May-08 6:16
sitebuilderLuc Pattyn6-May-08 6:16 
GeneralRe: How Do I Force A Mouse Movement And Click? [modified] Pin
qszwdxefc6-May-08 10:06
qszwdxefc6-May-08 10:06 
QuestionCannot find Mutex created in win service from win application Pin
Roman Muntyanu6-May-08 4:25
Roman Muntyanu6-May-08 4:25 
AnswerRe: Cannot find Mutex created in win service from win application Pin
Roman Muntyanu6-May-08 4:45
Roman Muntyanu6-May-08 4:45 
AnswerRe: Cannot find Mutex created in win service from win application Pin
S. Senthil Kumar6-May-08 4:51
S. Senthil Kumar6-May-08 4:51 
GeneralRe: Cannot find Mutex created in win service from win application Pin
Roman Muntyanu7-May-08 7:43
Roman Muntyanu7-May-08 7:43 
QuestionUsing "using" Pin
#realJSOP6-May-08 4:02
mve#realJSOP6-May-08 4:02 
AnswerRe: Using "using" Pin
Pete O'Hanlon6-May-08 4:17
mvePete O'Hanlon6-May-08 4:17 
GeneralRe: Using "using" Pin
N a v a n e e t h6-May-08 4:25
N a v a n e e t h6-May-08 4:25 
GeneralRe: Using "using" Pin
tgrt6-May-08 4:42
tgrt6-May-08 4:42 

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.