nconsistent CListBox behavior between Windows XP and 2000  
Author Message
GSBatchelor





PostPosted: Top

MFC >> nconsistent CListBox behavior between Windows XP and 2000

Hello,

I have extended the CListBox class so I can select Folders instead of just
Files. When I send the CDM_GETSPEC message to get the currently selected
item, I get the correct folder when I test with Windows XP. However, when I
run my app on Wndows 2000, CDM_GETSPEC returns an empty string (""). Also,
sending of the CDM_GETFILEPATH message works as desired for XP, but only
returns the parent folder in 2000.

Any help would be much appreciated.

-Neil

Visual Studio264