Example using CCScrollView

Hi all, I am new to cocos2dx. Can anyone show me how to use CCScrollView? I can’t seem to even include it into my scene.cpp. I am using cocos2x 2.1.4 and running on windows eclipse ADT. Thanks in advance

maybe you can refer to this link:http://gl.paea.cn/contents/1c13676aaefecc45.html

Thanks a lot for the link, however, i have issue adding the header. it seems like my eclipse can’t find cocos-ext.h

Sorry,I develop games using Visual Studio,and i do not know much about eclipse.

Oh. ok. thanks a lot anyway. =D

I have no specific experience with eclipse and C++ but it seams a problem with the headers search path.
See if this may help you: http://stackoverflow.com/questions/13298550/eclipse-c-including-header-file-from-my-source-folder

Massimo

Yong He Tan wrote:

Hi all, I am new to cocos2dx. Can anyone show me how to use CCScrollView? I can’t seem to even include it into my scene.cpp. I am using cocos2x 2.1.4 and running on windows eclipse ADT. Thanks in advance

Thanks a lot. but that’s not the problem. it seems like it just won’t take CCScrollView as a class type even if i include the full director path to the file.