Quote Originally Posted by ScriptBASIC View Post
There is no InitVisualStyles function in VisualStyles.bas.
In the OCX project this is true. When you use the OCX in a EXE project then you shall use VisualStyles.bas from the first page in this thread from ComCtlsDemo.
Also on each Form_Load call SetupVisualStyles.