CODE:#define GWL_STYLE -16
#define WS_VISIBLE 0x10000000
#define WS_CAPTION 0x00C00000
#define WS_SYSMENU 0x00080000
external(INT, "SetWindowLong", "SetWindowLongA", "User32.dll");
createdialog(0);
showdialog(0, "Диалог",100, 100, 300, 300, 1, 1);
SetWindowLong(gethwnd(0), GWL_STYLE, WS_VISIBLE | WS_CAPTION | WS_SYSMENU);
loop()sleep(10); |