Support Board
Date/Time: Mon, 03 Nov 2025 23:12:15 +0000
Post From: How to get modeless dialog box working? Code Provided.
| [2018-12-25 04:41:06] |
| doetrader - Posts: 13 |
|
I know have this source code but no error returning nor is the dialog box popping up: if (sc.MenuEventID != 0 && sc.MenuEventID == r_MenuID) { g_hwndFooBar = CreateDialogParamA(NULL, "IDD_SIMPLEINPUTMENU", (HWND)sc.ChartWindowHandle, (DLGPROC)FooBarProc, 1); ShowWindow(g_hwndFooBar, SW_SHOW); SCString LogMessage; LogMessage.Format("CreateWindow error: %d", GetLastError()); } } |
