窗口子类化纯API按钮自绘设备环境工具

易语言 2020-06-04 13:28:37

窗口子类化纯API按钮自绘设备环境工具开源。
RtlMoveMemory_LPCREATESTRUCT (CREATE_lParam, lParam, LocalSize_LPCREATESTRUCT (CREATE_lParam))
按钮句柄1 = CreateWindow (0, “button”, “可以单击”, 1342177280, 20, 20, 100, 24, hWnd, 1, CREATE_lParam.hInstance, 0)
按钮句柄2 = CreateWindow (0, “button”, “自绘按钮”, 1342177291, 20, 50, 100, 100, hWnd, 2, CREATE_lParam.hInstance, 0)
按钮句柄3 = CreateWindow (0, “button”, “子类化按钮”, 1342177280, 20, 170, 100, 24, hWnd, 2, CREATE_lParam.hInstance, 0)