missing buttons on expert properties window - page 2

 

and what about a MessageBox launched by a script (without "#property show_inputs")

does it show the buttons ok and cancel ?

 

it shows two buttons , OK and cancel ,

but it shows them in different language !!!!

I have used this code.


//+------------------------------------------------------------------+
//|                                            Possible_Messagebox_Bug.mq4 |
//|                      Copyright © 2007, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2007, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"
#include <WinUser32.mqh>

bool AutoPlaceOrders_On = false;

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   if (!AutoPlaceOrders_On)
     int temp = MessageBox("A Message...","*** A Heading ***",MB_YESNO|MB_ICONQUESTION);
    else temp = 0;
    
    if (AutoPlaceOrders_On || temp == IDYES)
     Print("Placing Orders...");
    else Print("Not Allowed...");
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
   Print("Main Sub...");
//----
   return(0);
  }
//+------------------------------------------------------------------+
 

anyone ? help !

currently we are pressing "Enter" button , to get it on the chart. It is just another way to press "Ok"