CODE:
int pos_size_button0[1][4];
string text_button0[1];
int flag_button0[1];
pos_size_button0[0][0]=46; pos_size_button0[0][1]=62; pos_size_button0[0][2]=160; pos_size_button0[0][3]=83;
text_button0[0]="Кнопка 0";
//////////
createdialog(0, BUTTON, #pos_size_button0[0][0], #text_button0[0], #flag_button0[0]);
//////////
showdialog(0, "Диалог", 558, 234, 250, 300, 1, 1);
//////////
win w;
loop()
{
if (flag_button0[0]==1)
{
flag_button0[0]=0;
w=window ("Кнопка 0", "Button", window ("Диалог"));
visualwindow(w, 0, 0, 0, 160, 83, 0, 0 , 100, -1);
}
sleep(10);
}
string text_button0[1];
int flag_button0[1];
pos_size_button0[0][0]=46; pos_size_button0[0][1]=62; pos_size_button0[0][2]=160; pos_size_button0[0][3]=83;
text_button0[0]="Кнопка 0";
//////////
createdialog(0, BUTTON, #pos_size_button0[0][0], #text_button0[0], #flag_button0[0]);
//////////
showdialog(0, "Диалог", 558, 234, 250, 300, 1, 1);
//////////
win w;
loop()
{
if (flag_button0[0]==1)
{
flag_button0[0]=0;
w=window ("Кнопка 0", "Button", window ("Диалог"));
visualwindow(w, 0, 0, 0, 160, 83, 0, 0 , 100, -1);
}
sleep(10);
}
На кнопку вывод