Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Developer
Posts: 2
Registered: ‎10-25-2012
My Device: 9900
My Carrier: Airtel

consume SelectedIndexChanged event of SegmentedControl in C++

I want to handle the SelectedIndexChanged event in the c++ code like 


segmentControl = root->findChild<SegmentedControl*>("segmentControl");

bool result = connect(segmentControl, SIGNAL(SegmentedControl::selectedIndexChanged (int)), this, SLOT(handleEvent(int)));


But I am getting compilation error in QNX Momentics IDE  -

Function "SegmentedControl::selectedIndexChanged (int)" can not be resolved




Could somebody help me to resolve the compilation error?