CODE:int pos_size_button0[1][4];
string text_button0[1];
int flag_button0[1];
pos_size_button0[0][0]=59; pos_size_button0[0][1]=98; pos_size_button0[0][2]=100; pos_size_button0[0][3]=20;
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);
//////////
external (INT, "Run", "ShellExecuteA", "shell32.dll");
loop()
{
if(flag_button0[0]==1) {Run (0, "Open", "http:\\google.com", "", "", 1); flag_button0[0]=0; break;}
}
|