If you have Charles Petzold's "Programming Windows 95" book, look at figure 12.4 on page 603. I am trying to write code that will get the highlighted text "PSM_APPLY" into a string. My approach is to use sendmessage using TVM_GETITEM. So far all attempts have failed. I am attempting this with VB and may not have my TV_ITEM structure quite right. Any thoughts??