Addition to my question from 02-12-98 and galkins answer:
He told me to call CButton::SetBitmap to place a .bmp over a button.
(I need only one bitmap for the button, so this should be the right function)
This is what I tried in my C++ code:
ret = CDialog::Create(CDiaKamera::IDD);
pButton = (CButton*) GetDlgItem(IDC_Home);
- IDC_Home is my button ID
- IDB_HOME is my bitmap I want to place over this button
...nothing happens...no bitmap visible...just an empty button.
Do I have to "redraw" the dialog to update the buttons ?
If yes, how can I do this ?
What's wrong here ?