I’m new to Wxpython,I’m trying to design an screenshot capture tool by selecting area.
To create full screen frame window and SetTransparent(150)
select box area by cursor, in this step how to make the select area full transparent?
currently I use shaped window to exclude the selected area to achieve the target.
But this is not exactly what I want, because If I move back to the selected area the cursor
position lost due to this area without window frame.
Is there any way just make the selected area full transparent, the cursor in this area still can get
position.
Personally, I use the “QQ-screenshot” version from CorttChan (醉仙灵芙).
I think this source is exactly what you are looking for.
I attached the modified file to make it compatible with python 3 and wxPython 4.2.
Thanks for sharing. I checked this code, it takes an screenshot as BMP and select area in this BMP to save partial of the screenshot.
But this is not exactly what I want, I just wan to select the area in a half transparent window, then make the selected area full transparent. Then process final position to crop the screenshot at back end.
I designed this kind of function with Tkinter and Pyside6, just want make same function with WxPython.