win7环境下设计的MFC程序在XP系统下的兼容性有关问题

win7环境下设计的MFC程序在XP系统下的兼容性问题
    在win7环境下设计了一个网络数据包分析程序,主界面是以CListView类为基类显示的分析数据包数据,然后设计一个模态对话框获取上述主界面中内容并在对话框中显示,方法是将主界面中CListView类中的CString字符串通过转化为数组的形式传递数据。在win7环境下运行良好,但是在win xp系统中弹出的视图只显示一小部分,并且时隐时现,拖动视图会显示一连串的拖动痕迹,有时候视图会完全消失不见,出现这样的问题是什么原因????
------解决方案--------------------
是用的VS2005吗?
------解决方案--------------------
在XP下使用Spy++或者

VS6 IDE
Setting a Breakpoint on a Message Received by a Windows Function
You can set message breakpoints to stop the debugger when a particular WndProc function message is received.

Note   Message breakpoints work only on x86- or Pentium-based systems.

To set a breakpoint on a message 

From the Edit menu, click Breakpoints. 
The Breakpoints dialog box appears.

Click the Messages tab.


In the Break At WndProc text box, type the name of the Windows function. 
If you are setting a breakpoint during a debug session, the list contains the exported functions in your project. 

In the Set One Breakpoint For Each Message To Watch list box, select the message.


To set another breakpoint, press ENTER, and then repeat steps 3 and 4. 
The Breakpoints list displays the currently active breakpoints.

Click OK to set the breakpoints. 
Note If you interrupt execution while Windows or other system code is running, the results can be unpredictable.

------解决方案--------------------
别用 mfc