--- a/CFBDialog.h
+++ b/CFBDialog.h
@@ -37,13 +37,14 @@
 // Overrides
 	// ClassWizard generated virtual function overrides
 	//{{AFX_VIRTUAL(CCFBDialog)
+	public:
+	virtual BOOL PreTranslateMessage(MSG* pMsg);
 	protected:
 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
 	//}}AFX_VIRTUAL
 
 // Implementation
 protected:
-  virtual BOOL PreTranslateMessage(MSG* pMsg);
   void changeitemname(CString arg)
   {
     itemname=arg;