Home > Software engineering >  Activex window display
Activex window display

Time:11-06

Is a activex window,
Spy++ of using it in IE, and successfully loaded, window properties also has the WS_VISIBLE, and use QQ screenshots to see coordinates, see also the coordinates of the same with spy++.
But is not displayed.

Need to put the Internet explorer browser zoom will display. Only the switch to the background, IE to switch back again, are not shown.

Consult everybody, do you have any ideas.

CodePudding user response:

1 test ActiveX container or dialog box controls whether normal
2 determine ontouch correctly in drawing?
3 write logs, or attached to the process of debugging to see whether to enter the WM_PAINT message response function in the





CodePudding user response:

https://docs.microsoft.com/en-us/cpp/mfc/mfc-activex-controls-painting-an-activex-control? Redirectedfrom=MSDN& View=v - 2019 # _core_the_painting_process_of_an_activex_control


CodePudding user response:

reference 1st floor zgl7903 response:
1 test ActiveX container or dialog box controls whether normal
2 determine ontouch correctly in drawing?
3 write logs, or attached to the process of debugging to see whether to enter the WM_PAINT message response function in the

The WM_PAINT message is triggered, they have been add the log message processing function, but also a breakpoint tried.

CodePudding user response:




If you are not set size

CodePudding user response:

The
reference kyosuke kanou, 4/f, 1989 response:
& lt; OBJECT ID="SSSSSS" WIDTH="1280 px" HEIGHT="720 px" every "that 792889 a2-22 bb - 425 - c - 8 e6b205 b55-271595" & gt;



If your size is not set


Not, all attribute normal dom elements, width/height, display attributes, etc., and use spy++ view activex corresponding window properties also normal, in the right place, the right size, also be hidden. And activex WM_PAINT normal also triggered () with the log to see

But just couldn't "see" the plug-in.

CodePudding user response:

See if there was help Activex page refresh perception close events
How to write in ontouch function?



CodePudding user response:

That is the active control after the draw, other window to cover it? There is something wrong with the Z oder?
SetWindowPos BringToTop?
  • Related