Please read english text below.
----------------------------------
Guten Tag Theo,
ich habe ein Problem mit ListView und XP-Stil bzw. der Manifest-Datei.
Darf ich Dich bitten, mal über meine Übersetzung zu schauen, ob ich die so ins Forum stellen kann. Dann ist noch die Frage, ob ich es zuerst hier bei Jose oder im amerikanischen Forum versuchen soll. Beides gleichzeitig wird je eher nicht so gern gesehen.
Gruß
Norbert
>>>
Ich habe sehr viel Zeit damit verbracht, eine ListView Control DLL zu entwickeln, die meinen Wünschen entspricht. Bisher habe ich mit Anwendungen unter Win 98, Win 2000 und XP gearbeitet, die keine Manifest-Datei eingebunden haben. Als ich jetzt wegen dem Aussehen der Controls in der EXE die Manifest-Datei (“xxx.xml“) eingebunden habe, mußte ich leider feststellen, daß meine ListView-DLL nicht mehr richtig funktioniert. Nach vielen Änderungsversuchen und Untersuchungen weiß ich nun, worin das Problem besteht.
Beim Einbinden der Manifest-Datei wird automatisch die ComCtl32.dll in der Version 6.0.xxx angesprochen. Ohne Manifest-Datei ist es die Version 5.82.xxx.
MS hat zugegeben, daß die Version 6 Bugs enthält. Die Vorschläge zur Umgehung der Bugs taugen nicht viel.
So sind meine Verhältnisse.
Die EXE ruft Funktionen der DLL auf. Die DLL erstellt und registriert eine neue Festerklasse. Damit wird ein Fenster erstellt. Ein ListView wird erstellt und auf das Fenster gesetzt. Die Nachrichtenverwaltung für das Fenster und das ListView Control erfolgt innerhalb der DLL.
Nun meine Frage an die Experten.
Gibt es einen Weg, wie ich noch die alte Version der ComCtl32.dll für das ListView in der DLL nutzen kann, obwohl die EXE die Manifest eingebunden hat und die Controls der EXE den XP-Stil benutzen.
<<<
>>>
I have spent very much time to develop a ListView-Control-DLL, which corresponds to my wishes. Up to now I have worked with applications under Win98, Win2000 and XP, which have not included the manifest-file. As I have bound the Manifest ("xxx.xml") now, because of the better XP-Design of the Controls in the EXE, I had to see unfortunately, that my ListView-DLL works no more right. After many try of changes and investigations I know now, in what the problem exists.
When binding the Manifest-file, the ComCtl32.dll in the version 6.0.xxx is addressed automatically. Without Manifest-file it is the version 5.82.xxx.
MS has conceded, that the version 6 contains bugs. The suggestions for the evasion the bugs are not very useful.
So are my relationships.
The EXE calls up Functions of the DLL. The DLL prepares and registers a new Window-Class. With it a window is prepared. A ListView is prepared and set on the window. The window message loop for the window and the ListView-Control works within the DLL.
Now my question to the experts.
Is there a way, as I can use still the old version the ComCtl32.dll for the ListView inside the DLL, although the calling up EXE has bound the Manifest and the Controls inside the EXE have the the XP-Style.
<<<