记录一下,HSmartWindowControlWPF不能画框只能用来显示。帮助文档有说明:Please note that not all operators can be used with the smart window control. For example, draw_* operators and get_mbutton(_subpix) or get_mposition(_subpix) are not supported with this window control. Drawing objects have to be used instead.
HWindowControlWPF可以画框(画矩形,画圆等等),但是窗体的AllowsTransparency 不能设置为true,否则无法显示图像