Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ callback __cdecl to __thiscall Pin
Maarten Kools7-May-04 8:00
professionalMaarten Kools7-May-04 8:00 
GeneralRe: C++ callback __cdecl to __thiscall Pin
greg897-May-04 10:03
greg897-May-04 10:03 
GeneralRe: C++ callback __cdecl to __thiscall Pin
Maarten Kools7-May-04 10:12
professionalMaarten Kools7-May-04 10:12 
GeneralRe: C++ callback __cdecl to __thiscall Pin
John M. Drescher7-May-04 10:31
John M. Drescher7-May-04 10:31 
GeneralRe: C++ callback __cdecl to __thiscall Pin
valikac7-May-04 18:51
valikac7-May-04 18:51 
GeneralNM_CUSTOMDRAW (ListView) Pin
Maarten Kools7-May-04 7:22
professionalMaarten Kools7-May-04 7:22 
GeneralRe: NM_CUSTOMDRAW (ListView) Pin
Gary R. Wheeler8-May-04 14:06
Gary R. Wheeler8-May-04 14:06 
GeneralCBitmapButton Pin
dart137-May-04 5:20
dart137-May-04 5:20 
I want to create CBitmapButton in a dialog with CButton::Create(), but for some reason the button is not visible when I run the app.
I put the following code in CDialog::OnInitDialog()

<br />
VERIFY(m_whiteBtn2.Create("", WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON | BS_OWNERDRAW, CRect(200, 100,85,48), this, IDC_WHITE_BUTTON2));<br />
<br />
VERIFY(m_whiteBtn2.LoadBitmaps(IDB_WHITE_BUTTONU, IDB_WHITE_BUTTOND));<br />


Does anyone know what might be the problem?
GeneralRe: CBitmapButton Pin
Iain Clarke, Warrior Programmer7-May-04 5:35
Iain Clarke, Warrior Programmer7-May-04 5:35 
GeneralRe: CBitmapButton Pin
Rick York7-May-04 8:05
mveRick York7-May-04 8:05 
GeneralRe: CBitmapButton Pin
dart137-May-04 9:43
dart137-May-04 9:43 
GeneralRe: CBitmapButton Pin
David Crow7-May-04 8:17
David Crow7-May-04 8:17 
GeneralRe: CBitmapButton Pin
Gary R. Wheeler8-May-04 14:10
Gary R. Wheeler8-May-04 14:10 
Questionhow do i get the source code back Pin
Ghadir7-May-04 5:16
Ghadir7-May-04 5:16 
AnswerRe: Two Words ... Pin
Chris Meech7-May-04 5:32
Chris Meech7-May-04 5:32 
AnswerRe: how do i get the source code back Pin
RChin7-May-04 5:37
RChin7-May-04 5:37 
Generalit was deleted by accident, as stated in the original thread Pin
CABS7-May-04 5:41
CABS7-May-04 5:41 
GeneralRe: how do i get the source code back Pin
David Crow7-May-04 8:21
David Crow7-May-04 8:21 
GeneralRe: how do i get the source code back Pin
Steve S7-May-04 8:32
Steve S7-May-04 8:32 
Generallesson learned Pin
CABS7-May-04 9:15
CABS7-May-04 9:15 
AnswerRe: how do i get the source code back Pin
jmkhael7-May-04 5:52
jmkhael7-May-04 5:52 
GeneralRe: how do i get the source code back Pin
CABS7-May-04 6:10
CABS7-May-04 6:10 
Generalyes Pin
CABS7-May-04 6:11
CABS7-May-04 6:11 
AnswerRe: how do i get the source code back Pin
toxcct7-May-04 6:08
toxcct7-May-04 6:08 
Generalthnx Pin
CABS7-May-04 6:12
CABS7-May-04 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.