Link against: avkon.lib 
 None
#include <aknlistquerydialog.h>
      
      Inherits CAknQueryDialog, MEikListBoxObserver, and MAknIntermediateState.
This class is be used for list or multiselection list queries.
Public Member Functions | 
         |
| IMPORT_C | CAknListQueryDialog (TInt *aIndex) | 
| C++ default constructor.   | 
         |
| IMPORT_C | CAknListQueryDialog (CListBoxView::CSelectionIndexArray *aSelectionIndexArray) | 
| C++ default constructor.   | 
         |
| virtual IMPORT_C | ~CAknListQueryDialog () | 
| Destructor.   | 
         |
| IMPORT_C void | SetSizeAndPosition (const TSize &aSize) | 
From CEikDialog.   | 
         |
| IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) | 
From CCoeControl.   | 
         |
| IMPORT_C void | HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType) | 
From MEikListBoxObserver.   | 
         |
| IMPORT_C void | SetItemTextArray (MDesCArray *aItemTextArray) | 
| Sets item text array to the listbox.   | 
         |
| IMPORT_C void | SetOwnershipType (TListBoxModelItemArrayOwnership aOwnershipType) | 
| Sets ownership type of the item array.   | 
         |
| IMPORT_C void | SetIconArrayL (CArrayPtr< CGulIcon > *aIcons) | 
| Destroys a possible old icon array in the listbox and installs a new one and takes ownership of the new icon array.   | 
         |
| IMPORT_C CEikListBox * | ListBox () const | 
| Gets list query's listbox.   | 
         |
| IMPORT_C CAknListQueryControl * | ListControl () const | 
Gets pointer to list query control or NULL.   | 
         |
| IMPORT_C CAknMessageQueryControl * | MessageBox () const | 
Gets pointer to message query control or NULL.   | 
         |
| IMPORT_C CAknPopupHeadingPane * | QueryHeading () const | 
Gets pointer to query heading or NULL.   | 
         |
| IMPORT_C void | ActivateL () | 
From CCoeControl.   | 
         |
| IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) | 
From CCoeControl.   | 
         |
| IMPORT_C void | SetTone (TInt aTone) | 
| Sets the tone for the dialog.   | 
         |
| IMPORT_C void | HandleResourceChange (TInt aType) | 
From CCoeControl.   | 
         |
| IMPORT_C void | PublishDialogL (TInt aDialogIndex, TUid aCatUid=KNullUid, CArrayFixFlat< TInt > *aItemIds=0) | 
| IMPORT_C void | SetMediatorObserver (MAknDialogMediatorObserver *aObserver) | 
| Instantiates mediator support and passes possible feedback to given intance.   | 
         |
Protected Member Functions | 
         |
| IMPORT_C void | PreLayoutDynInitL (void) | 
From CEikDialog.   | 
         |
| IMPORT_C void | PostLayoutDynInitL () | 
From CEikDialog.   | 
         |
| IMPORT_C TBool | OkToExitL (TInt aButtonId) | 
From CEikDialog.   | 
         |
| IMPORT_C TInt | BorderStyle () | 
| Gets border style of the list query.   | 
         |
| IMPORT_C void | CloseState () | 
From MAknIntermediateState.   | 
         |
| IMPORT_C CAknSearchField * | FindBox () const | 
| Gets search field if it has been set.   | 
         |
               
               
  | 
         
| 
               
               
                C++ default constructor. 
  | 
         
               
               
  | 
         
| 
               
               
                C++ default constructor. 
  | 
         
               
               
  | 
         
| 
               
               
                Destructor.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Sets the control to be ready for drawing.  | 
         
               
               
  | 
         
| 
               
               
                Gets border style of the list query. 
 Reimplemented from CEikDialog.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Tries to close the query with non-leaving way. Implements MAknIntermediateState.  | 
         
               
               
  | 
         
| 
               
               
                Gets search field if it has been set. 
  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                
                  From  Handles events from listbox. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Handles pointer events. This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer. The control should implement this function to handle pointer events. 
                  Note: events of type  
                  If overriding  
 Reimplemented from CAknQueryDialog.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Handles a change to the control's resources. 
                  The types of resources handled are those which are shared across the environment, e.g. colours or fonts. For colour scheme
                  changes,  
                  If overriding  
 
 Reimplemented from CEikDialog.  | 
         
               
               
  | 
         
| 
               
               
                Gets list query's listbox. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  Gets pointer to list query control or  
  | 
         
               
               
  | 
         
| 
               
               
                
                  Gets pointer to message query control or  
  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                
                  From  
                  Handles key events. When a key event occurs,  
 
 Reimplemented from CAknQueryDialog.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  
                  This function is called by the  
 
 Reimplemented from CAknQueryDialog.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  
                  This function is called by the  Reimplemented from CAknQueryDialog.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  
                  This function is called by the  Reimplemented from CAknQueryDialog.  | 
         
               
               
  | 
         ||||||||||||||||
               
               
               
 
 
  | 
         
               
               
  | 
         
| 
               
               
                
                  Gets pointer to query heading or  
 Reimplemented from CAknQueryDialog.  | 
         
               
               
  | 
         
| 
               
               
                Destroys a possible old icon array in the listbox and installs a new one and takes ownership of the new icon array. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets item text array to the listbox. 
  | 
         
               
               
  | 
         
| 
               
               
                Instantiates mediator support and passes possible feedback to given intance. 
                  If no observer is set, dialog tries to handle feedback by it self. Please note that no commands will be instantiated unless
                  command identifiers are are set using  
 
 Reimplemented from CEikDialog.  | 
         
               
               
  | 
         
| 
               
               
                Sets ownership type of the item array. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Sets the type and position of the list box. 
 Reimplemented from CAknQueryDialog.  | 
         
               
               
  | 
         
| 
               
               
                Sets the tone for the dialog. 
  |