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 Tech Support » OnDeliverCmd question Collapse All
Subject Author Date
tera tera Feb 20, 2009 - 12:46 AM

Hello.


I want to receive only specific ID by a command message in PostMessage

I am derived in CExtBarButton, and is it necessary to improve it?


void CExtBarButton::OnDeliverCmd()

{

    :

    :

    :

    pCmdItem->Deliver(

        pBar,

        true  <--- false

        );

}


Technical Support Feb 23, 2009 - 7:23 AM

Yes, you can create your own CExtBarButton-derived class, override the CExtBarButton::OnDeliverCmd() virtual method and make it posting commands.