Maybe try deleting all the generated files manually., coz i dont really see any problem in the little information and the code that you have provided in your first post!!
in AppView class I define a method like that:
void CFileExplorerAppView::CreateListBoxL( )
{
iListBox = new (ELeave) CAknSingleStyleListBox ();
iListBox->SetContainerWindowL(*this);
Forum posts: 463
Clean build.....reallyclean build too is better really
Forum posts: 6
thanks . I have cleaned but it doesnt work yet
Forum posts: 93
can u paste the code here which not work in ur AppView class?
Thanks & Regards,
C Singh
Forum posts: 463
Maybe try deleting all the generated files manually., coz i dont really see any problem in the little information and the code that you have provided in your first post!!
Forum posts: 6
in AppView class I define a method like that:
void CFileExplorerAppView::CreateListBoxL( )
{
iListBox = new (ELeave) CAknSingleStyleListBox ();
iListBox->SetContainerWindowL(*this);
TResourceReader reader;
iEikonEnv->CreateResourceReaderLC( reader, R_MAIN_LISTBOX );
// Create the list box
iListBox->ConstructFromResourceL(reader);
CleanupStack::PopAndDestroy(); // reader
// Add vertical scroll bars (which are visible when necessary)
iListBox->CreateScrollBarFrameL( ETrue );
iListBox->ScrollBarFrame()->SetScrollBarVisibilityL( CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto );
}
I have #include but doesnt work.
Forum posts: 463
What did you #include??
Forum posts: 6
#include in view class
Forum posts: 6
include AppName.rsg in view class
Forum posts: 463
Check if might be AppName_UID3.rsg
Forum posts: 463
Also remember that it should be #include. I am not sure if #include "AppName_UID3.rsg" might work
Forum posts: 6
hello Symbian_Neil
at last it works by include AppName_0xEB192E7A.rsg
Forum posts: 463
Glad to hear that you sorted your problem