| |
|
|
Uwe ''Pascal'' Niemeier | Hello people!
I Have there yet what found, from the I do not knows, whether it one feature or one bow is
with GetCurSel(GridBox&) can Yes whom marked Sign in of/ one GridBOX (ListView) detect.
If one but whom entry de-selektiert, because one with the mouse on a vain place below the Entries in the Box clicking, supply GetCurSel still the value the lastly marked Eintrages back.
The systemnahe Variante SendMessage(GridBox&,~LVM_GETNEXTITEM,-1,~LVNI_SELECTED) against it yields in the drop Correctly -1 (no entry markiert).
must the so his? (if Yes, ought to somewhere hereon hingewiesen go)
SeeYou Pascal |
|
|
| |
|
|
|
RGH | Hello Pascal, your Solution functions but not Gridboxen with Multiple choice, there with LVNI_SELECTED only The first selected row, not but the The whom Cursor has, found becomes, I against Search to the row, The whom Cursor has. And if one in a nichtvorhandene row clicking, disappears of course The Selektion, but not the Focus. I must means both join and the row find, The whom Focus has and at the same time select is. i think, the I get there! ;)
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 10/26/06 ▲ |
|
|
|