Building an ArcGIS Controls map viewer application
CustomizeDialogEvents.h
// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 

 
#ifndef __CUSTOMIZEDIALOGEVENTS_H_
#define __CUSTOMIZEDIALOGEVENTS_H_

#include <gtk/gtk.h>

// ArcObjects Headers 
// Engine
#include <ArcSDK.h>
// Controls
#include <Ao/AoControls.h>

extern IToolbarControlPtr g_ipToolbarControl;
extern GtkWidget *customize_select;

class CustomizeDialogEvents : public ICustomizeDialogEvents
{
 public:
  
  // IUnknown
  HRESULT __stdcall QueryInterface(REFIID riid, void** ppvObj) { return S_OK; }
  ULONG   __stdcall AddRef()                                   { return 0;    }
  ULONG   __stdcall Release()                                  { return 0;    }

    
  // ICustomizeDialogEvents
  HRESULT __stdcall OnStartDialog();
  HRESULT __stdcall OnCloseDialog();
};

#endif // __CUSTOMIZEDIALOGEVENTS_H_