specialUser32

Author: Copyright � 2011, Symr
0 Views
0 Downloads
0 Favorites
specialUser32
//+------------------------------------------------------------------+
//|                                                specialUser32.mq4 |
//|                                                     Version: 1.0 |
//+------------------------------------------------------------------+

#property copyright "Copyright © 2011, Symr"
#property library

#import "user32.dll"
    int SendMessageA(int hWnd, int Msg, int wParam, string lParam); //Holly crap... :D
#import

#define CB_FINDSTRING       0x14C

int GetComboboxIndex(int hWnd, string text) {
  return (SendMessageA(hWnd, CB_FINDSTRING, -1, text));
}

Comments