I have a problem keeping a wxDialog on top of another app.
wx is called from a Dll of that main app (VBS3), because I don't have access to the main code.
If the app is windowed, the wxDialog manages to stay on top wether it has focus or not.
If the app is switched to fullscreen, the wxDialog disappears, the main app coming on top.
I'm using wxSTAY_ON_TOP as a style, and this code to call the wx stuff:
Code: Select all
DWORD WINAPI ThreadProc(LPVOID lpParameter)
{
wxApp::SetInstance(new wxDLLApp());
wxEntry(GetModuleHandle(NULL), NULL, NULL, SW_SHOW);
return true;
}
I'm using wxWidgets 3.1.2, compiled as a Dll.
Thank you for any help you could provide.