- Messages
- 175
- Country
Hello,
I'm working on a project, and it requires to generate a menu in FSX using SimConnectText API function, the problem is that, I need to automatically close it via code when the user hits a shortcut key defined in my module, the thing is that there seems to be difficult to close it, I tried using the Spy++ tool to detect the Class name and Title of the SimConnect menu window, and I arrived to the conclusion it's "SimConnect Choices". I successfully removed the WM_VISIBLE style flag, and seems to be hidden, the problem is that the bottom FS98CHILD window that contains the virtual cockpit continues rendering the SimConnect menu as a ghost window and I have no way to tell that child window (virtual cockpit view) to refresh and render without the SimConnect menu image, the menu itself keeps as a ghost window above the virtual cockpit view.
Did someone else had came across the same issue as me and solved?
Cheers,
Manuel
I'm working on a project, and it requires to generate a menu in FSX using SimConnectText API function, the problem is that, I need to automatically close it via code when the user hits a shortcut key defined in my module, the thing is that there seems to be difficult to close it, I tried using the Spy++ tool to detect the Class name and Title of the SimConnect menu window, and I arrived to the conclusion it's "SimConnect Choices". I successfully removed the WM_VISIBLE style flag, and seems to be hidden, the problem is that the bottom FS98CHILD window that contains the virtual cockpit continues rendering the SimConnect menu as a ghost window and I have no way to tell that child window (virtual cockpit view) to refresh and render without the SimConnect menu image, the menu itself keeps as a ghost window above the virtual cockpit view.
Did someone else had came across the same issue as me and solved?
Cheers,
Manuel