if(m_hMenu != NULL) { ::DestroyMenu(m_hMenu); m_hMenu = NULL; } UpdateClientEdge();
if((GetStyle() & (WS_CHILD | WS_POPUP)) == 0) ::PostQuitMessage(1);
	LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)	{		if(m_hMenu != NULL)		{			::DestroyMenu(m_hMenu);			m_hMenu = NULL;		}		UpdateClientEdge();		bHandled = FALSE;		return 1;	}