Sat, 31 Jan 2015 11:51:54 +0100
added box layout and button (WPF)
#include "stdafx.h" #include <stdio.h> #include "window.h" #using "UIcore.dll" UI_EXPORT void* __stdcall UIwindow(char *title, void *uiobj) { UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title), IntPtr(uiobj)); gcroot<UI::MainWindow^> *ptr = new gcroot<UI::MainWindow^>(); *ptr = window; return ptr; }