#pragma once #include "OpenGLControl.h" #include "afxwin.h" // FragmentDBWindow � dialog class FragmentDBWindow : public CDialog { DECLARE_DYNAMIC(FragmentDBWindow) public: FragmentDBWindow(CWnd* pParent = NULL); // standardn� konstruktor virtual ~FragmentDBWindow(); // Data dialogu #ifdef AFX_DESIGN_TIME enum { IDD = IDD_FRAGMENT_DB_DIALOG }; #endif protected: COpenGLControl openGLControl; virtual void DoDataExchange(CDataExchange* pDX); // Podpora DDX/DDV virtual BOOL OnInitDialog(); vector m_fragment_db; CString m_search_key; DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedCancel(); //afx_msg void OnMouseMove(UINT nFlags, CPoint point); //afx_msg void OnLButtonDown(UINT nFlags, CPoint point); //afx_msg void OnLButtonUp(UINT nFlags, CPoint point); void readFragmentDB(); void refreshDBList(CString key); void loadFromDB(CString name); afx_msg void OnLbnSelchangeList1(); CListBox m_listBox; afx_msg void OnEnChangeEditSearchDb(); CEdit m_selected_name; CEdit m_shelx_restr; CEdit m_atom_list; };