Click here to Skip to main content
16,007,443 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralProject management Pin
8-Aug-05 13:18
suss8-Aug-05 13:18 
GeneralRe: Project management Pin
Tad McClellan8-Aug-05 13:26
professionalTad McClellan8-Aug-05 13:26 
GeneralRe: Project management Pin
kc_tri8-Aug-05 13:31
kc_tri8-Aug-05 13:31 
QuestionHow Can I Get Text From a Pocket Word File? Pin
jdugout7-Aug-05 17:03
jdugout7-Aug-05 17:03 
GeneralAdding a field to a ListViewItem Pin
Paolo Ponzano7-Aug-05 9:31
Paolo Ponzano7-Aug-05 9:31 
GeneralRe: Adding a field to a ListViewItem Pin
Marc Clifton8-Aug-05 13:10
mvaMarc Clifton8-Aug-05 13:10 
GeneralRe: Adding a field to a ListViewItem Pin
Paolo Ponzano8-Aug-05 22:35
Paolo Ponzano8-Aug-05 22:35 
GeneralListview and Event on Compact .net fw Pin
Paolo Ponzano7-Aug-05 1:30
Paolo Ponzano7-Aug-05 1:30 
Hello,
I'm trying to develop a simple Explorer, just to kill time, I've got a problem for what concern context menu and listview's item.
I try to explain at my best.
I tryied to use
this.listView1.ItemActivate += new System.EventHandler(this.item_Selected); to catch ItemActivate event and here's the function's code
private void item_Selected(object sender, System.EventArgs e)<br />
		{<br />
			try<br />
			{<br />
				ListViewItem currentItem = this.listView1.FocusedItem;<br />
		--->		currentItem.ListView.ContextMenu = itemMenu;<br />
<br />
				FileInfo f = new FileInfo(currentItem.Text);<br />
				//FileInfo f = new FileInfo(currentItem.Text);<br />
				if(f.Attributes == System.IO.FileAttributes.Directory)


how do I reset the context to default one when no item are selected? and why I've difficulties to unselect the line I checked?? is a problem of itemactivate event??
Thanks
Paolo
GeneralCalling Search Store Proc have problem Pin
Ali Sajadian6-Aug-05 22:59
Ali Sajadian6-Aug-05 22:59 
Generaldisplay ppt slide on a client screen Pin
dap_qk5-Aug-05 20:46
dap_qk5-Aug-05 20:46 
GeneralLost Hotmail Password Pin
jenn1025-Aug-05 3:51
jenn1025-Aug-05 3:51 
GeneralRe: Lost Hotmail Password Pin
Vasudevan Deepak Kumar5-Aug-05 5:19
Vasudevan Deepak Kumar5-Aug-05 5:19 
GeneralSave file Pin
f_n_d5-Aug-05 2:40
f_n_d5-Aug-05 2:40 
GeneralRe: Save file Pin
Pradyumna Gogte5-Aug-05 3:05
Pradyumna Gogte5-Aug-05 3:05 
GeneralRe: Save file Pin
Dan Neely5-Aug-05 3:31
Dan Neely5-Aug-05 3:31 
GeneralC# as scripting lang in MFC App Pin
Ning Hu4-Aug-05 21:20
Ning Hu4-Aug-05 21:20 
Generalconvert c++ function pointer to c# delegate Pin
Adi Arbel4-Aug-05 8:49
Adi Arbel4-Aug-05 8:49 
GeneralRe: convert c++ function pointer to c# delegate Pin
Christian Graus4-Aug-05 19:26
protectorChristian Graus4-Aug-05 19:26 
GeneralRe: convert c++ function pointer to c# delegate Pin
Adi Arbel6-Aug-05 22:37
Adi Arbel6-Aug-05 22:37 
GeneralRe: convert c++ function pointer to c# delegate Pin
Christian Graus7-Aug-05 13:35
protectorChristian Graus7-Aug-05 13:35 
GeneralRe: convert c++ function pointer to c# delegate Pin
Anonymous8-Aug-05 0:52
Anonymous8-Aug-05 0:52 
GeneralRe: convert c++ function pointer to c# delegate Pin
Christian Graus8-Aug-05 13:10
protectorChristian Graus8-Aug-05 13:10 
GeneralRe: convert c++ function pointer to c# delegate Pin
Pradyumna Gogte5-Aug-05 2:00
Pradyumna Gogte5-Aug-05 2:00 
GeneralRe: convert c++ function pointer to c# delegate Pin
Adi Arbel6-Aug-05 21:45
Adi Arbel6-Aug-05 21:45 
GeneralC# and VC.net Pin
shaz jazz4-Aug-05 0:46
shaz jazz4-Aug-05 0:46 

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.