Autor Beitrag
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Sa 18.02.06 11:10 
Hallo,

Ich habe verschiedene 32 Bit BitMaps in einer Ressource. Wenn ich nun in ein TJvPopUpMenu ein neues Menu einfüge:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
  newitem := TMenuItem.Create(RemoteControl.Items[1]);
  newitem.Caption := ListView1.Items[x].Caption;
  newitem.Hint := ListView1.Items[x].SubItems[2];
  newitem.OnClick := RemotePltClick;
  newitem.Bitmap.LoadFromResourceName(hInstance, 'DATEI');
  RemoteControl.Items[1].Add(newitem);
wird das Bild einfaxch nicht angezeigt... :cry: Gibt es irgendwelche Einstellungen die ich verändern muss? Style steht auf XP, Office, oder Standard. HILFE!