×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    45

    knowing what kind of control having a CCoeControl pointer

    Hi experts,

    is it possible to know what kind of control (Menu, list, etc.) is a general CCoeControl ? if yes how ?

    Thanks,
    Stefano.

  2. #2
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: knowing what kind of control having a CCoeControl pointer

    Quote Originally Posted by stefano.garusi
    Hi experts,

    is it possible to know what kind of control (Menu, list, etc.) is a general CCoeControl ? if yes how ?

    Thanks,
    Stefano.
    CCoeControl Control is a base class from which all other controls are derived.
    we can use ( i would not suggest) dynamic_cast to determine that a particular pointer or reference is class derived from it.

    but skd says that the more sophisticated C++ dynamic_cast operator should not be used because EPOC does not enable or support Run Time Type Information (RTTI).

    Regards,
    vasant.
    Last edited by vasant21; 2006-11-29 at 10:45.

Similar Threads

  1. Replies: 1
    Last Post: 2006-03-03, 23:57
  2. AppUi - Control communication.
    By Subotai4Winds in forum Symbian
    Replies: 1
    Last Post: 2005-01-20, 08:53
  3. Pointer event- Tab control
    By Alicia_S60 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-12-14, 10:12
  4. Linux driver in RedHat 7.3
    By nsolhjoo in forum Multimodecards
    Replies: 0
    Last Post: 2003-10-24, 17:04
  5. control in CCoeControl derived view
    By skbera in forum Symbian User Interface
    Replies: 0
    Last Post: 2002-10-18, 08:32

Posting Permissions

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