Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 02:44

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Problem mit DrawBox

Discussion on Problem mit DrawBox within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1

 
-=-Killha-=-'s Avatar
 
elite*gold: 747
Join Date: Dec 2010
Posts: 1,213
Received Thanks: 208
Problem mit DrawBox

Ich habe ein fehler :

error C2660: 'cMenu:rawBox': Funktion akzeptiert keine 6 Argumente

der code :

Code:
	menu.DrawBox( 325+color[2], 165+1, 2, 11, D3DCOLOR_ARGB(255,255,255,255), pDevice );
nun zum holen des codes :

Code:
void cMenu::DrawBox( int x, int y, int w, int h, D3DCOLOR BoxColor, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice ) 
{ 
    FillARGB( x, y, w, h,        BoxColor, pDevice ); 
    DrawBorder( x, y, w, h, 1,    BorderColor, pDevice ); 
}
weis jemand die lösung?
-=-Killha-=- is offline  
Old 10/13/2011, 14:49   #2
 
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,345
Quote:
Originally Posted by -=-Killha-=- View Post
error C2660: 'cMenu::DrawBox': Funktion akzeptiert keine 6 Argumente
Die Fehlermeldung ist doch sowas von selbsterklärend.

Quote:
Originally Posted by -=-Killha-=- View Post
Code:
void cMenu::DrawBox( int x, // 1
int y, // 2
int w, // 3
int h, // 4
D3DCOLOR BoxColor, // 5
D3DCOLOR BorderColor, // 6
IDirect3DDevice9* pDevice ) // 7
ms​ is offline  
Thanks
1 User
Old 10/13/2011, 15:34   #3
 
Kraizy​'s Avatar
 
elite*gold: 0
The Black Market: 471/0/0
Join Date: Apr 2010
Posts: 9,696
Received Thanks: 1,811
Passiert nun mal bei C&P..
Kraizy​ is offline  
Old 10/13/2011, 15:48   #4
 
elite*gold: 0
Join Date: Apr 2006
Posts: 6,597
Received Thanks: 1,830
Quote:
weis jemand die lösung?
ja findet sich in den ersten kapiteln jedes c++ tutorials/buchs
Medix is offline  
Old 10/13/2011, 15:52   #5

 
-=-Killha-=-'s Avatar
 
elite*gold: 747
Join Date: Dec 2010
Posts: 1,213
Received Thanks: 208
alter ey ist ja nun gut mit euren c&p ich hate etwas übersehn sowas kommt vor und nun ruhe und

~closed
-=-Killha-=- is offline  
Old 10/13/2011, 15:54   #6
 
Kraizy​'s Avatar
 
elite*gold: 0
The Black Market: 471/0/0
Join Date: Apr 2010
Posts: 9,696
Received Thanks: 1,811
Alter ey dein Thread ist immer noch offen und so
Kraizy​ is offline  
Old 10/13/2011, 17:16   #7
 
elite*gold: 0
Join Date: Apr 2006
Posts: 6,597
Received Thanks: 1,830

cool wieviel man mit c&p erreichen kann.

Ich mein wenn du so einen offensichtlichen compiler fehler nicht deuten kannst solltest du vielleicht nochmal die basics durchgehen?! (nicht böse gemeint)
Medix is offline  
Old 10/13/2011, 17:48   #8

 
-=-Killha-=-'s Avatar
 
elite*gold: 747
Join Date: Dec 2010
Posts: 1,213
Received Thanks: 208
nein das problem selber lag an meiner box ich habe etwas vergessen, das heißt normaler weiße hat die box nur eine farbe und ich habe noch eine hinzugefügt deswegen wa ich würre im kopf und wuste nicht wie der fehler weg geht nach genaun schaun hat es wieder geklappt war mein fehler .
-=-Killha-=- is offline  
Old 10/14/2011, 23:03   #9


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
Der Punkt ist trotzde, dass du einen Thread für diese eindeutige Fehlermeldung aufmachst.
Dafür gibt es keine Entschuldigung. Entweder Copypasta oder einfach nur stinkfaul, keins von beidem ist in irgendeiner Weise besser.
MrSm!th is offline  
Reply


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)
[WICHTIGE FRAGE] Drawbox [Für antwort die Das behebt, 2 elitegold!]
02/18/2011 - Technical Support - 0 Replies
Hallo Technical Support! Ich habe ein Problem! Nähmlich: Ich bin ja WarRock Hack Maker So nun habe ich Das Problem das Mein Alter PC Kaputt ist Und ich mir einen Neuen zugelegt Habe! Bei dem Zeigt er Aber die DrawBox nicht an! Bei Dem PC Meiner Mutter zeigt er Sie aber an Kann mir einer Helfen? Falls ja und wenn es auch Was bringt Belohne ich mit 2 E*Gold! Mfg,Trade



All times are GMT +1. The time now is 02:45.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.