whats wrong with the following code:
?
i'm trying to get the standard copy button... not sure how these work yet.
Include "WB3DStyles.bb" Global RuntimeWindow_hWnd = WB3D_InitializeGUI(SystemProperty("AppHwnd"),WB3D_GadgetWidth(WB3D_DeskTop())/2-402/2,WB3D_GadgetHeight(WB3D_DeskTop())/2-302/2,402,302) WB3D_HideGadget RuntimeWindow_hWnd m_window = WB3D_CreateWindow("test",WB3D_GadgetWidth(WB3D_DeskTop())/2-800/2,WB3D_GadgetHeight(WB3D_DeskTop())/2-600/2,800,600,0,0) WB3D_SetGadgetStyle m_window,WS_VISIBLE Or WS_CAPTION Or WS_SYSMENU Or WS_MINIMIZEBOX m_tb = WB3D_CreateToolBar(0,0,700,20,m_window,0) WB3D_AddToolBarButton(m_tb,1,0,"","Hey",0) ;WB3D_CreateTreeView( WB3D_UpdateToolbar(m_tb) WB3D_FlushEvents QUIT = 0 While Not QUIT = 1 Cls event = WB3D_WaitEvent() Select event Case WB3D_EVENT_WINDOW_CLOSE source = WB3D_EventSource() Select source Case m_window QUIT = 1 End Select End Select Delay 5 Flip Wend WB3D_EndGUI() End
?
i'm trying to get the standard copy button... not sure how these work yet.