AU3Newbie Posted January 31, 2007 Share Posted January 31, 2007 (edited) C++ 1,SelectObject(hdc, GetStockObject(NULL_BRUSH)); // 或者HOLLOW_BRUSH 2,Ellipse(hdc, 0, 0, 300,200);This is a C code.=========How to change it's first line to a AU3 code?AU31,???? 2,DllCall("GDI32.dll", "int", "Ellipse", "hwnd", $hdc[0],"int", 0, "int",0, "int",300, "int", 200)Maybe something like this??DllCall("GDI32.dll", "int", "SelectObject", "hwnd", $hdc[0],"hwnd", 0)?****EIDT:***Solved~DllCall("GDI32.dll", "int", "SelectObject", "hwnd", $hdc[0],"hwnd", $hdc1[0]) Edited January 31, 2007 by AU3Newbie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now