fxg4758 Posted February 20, 2009 Share Posted February 20, 2009 Hi. I put a control in the a window by anygui, but now i have a problem with the buttons. They can call functions, but if i try to Send("{F5}"), for example, they only run the another code and not the send function. $ctr = NET_ControlGetHandleByName($test1, "", "control") $targetctl = _GuiTarget ($test1, 1, "", $ctr) $BtEcra = _TargetAddButton ( "", 3, 1, 32, 32, $BS_ICON,"", $targetctl) GUICtrlSetImage(-1, "shell32.dll", 243,0) GUICtrlSetTip(-1, "Msg","",0,1) $BtEcra = $BtEcra[0] GUISetState() In this code, is something missing for buttons to call the functions? And when i active the buttons, the mouse cursor is a little odd in the rest of the window. Thanks for any information! 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