My main problem here is that when the Customize dialog begins to show, it disappears again. It's there for less than a second, and my functions to handle the query delete and insert never get called. In the message map: ON_NOTIFY(TBN_QUERYDELETE, IDR_TOOLBAR1, OnQueryDelete) ON_NOTIFY(TBN_QUERYINSERT, IDR_TOOLBAR1, OnQueryInsert) In the header file: afx_msg void OnQueryDelete(TBNOTIFY *tbn, LRESULT *result); afx_msg void OnQueryInsert(TBNOTIFY *tbn, LRESULT *result); Why is the dialog vanishing without ever calling these functions? :confused: thanks, Jake