Andreik Posted April 18, 2011 Share Posted April 18, 2011 (edited) Know anyone a good OCX to create in my script an activex knob control? I tried BCTKnob.ocx but I get a runtime error when I am trying to create the object. EDIT: I tried also AUDIOCONTROLS2.ocx but I don't know why fail when I try any action with the object, like set min value. $MAIN = GUICreate("Example",400,400) $KNOB = ObjCreate("AUDIOCONTROLS2.KnobCtrl.1") $CTRL = GUICtrlCreateObj($KNOB,100,100,40,40) $KNOB.Min = 0 GUISetState(@SW_SHOW,$MAIN) While True Switch GUIGetMsg() Case -3 Exit EndSwitch Sleep(10) WEnd Edited April 18, 2011 by Andreik When the words fail... music speaks. 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