Thema Datum  Von Nutzer Rating
Antwort
17.11.2014 16:54:43 Hochst
NotSolved
Blau Farbige ActiveX Toolbar
17.11.2014 20:36:06 Gast64575
Solved

Ansicht des Beitrags:
Von:
Gast64575
Datum:
17.11.2014 20:36:06
Views:
594
Rating: Antwort:
 Nein
Thema:
Farbige ActiveX Toolbar

Ok, das genügt mir... strongm, ein Helfer auf http://www.tek-tips.com beschreibt mir das Vorgehen wie folgt sehr anschaulich:

The whole point of an ActiveX control is that is a black box whose inner workings you do not need to worry about. And that can be great, and save you a lot of time and effort The downside is that an ActiveX control only exposes methods and properties the designer thought useful and/or appropriate. And if they decided not to expose the background colour as a property then you are out of (direct) luck.

Thing is the Active controls are often made up of standard Windows controls, which provides us with a backdoor or hack for achieving what you want. Several problems, though. Firstly you need to be able to identify the Windows control (or controls) whose background property you want to change, and you need to identify the Windows class of those controls. Then you need to read the MSDN documentation on which message you need to send that particular class of control to change its background colour, then - from the sounds of it - you are going to have to read the MSDN documentation about how to send a message to particular window. The example you linked to above is an example of an implementation of one such a hack.

You'll appreciate that, in the situation where the control's author has specifically excluded the background colour property they are unlikely to provide you with documentation about how to hack the control.

 


Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
17.11.2014 16:54:43 Hochst
NotSolved
Blau Farbige ActiveX Toolbar
17.11.2014 20:36:06 Gast64575
Solved