Forum

Any one with an example with multiple buttons that opens different CDialog windows?

Any one with an example with multiple buttons that opens different CDialog windows

RegisterClassA(wc) api using user32.dll import is returning as zero

#import "user32.dll" ushort RegisterClassA(WNDCLASSA& wc); #import LRESULT MyWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { LRESULT result = 0 ; switch (uMsg) { case WM_SIZE: { // int width = int(lParam); // Macro to get the low-order word

CAppDialog: expert dialog create error - Please help

I have two indicators each using CDialog .mhq. I a can load both indicators on chart, but as soon as I change the timeframe one indicator closes. AppDialog1 //+------------------------------------------------------------------+ //| AppDialog 1.mq4 | //| Copyright 2019, MetaQuotes Software Corp. |