Die Suche ergab 3 Treffer

von gerry80
Sa Okt 30, 2010 12:02 pm
Forum: C / C++
Thema: GetWindowText in Windows Forms
Antworten: 6
Zugriffe: 5299

Re: GetWindowText in Windows Forms

Danke
von gerry80
Sa Okt 30, 2010 10:52 am
Forum: C / C++
Thema: GetWindowText in Windows Forms
Antworten: 6
Zugriffe: 5299

Re: GetWindowText in Windows Forms

sorry, ich bin gerade erst von vb auf c++ umgestiegen. also ich hab es so: char window[256]; HWND active = GetActiveWindow(); GetWindowTextA(active, window, 256); String^ activewindow; //= window ?? MessageBox::Show(activewindow); aber wie bekomme ich den char window in einen string? ich hatte es sc...
von gerry80
Fr Okt 29, 2010 7:07 pm
Forum: C / C++
Thema: GetWindowText in Windows Forms
Antworten: 6
Zugriffe: 5299

GetWindowText in Windows Forms

hiilfee,
ich schaffe es einfach nicht den Fensternamen des aktiven fenster als string in einer windows formanwendung in c++ auszulesen. ich weiss nicht was man bei LPSTR machen muss bitte helft mir.