00001
00002
00003
00004 #ifndef APPBAR_H
00005 #define APPBAR_H
00006
00007 #include "Window.h"
00008 #include <shellapi.h>
00009
00010 namespace wkgl {
00011
00023 class AppBar : public Window
00024 {
00025 protected:
00026 APPBARDATA adata;
00027 BOOL unreg;
00028
00032 virtual BOOL registerAppBar( BOOL reg );
00033 public:
00037 AppBar( HINSTANCE inst, UINT edge = ABE_TOP, RECT *pos = NULL );
00038
00042 virtual ~AppBar();
00043
00047 virtual RECT getPosition();
00048
00052 virtual void setPosition( UINT edge = NULL, RECT *rect = NULL );
00053
00057 virtual UINT getEdge();
00058
00062 friend void appBarCallback( HWND hwndAccessBar, UINT uNotifyMsg,
00063 LPARAM lParam);
00064
00068 friend void appBarSetPosition( APPBARDATA &adata, UINT edge = NULL,
00069 RECT *rect = NULL );
00070 };
00071
00072 }
00073 #endif