Click here to Skip to main content
15,892,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalwarning C4652 Pin
mithuna29-Sep-04 20:12
mithuna29-Sep-04 20:12 
GeneralRe: warning C4652 Pin
Antony M Kancidrowski30-Sep-04 2:10
Antony M Kancidrowski30-Sep-04 2:10 
GeneralRe: warning C4652 Pin
22491730-Sep-04 2:41
22491730-Sep-04 2:41 
GeneralVC++ Class Structures Pin
novicedude29-Sep-04 20:00
novicedude29-Sep-04 20:00 
GeneralRe: VC++ Class Structures Pin
Monty229-Sep-04 20:16
Monty229-Sep-04 20:16 
GeneralRe: VC++ Class Structures Pin
David Crow30-Sep-04 5:56
David Crow30-Sep-04 5:56 
Generalchanging user drawn bitmap button Pin
Dimenser29-Sep-04 17:55
Dimenser29-Sep-04 17:55 
GeneralRe: changing user drawn bitmap button Pin
V.29-Sep-04 22:38
professionalV.29-Sep-04 22:38 
I think I would use an imagelist.
Load all bmp's in there and switch accordingly.

hope this helps.

(eg. for setting an icon to a button I did this:
	icon = (HICON)::LoadImage(AfxGetResourceHandle(), MAKEINTRESOURCE(IDI_PRINT), IMAGE_ICON, 16, 15, LR_DEFAULTCOLOR);<br />
pPrintbutton->SetIcon(icon);<br />

I presume it's round about the same for a bmp)



"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
GeneralLNK2005, Plz help.. Pin
enoloo_don29-Sep-04 17:38
enoloo_don29-Sep-04 17:38 
GeneralRe: LNK2005, Plz help.. Pin
22491729-Sep-04 18:19
22491729-Sep-04 18:19 
GeneralRe: LNK2005, Plz help.. Pin
postamt30-Sep-04 3:02
postamt30-Sep-04 3:02 
Generalfuzzy logic n other stuff Pin
styx1300129-Sep-04 16:51
styx1300129-Sep-04 16:51 
GeneralAdding C++ console application classes to a VC++ MFCAppwizard project Pin
neo_sid29-Sep-04 16:11
neo_sid29-Sep-04 16:11 
GeneralRe: Adding C++ console application classes to a VC++ MFCAppwizard project Pin
Christian Graus29-Sep-04 16:49
protectorChristian Graus29-Sep-04 16:49 
QuestionHow to initialize const of base class Pin
Boniolopez29-Sep-04 15:29
Boniolopez29-Sep-04 15:29 
AnswerRe: How to initialize const of base class Pin
Ryan Binns29-Sep-04 18:11
Ryan Binns29-Sep-04 18:11 
GeneralRe: How to initialize const of base class Pin
Boniolopez29-Sep-04 22:22
Boniolopez29-Sep-04 22:22 
GeneralRe: How to initialize const of base class Pin
Ryan Binns30-Sep-04 0:54
Ryan Binns30-Sep-04 0:54 
AnswerRe: How to initialize const of base class Pin
Alan Chambers30-Sep-04 1:14
Alan Chambers30-Sep-04 1:14 
GeneralRe: How to initialize const of base class Pin
Boniolopez30-Sep-04 5:26
Boniolopez30-Sep-04 5:26 
GeneralRe: How to initialize const of base class Pin
22491730-Sep-04 18:21
22491730-Sep-04 18:21 
AnswerRe: How to initialize const of base class Pin
Andrzej Markowski30-Sep-04 21:40
Andrzej Markowski30-Sep-04 21:40 
GeneralRe: How to initialize const of base class Pin
Boniolopez1-Oct-04 4:05
Boniolopez1-Oct-04 4:05 
Generalmake multiple mdi child windows scroll together Pin
mickelliot29-Sep-04 15:20
mickelliot29-Sep-04 15:20 
GeneralRe: make multiple mdi child windows scroll together Pin
Ryan Binns29-Sep-04 18:14
Ryan Binns29-Sep-04 18:14 

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.