Panel.h:
#ifndef _PANEL_H
#define _PANEL_H
#include <windows.h>
typedef LRESULT CALLBACK (* WinPro)(HWND, UINT, WPARAM, LPARAM);
class Panel
{
      public:
            Panel(HWND tmpParent);
            void CreateHandle(void); 
            void SetColor(COLORREF tmpColor);
            void SetXY(int tmpX, int tmpY);
            void SetWidth(int tmpW, int tmpH); 
            void SetWndP(WinPro);
            HINSTANCE hInstance;
            ~Panel();
      protected:
      private:
             COLORREF Color;
             DWORD Style;
             DWORD ExStyle;
             int X, Y;
             int Width, Height;
             HWND WndParent;
             WNDCLASSEX wincl;
             LPSTR WinClassName;
             HWND Fhadle;
             WinPro WndProce;
};
#endif