Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
make selected item highlighted in listview
How do I highlight (that is the item is dark blue) a listview item in code?
I need this to happen after messagebox gets displayed in the listview mouseup event. The item was highlighted before the mouseup event, but after the messagebox it will be still selected but in pale grey. Thanks for any advice. RBS |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
make selected item highlighted in listview
Hi RBS:
I'm not real familiar with ListView controls, but can you use the SetFocus method? Regards, Vasant "RB Smissaert" wrote in message ... How do I highlight (that is the item is dark blue) a listview item in code? I need this to happen after messagebox gets displayed in the listview mouseup event. The item was highlighted before the mouseup event, but after the messagebox it will be still selected but in pale grey. Thanks for any advice. RBS |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
make selected item highlighted in listview
Vasant,
That is how I did it in the end. You have to put the focus first in a different control and then on the listview. I suppose you know all this already but the control is much more complex than the listbox and I think there are some bugs with it. RBS "Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message ... Hi RBS: I'm not real familiar with ListView controls, but can you use the SetFocus method? Regards, Vasant "RB Smissaert" wrote in message ... How do I highlight (that is the item is dark blue) a listview item in code? I need this to happen after messagebox gets displayed in the listview mouseup event. The item was highlighted before the mouseup event, but after the messagebox it will be still selected but in pale grey. Thanks for any advice. RBS |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
More than selected rows being highlighted | Excel Discussion (Misc queries) | |||
I need currently selected Excel cell to be highlighted better | Excel Discussion (Misc queries) | |||
Selected cells in Excel 2007 are not highlighted | Excel Discussion (Misc queries) | |||
Is there a macro which adds selected/highlighted cells? | Excel Worksheet Functions | |||
how do i make it so that when a sheat is selected either via link or tab, that xlLastCell is selected. the last on the sheet. | Excel Worksheet Functions |