BCGControlBar Pro for MFC
virtual HWND CBCGPToolbarButton::GetHwnd ( )

Returns a handle to a window associated with a toolbar button.

A handle to a window. It can be NULL.

This function returns a handle to a window attached to a toolbar button. Override the GetHwnd member function in a CBCGPToolbarButton - derived class if the class combines the functionality of toolbar buttons and Windows controls.