Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtPropertyGridComboBoxBar event handling Collapse All
Subject Author Date
s p Jan 22, 2008 - 5:33 AM

How can I handle the selection changed event of the CExtPropertyGridComboBoxBar?

I’ve tried it with overriding the OnFilterPopupListSelChanged function, but it doesn’t work.

I’m using the CMyComboBox for the property grid combo. The code looks like this :

class CMyComboBox : public CExtPropertyGridComboBoxBar
{
private:
    CMyComboBox() : CExtPropertyGridComboBoxBar() {}
    virtual void OnFilterPopupListSelChanged();
};

void CMyComboBox::OnFilterPopupListSelChanged()
{
    //some code
}

What am I missing? Thanks for any help.

Technical Support Jan 23, 2008 - 1:21 AM

It seems you should override the CExtPropertyGridCtrl::OnPgcStoreSelect() virtual method in a CExtPropertyGridCtrl-derived class.