ERLEDIGT
NEIN
NEIN
ANTWORTEN
2
2
ZUGRIFFE
407
407
EMPFEHLEN
-
Servus...
Ich hab mal eine generelle Frage:
Der Bezeichner TOOLBARCLASSNAME müsste doch eigentlich der Visual C++ (Express Version) Compiler kennen, solange man windows.h included hat oder?
Weil bei mir spukt er folgendes aus:
1>.\main.cpp(54) : error C2065: 'TOOLBARCLASSNAME': nichtdeklarierter Bezeichner
Mein Code:
Code :1 2 3 4 5 6 7 8 9
hTool = CreateWindowEx(0, TOOLBARCLASSNAME, NULL, WS_CHILD, 0, 0, 0, 0, hWnd, NULL, (HINSTANCE) GetWindowLong(hWnd, GWL_HINSTANCE), NULL);
Was ist falsch?
GreetzThat's not a bug, that's a feature!
-
habs hinbekommen....
Musste #include <commctrl.h> noch includen. Jedoch hab ich jetzt noch ein Problem:
Wenn ich den oben genannten Code bei WM_CREATE einfüge und das Programm starte, erstellt er mir aber keine Toolbar... gleiches gilt für die Statusbar.
Wieso will er dies nicht erstellen? Woran könnte es rein theoretisch liegen?That's not a bug, that's a feature!
-
Es könnte mir doch jemand mal nach paar Tagen ne Antwort schreiben.
Wieso existiert mein hTool, dass ich als HWND deklariert habe, nicht nachdem ich es mit CreateWindowEx(...) initialisiert habe?
GreetzThat's not a bug, that's a feature!
Ähnliche Themen
-
Wo kriege ich den Visual C++.net Compiler her?
Von psycomantis im Forum C/C++Antworten: 9Letzter Beitrag: 29.08.10, 07:31 -
Microsoft Visual Studio -> Compiler extrahieren
Von Exitus222 im Forum C/C++Antworten: 0Letzter Beitrag: 11.09.06, 11:48 -
Ist der Visual Compiler behindert?
Von RuFFnEcK im Forum VisualStudio & MFCAntworten: 5Letzter Beitrag: 16.02.06, 16:38 -
c++.net mit dem visual c++ 6 compiler
Von psycomantis im Forum VisualStudio & MFCAntworten: 4Letzter Beitrag: 01.02.04, 13:06 -
frage zum Ms visual c compiler
Von wodka im Forum C/C++Antworten: 5Letzter Beitrag: 25.10.02, 20:46





Zitieren
Login






