Slt,
Je code une appli "CDialog based" en MFC, je cherche comment mettre à vrai dans un constructeur la propriété Owner Draw, comment dois je m'y prendre ?
merci
Version imprimable
Slt,
Je code une appli "CDialog based" en MFC, je cherche comment mettre à vrai dans un constructeur la propriété Owner Draw, comment dois je m'y prendre ?
merci
soluce :
Code:
1
2
3
4
5
6
7 void CMyBitmapButton::PreSubclassWindow() { ... this->ModifyStyle(0, BS_OWNERDRAW); ... }