The iframe page is normal, for help!
CodePudding user response:
Don't sink!!!
CodePudding user response:
In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys
tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys
wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
CodePudding user response:
refer to the second floor zhao4zhong1 response: under the 64 - bit Windows: 64 exe and DLL in the directory c: \ Windows \ sys tem32 directory. 32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory. So pay attention to: In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory, And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL I this is myself development ocx, related dependent libraries, it needs to be copied to all of the corresponding directory? CodePudding user response:
This is I tried two full screen code are online looking for container test normal The CWnd * parentWnd=this - & gt; GetParent (); If (m_ParentWnd==NULL & amp; & ParentWnd!=this - & gt; GetDesktopWindow ()) { M_ParentWnd=parentWnd; } if (! IsFullScreen) { This - & gt; ShowWindow (SW_RESTORE); : : SetWindowPos (this - & gt; M_hWnd, HWND_TOPMOST, 1, 1, 1, 1, SWP_NOMOVE | SWP_NOSIZE); CRect parentBounds; M_ParentWnd - & gt; GetClientRect (parentBounds); This - & gt; SetParent (m_ParentWnd); This - & gt; MoveWindow (parentBounds); M_BtnFullScreen. SetBitmap (LoadBitmap (AfxGetInstanceHandle (), MAKEINTRESOURCE (IDB_BITMAP6))); Invalidate (). } The else { This - & gt; SetParent (NULL); //this - & gt; GetSafeHwnd (); : : SetWindowPos (this - & gt; M_hWnd, HWND_TOPMOST, 1, 1, 1, 1, SWP_NOMOVE | SWP_NOSIZE); This - & gt; ShowWindow (SW_MAXIMIZE); M_BtnFullScreen. SetBitmap (LoadBitmap (AfxGetInstanceHandle (), MAKEINTRESOURCE (IDB_BITMAP7))); Invalidate (). } The second Void CHKVisionOCXCtrl: : FullScreen (void) { AFX_MANAGE_STATE (AfxGetStaticModuleState ()); GetWindowPlacement (& amp; _temppl); Int nScreenWidth=GetSystemMetrics (SM_CXSCREEN); Int nScreenHeight=GetSystemMetrics (SM_CYSCREEN); M_hWndParent=: : GetParent (m_hWnd); : : SetParent (m_hWnd, GetDesktopWindow () - & gt; M_hWnd); The WINDOWPLACEMENT wp1; ZeroMemory (& amp; Wp1, sizeof (WINDOWPLACEMENT)); Wp1. Length=sizeof (WINDOWPLACEMENT); Wp1. ShowCmd=SW_SHOWNORMAL; Wp1. RcNormalPosition. Left=0; Wp1. RcNormalPosition. Top=0; Wp1. RcNormalPosition. Right=nScreenWidth; Wp1. RcNormalPosition. Bottom=nScreenHeight; SetWindowPlacement (& amp; Wp1); : : SetForegroundWindow (GetDesktopWindow () - & gt; M_hWnd); : : SetForegroundWindow (m_hWnd); //SwitchFullScreen (); } Void CHKVisionOCXCtrl: : NormalScreen (void) { AFX_MANAGE_STATE (AfxGetStaticModuleState ()); LockWindowUpdate (); : : SetParent (m_hWnd, m_hWndParent); SetWindowPlacement (& amp; _temppl); : : SetForegroundWindow (m_hWndParent); : : SetFocus (m_hWndParent); : : SetFocus (m_hWnd); UnlockWindowUpdate (); //SwitchFullScreen (); } CodePudding user response:
The landlord to solve: no, I also met the same problem, I now find flickering reasons 1. A TAB and click on the button will cause 2. Scroll or change the browser size 3. A label will flash when hover CodePudding user response:
The building Lord, this problem solved? With o