×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    18

    DrawNow() for compound control returns KERN-EXEC 3

    I'm trying to draw a compound control and It draws everything when the application starts, but whenever DrawNow() is called for one of the controls in the compound control it leaves with KERN-EXEC 3. The compound control is a non-windowing owning control if that helps. I used the following code for construction
    The constructor
    Code:
    SetPosition(TPoint(x, y));
    	SetSize(TSize(KWidth, KHeight));
    	SetExtent(Position(), Size());
    ConstructL()
    Code:
    InitComponentArrayL() ;
    	iArrowB = CDropDownArrow::NewL(iXPosition + KBoxWidth, iYPosition);
    	
    	iArrowB->SetParent(this);
    	iArrowB->SetContainerWindowL(*this);
    	iArrowB->SetObserver(this);
    	
    	Components().AppendLC( iArrowB ) ;
    	
    	CleanupStack::Pop( iArrowB) ;
    Any help would be greatly appreciated

  2. #2
    archerabi
    Guest

    Re: DrawNow() for compound control returns KERN-EXEC 3

    I don't have much understanding of the ComponentArray,but maybe you can try over-riding

    CCoeControl::COmponentControl(TInt)

    and

    TInt CCoeControl::CountCOmponentControls();

Similar Threads

  1. KERN EXEC 0 panic on the second run
    By varshini.muthukrishnan in forum Symbian
    Replies: 1
    Last Post: 2010-04-11, 10:02
  2. getting panic KERN - EXEC 3
    By rohitnegi in forum Symbian User Interface
    Replies: 2
    Last Post: 2010-02-22, 11:01
  3. Replies: 2
    Last Post: 2009-09-08, 08:11
  4. EXit() returns Kern Exec 3 panic
    By jey_ in forum Symbian
    Replies: 5
    Last Post: 2009-03-03, 14:17
  5. Personal
    By JSmith77 in forum PersonalJava
    Replies: 4
    Last Post: 2003-07-30, 12:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×