Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Q: Does anybody know about VC++ mailing discussion lists? Pin
Anders Molin18-Dec-00 1:22
professionalAnders Molin18-Dec-00 1:22 
GeneralRe: Q: Does anybody know about VC++ mailing discussion lists? Pin
John Aspras18-Dec-00 3:35
John Aspras18-Dec-00 3:35 
GeneralRe: Q: Does anybody know about VC++ mailing discussion lists? Pin
NormDroid18-Dec-00 4:16
professionalNormDroid18-Dec-00 4:16 
GeneralStatically compiling in Visual C++ Pin
17-Dec-00 13:10
suss17-Dec-00 13:10 
GeneralRe: Statically compiling in Visual C++ Pin
Jonathan Gilligan17-Dec-00 14:40
Jonathan Gilligan17-Dec-00 14:40 
GeneralRe: Statically compiling in Visual C++ Pin
Erik Funkenbusch17-Dec-00 16:25
Erik Funkenbusch17-Dec-00 16:25 
GeneralRe: Statically compiling in Visual C++ Pin
l a u r e n21-Dec-00 19:56
l a u r e n21-Dec-00 19:56 
GeneralTrying to resize buttons in a toolbar..... Pin
Christian Graus17-Dec-00 11:03
protectorChristian Graus17-Dec-00 11:03 
Hi all. I'm writing a toolbar extension and I want to be able to pass a CSize into a function that then resizes all the buttons to that size. I can resize the BUTTONS, and I can gain access to the image list, but for some reason I cannot figure how to get the imagelist, stretchblt it, make the new image the list, and put it back in, so my button bitmaps resize also.

Can anyone suggest a method for doing this ? At the moment I am blting the DC I try to draw the images into onto the screen and I can verify that

a/ the bitmaps from my toolbar never make it there, and
b/ the bitmaps on my screen never change.

I'm thinking if I add my own creation function that calls the two functions ( CreateEx and LoadImage ) then I can also store the id of the bitmap internally, which makes point one easy, and means I won't end up with a bitmap that has been stretched over & over again, but it's all for nought if I can't change the image dynamically at runtime.

Thanks.

Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
GeneralCListCtrl Questions Pin
17-Dec-00 10:52
suss17-Dec-00 10:52 
GeneralRe: CListCtrl Questions Pin
Michael Dunn17-Dec-00 16:38
sitebuilderMichael Dunn17-Dec-00 16:38 
GeneralRe: CListCtrl Questions // initializing varaibles Pin
Julien21-Dec-00 11:27
Julien21-Dec-00 11:27 
GeneralWin Media Encoder/Format SDK Pin
Roger17-Dec-00 5:43
Roger17-Dec-00 5:43 
GeneralSystem Wide Dll Pin
17-Dec-00 4:20
suss17-Dec-00 4:20 
GeneralRe: System Wide Dll Pin
Julien21-Dec-00 11:44
Julien21-Dec-00 11:44 
GeneralWindow DLL to detect wm_message of an active window Pin
16-Dec-00 22:32
suss16-Dec-00 22:32 
GeneralWindow DLL to detect wm_message of an active window Pin
16-Dec-00 22:31
suss16-Dec-00 22:31 
GeneralFAXing from MFC Pin
Brad Bruce16-Dec-00 10:37
Brad Bruce16-Dec-00 10:37 
Questionmodify MessageBox? Pin
15-Dec-00 23:57
suss15-Dec-00 23:57 
AnswerRe: modify MessageBox? Pin
Masoud Samimi16-Dec-00 0:39
Masoud Samimi16-Dec-00 0:39 
AnswerRe: modify MessageBox? Pin
Masoud Samimi16-Dec-00 13:16
Masoud Samimi16-Dec-00 13:16 
Generalcin with passwords Pin
Alvaro Mendez15-Dec-00 12:03
Alvaro Mendez15-Dec-00 12:03 
QuestionHow to avoid problems caused by moving a window? Pin
Joan M15-Dec-00 10:09
professionalJoan M15-Dec-00 10:09 
AnswerRe: How to avoid problems caused by moving a window? Pin
Michael Dunn15-Dec-00 18:55
sitebuilderMichael Dunn15-Dec-00 18:55 
Questionaccessing variables from different threads? Pin
Joan M15-Dec-00 10:03
professionalJoan M15-Dec-00 10:03 
AnswerRe: accessing variables from different threads? Pin
Michael Dunn15-Dec-00 19:00
sitebuilderMichael Dunn15-Dec-00 19:00 

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.