The Newsgroup Web Interface is deprecated, and can no longer be used to post. Please use the
Community Forums.
Eclipse NewsPortal - eclipse.dsdp.ercp
not in fullscreen mode after switching to another application by hardware button
Subject: not in fullscreen mode after switching to another application by hardware button
From: lichangyi06@xxxxxxxxxxxx (Yi Chang Li)
Newsgroups: eclipse.dsdp.ercp
Organization: EclipseCorner
Date: May 25 2007 05:56:34
Hi,
I have the following problem:
The eSWT application is started and is in fullscreen mode.
aMobileShell.setFullScreenMode(true)
After opening another application (Windows Calendar) by pressing a hardware button and then switching back to the eSWT application by pressing another hardware button the bar on the top (the bar which has the text set by MobileShell.setText()) and the SIP is visible covering the fullscreen eSWT application.
Here is a snippet of source code of my C++ application which starts the eSWT application when I press a hardware button:
int _tmain(int argc, _TCHAR* argv[])
{
HWND hWnd = NULL;
hWnd = FindWindow(NULL, L"eSWTApp");
if (hWnd != NULL) {
SetForegroundWindow(hWnd);
} else {
startApplication();
}
return 0;
}
void startApplication() {
LPCWSTR pszImageName = L"J9\\bin\\j9.exe";
LPCWSTR pszCmdLine = L"\"-jcl:foun11:loadlibrary=eswt ...
LPSECURITY_ATTRIBUTES psaProcess = NULL;
LPSECURITY_ATTRIBUTES psaThread = NULL;
BOOL fInheritHandles = FALSE;
DWORD fdwCreate = 0;
LPVOID pvEnvironment = NULL;
LPWSTR pszCurDir = NULL;
LPSTARTUPINFOW psiStartInfo= NULL;
PROCESS_INFORMATION pProcInfo;
BOOL b = CreateProcess (
pszImageName,
pszCmdLine,
psaProcess,
psaThread,
fInheritHandles,
fdwCreate,
pvEnvironment,
pszCurDir,
psiStartInfo,
&pProcInfo
);
...
Many thanks in advance.
Yi
| Date | Subject | | Author |
| 31.12. | | | |