PCmdEvt

These events are passed to the PFormHandler::command() handler function.


Synopsis

#include <PLEvt.h>

Derivation

  • PFormEvt
  • PCmdEvt
  • Constructors

        PCmdEvt(const PFormEvt& e);
    
    Creates a command event from a form event.

    Public functions

        Word id() const;
    
    Returns the resource id of the selected control.


        Boolean on() const;
    
    Return the state of the control. This is always true for menu items.


    See PFormEvt for inherited public functions.