Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#6

Re: Text in ein fremdes Fenster an bestimmter Position

  Alt 4. Apr 2007, 17:59
Zitat von shmia:
Immer daran denken: sämliche Manipulation über Fensterhandles (zwwichen 2 versch. Anwendungen)
werden unter Windows Vista nicht mehr funktionieren!
SendMessage wird zwar ausgeführt, kommt aber bei der fremden Anwendung nicht an.
Hallo shima,

Kommt es nicht auch darauf an, was für ein UI privilege die Anwendung hat?
Siehe Webseiten-Titel"User Interface Privilege Isolation (UIPI)"

Zitat:
More specifically, applications in lower privilege modes cannot generally send messages to higher privileged applications unless the higher privileged application explicitly allows that message by calling ChangeWindowMessageFilter(). Similarly, lower privileged applications can read but cannot modify an HWND owned by higher privileged applications. For compatibility reasons, SendMessage and other APIs will return success even if the API was blocked because of privilege issues. Similarly, where compatibility impact is high and security risk is low sometimes low-privileged applications are allowed to send unsolicited messages to high privileged applications.
Thomas
  Mit Zitat antworten Zitat