Autor Beitrag
pascalsv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133

Win XP Prof. SP2 / Windows 7
Visual Studio 2008 / Silverlight 3 / Silverlight 4 Beta
BeitragVerfasst: Sa 04.11.06 14:50 
Hallo zusammen.

Bisher übergebe ich meine Strings erfolgreich an SendMessage mit
ausblenden Delphi-Quelltext
1:
SendMessage(win, WM_INFO_UPDATE, 3, DWORD(PChar(myString)));					

und lese sie mitlMessage.Caption := 'Track '+PChar(msg.LParam);
wieder aus.

Nun möchte ich aber Integer weitergeben. Wie geht das?

Danke & Gruß,

Pascal
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Sa 04.11.06 15:09 
Was hindert dich daran, den integer in einen String zu verwandeln und genauso zu verfahren?

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Sa 04.11.06 15:25 
Und was hindert dich daran festzustellen, dass LParam ein Integer ist?

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
pascalsv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133

Win XP Prof. SP2 / Windows 7
Visual Studio 2008 / Silverlight 3 / Silverlight 4 Beta
BeitragVerfasst: Sa 04.11.06 16:07 
:oops: Nichts... :oops:

Danke!

Pascal