Added ToolBar:create() function. It creats a windows toolbar.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@90 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/ToolBar.h b/rfbplayer/ToolBar.h
index aa59533..e08bd0b 100644
--- a/rfbplayer/ToolBar.h
+++ b/rfbplayer/ToolBar.h
@@ -26,11 +26,15 @@
   ToolBar();
   virtual ~ToolBar();
 
+  // create() creates a windows toolbar. dwStyle is a combination of 
+  // the toolbar control and button styles. It returns TRUE if successful,
+  // or FALSE otherwise.
+  bool create(int tbID, HWND parentHwnd, DWORD dwStyle = WS_CHILD | WS_VISIBLE | TBSTYLE_FLAT);
+
   // getHandle() returns handle to a toolbar window.
   HWND getHandle() { return hwndToolBar; }
 
 protected:
   HWND hwndToolBar;
   int tbID;
-
-};
\ No newline at end of file
+};