MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Freelancer services needed to perform 150+ jobs of traders

Input box (Win32)

Back to topics list To post a new topic, please log in or register
avatar
37
andrewk1983 2009.03.20 16:35
 

I've been searching around the net to find a definition for input box (just like MessageBoxA is defined in WinUser32.mqh).  Does anyone know how input box can be called using DLL references or any other means? Thanks in advance!

 
Sukuk market is the fastest growing segment in the Islamic finance industry

Sukuk market is the fastest growing segment in the Islamic finance industry

The global Sukuk industry possesses a huge growth potential in the Gulf Cooperation Council (GCC) region and is expected to be one of the fastest growing segments of the Islamic finance industry. It is especially relevant for Dubai where Sukuks are expected to play an important role over the next decade in securing funds for the substantial line-up of new projects, a report by the Dubai Chamber of Commerce and Industry has stated.

avatar
625
brother3th 2009.03.20 17:50 #
 
andrewk1983 wrote >>

I've been searching around the net to find a definition for input box (just like MessageBoxA is defined in WinUser32.mqh). Does anyone know how input box can be called using DLL references or any other means? Thanks in advance!

just include the WinUser32.mqh in you script like following, and call it as usual function.

#include <WinUser32.mqh>

 
avatar
37
avatar
625
brother3th 2009.03.20 18:15 #
 
andrewk1983 wrote >>
WinUser32.mqh doesnt contain any input box function definition. I doubt that's going to work.

Sorry, I just make mistake

avatar
625
brother3th 2009.03.20 18:45 #
 
andrewk1983 wrote >>
WinUser32.mqh doesnt contain any input box function definition. I doubt that's going to work.

Dear andrew

If you don't mind, you can try this inputbox.dll. I just make one for you but its look is not very nice you can have a try. Please add following line in your script before use. Thanks.

#import "inputbox.dll"
   string InputBox(string prompt, string title, string default_value);
#import
Attached files:
  inputbox.dll  (7.00 KB)
 
avatar
37
andrewk1983 2009.03.21 07:30 #
 

Thanks! I will try that. :)))

avatar
37
andrewk1983 2009.06.15 16:17 #
 

Hi brother3th!! Sorry for delay. In any case your input box worked very nice :) Cheers for that. Can i have a VC++ source for this? Did you use VC6 to compile your DLL? I'd like to learn how to do this. Thanks in advance!

 
avatar
6
avatar
1
perfwill 2011.12.02 06:20 #
 
Please reupload it, i can't download.
avatar
625
brother3th 2011.12.02 07:56 #
 
perfwill:
Please reupload it, i can't download.
here it is.
Attached files:
  inputbox.zip  (3.42 KB)
avatar
9550
WHRoeder 2011.12.02 14:32 #
 
andrewk1983:
I've been searching around the net to find a definition for input box
See also Buttons & Textfields on mt4 chart possible now - MQL4 forum

 
Back to topics list  

To add comments, please log in or register