Skip to content

Commit b33c641

Browse files
authored
Update README.md
1 parent d3b0132 commit b33c641

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ from PySide2_Customized_Window import *
2727
class MyWindow(CustomizedWindow):
2828
def __init__(self):
2929
super(MyWindow, self).__init__()
30+
def MessageHandler(self, hwnd, message, wParam, lParam):
31+
print(hwnd, message, wParam, lParam)
3032
QApplication.setHighDpiScaleFactorRoundingPolicy(Qt.HighDpiScaleFactorRoundingPolicy.PassThrough)
3133
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
3234
QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True)

0 commit comments

Comments
 (0)