text: #pragma once
  #include "UiWndWindow.h"
  
  class KUiWndFrameCommon : public KUiWndWindow
  {
  public:
  	static KUiWndWindow*	Create();
  	virtual int             Init(HWND hWnd, RECT* pRc, const char *pszName);
  	virtual void			Release();
  	virtual UI_WND_TYPE		Type() { return UI_WND_FRAME; }
  	virtual void			UpdateData(const char* pszName, KUiWndWindowData& data, IIniFile* pIni);
  	virtual void		    Show(int bShow, int nSubWnd = -1);
  protected:
  	KUiWndFrameCommon();
  	~KUiWndFrameCommon();
  	static	LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
  private:
  	void	OnButtonClick(int nBtnId);
  	void	OnUpdateEditText(int nId);
      void    OnChangeDragEdge(int nId, bool bFirst);
  private:
  };