Icons anzeigen (MS VS C++ 6.0)
-
Hallihallo werte Freunde der Sonne,
ich habe ein kleines Problem und zwar muss ich in MS VS 6.0 ein tranzparenten Button laden.
dies wird so gemacht
CBUTTON m_cFwd; m_cFwd.SetBitmap(::LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_GO)));dadurch kann ich das Bitmap anzeigen.. nun geht in Bitmaps aber keine Transparenz nur in gifs ico etc. kein Problem nehme ich halt ein Transparentes ico. kann man ja auch ganz einfach hinzufügen.
gesagt getan nur leider weis ich nicht wie ich die Icons an der Stelle vom CButton anzeigen kann.. ich habs schon so versucht..m_cFwd.SetIcon(::LoadIcon(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDI_ICON1)));geht aber leider nicht...
auch so funktioniert es leider nicht
m_cFwd.SetIcon( AfxGetApp()->LoadIcon(IDI_ICON1) );weis jemand Rat?
danke schonmal im Vorraus
greetz sand13r
__________________
...what..?...no.. iam no signature... i am just waiting here for the subway...