Mit Dir ist es teilweise noch recht schwer, über ein gleichartiges Vokabular zu kommunizieren, was das Verständnis deutlich komplizierter macht: ComboBox.Empire hat geschrieben:Die KomboBox ist doch das Teil das andere Button zusammen fast(so das man nur einen RadionButton anklicken kann).
Ich meinte solche sachen wie Hier:
http://www.myfreefarm.de/login.php?star ... mffde&wid=
für die Serverauswahl benutzt wird.
Ansonsten warst Du soweit ich weiß mit der WinAPI unterwegs, also brauchst Du die Dokumentation für die WinAPI ComboBox.
Ganz normal Text ist schon sehr viel Aufwand. ^^Empire hat geschrieben:"Printf()" sollte ganz normal 2D Text aus gaben machen.
Folgendes könnte Dir zumindest Stichwörter für weitere Google Aufrufe liefern.
Code: Alles auswählen
inline void DrawTextString( int x, int y, DWORD color, const char * str )
{
HRESULT r=0;
// Get a handle for the font to use
HFONT hFont = (HFONT)GetStockObject( SYSTEM_FONT );
LPD3DXFONT pFont = 0;
// Create the D3DX Font
r = D3DXCreateFont( g_pd3dDevice, hFont, &pFont );
if( FAILED(r))
//Do Debugging
// Rectangle where the text will be located
RECT TextRect={x,y,0,0};
// Inform font it is about to be used
pFont->Begin();
// Calculate the rectangle the text will occupy
pFont->DrawText( str, -1, &TextRect, DT_CALCRECT, 0 );
// Output the text, left aligned
pFont->DrawText( str, -1, &TextRect, DT_LEFT, color );
// Finish up drawing
pFont->End();
// Release the font
pFont->Release();
}
Wenn Du wissenswertes herausfindest, steht es Dir frei, Dein Wissen im Wiki aufzuarbeiten. ^^