Click here to Skip to main content
15,903,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMigration to .NET problems Pin
HudsonKane21-Oct-03 1:51
HudsonKane21-Oct-03 1:51 
GeneralRe: Migration to .NET problems Pin
Steve S21-Oct-03 2:00
Steve S21-Oct-03 2:00 
GeneralRe: Migration to .NET problems Pin
HudsonKane21-Oct-03 3:18
HudsonKane21-Oct-03 3:18 
GeneralRe: Migration to .NET problems Pin
HudsonKane21-Oct-03 4:08
HudsonKane21-Oct-03 4:08 
GeneralRe: Migration to .NET problems Pin
Tim Smith21-Oct-03 4:21
Tim Smith21-Oct-03 4:21 
GeneralRe: Migration to .NET problems Pin
HudsonKane21-Oct-03 4:25
HudsonKane21-Oct-03 4:25 
GeneralRe: Migration to .NET problems Pin
HudsonKane22-Oct-03 5:10
HudsonKane22-Oct-03 5:10 
GeneralVariable width of CToolBar's buttons Pin
scul7021-Oct-03 0:40
scul7021-Oct-03 0:40 
Hello!

I want to display buttons in a CToolBar each with either a string or a bitmap. The problem is now that SetBitmapSize() allocates space for the bitmaps even in the buttons that have no image at all. Therefore, they've got larger widths than desired. Someone told me I should use BTNS_SHOWTEXT and BTNS_AUTOSIZE. But Visual C++ 6.0 throws error C2065, because it does not know those constants.

Any suggestions to solve that problem?

Bye,
Ulrich Schmitt
GeneralRe: Variable width of CToolBar's buttons Pin
Steve S21-Oct-03 1:49
Steve S21-Oct-03 1:49 
GeneralRe: Variable width of CToolBar's buttons Pin
scul7022-Oct-03 22:08
scul7022-Oct-03 22:08 
GeneralRe: Variable width of CToolBar's buttons Pin
John R. Shaw21-Oct-03 17:44
John R. Shaw21-Oct-03 17:44 
QuestionDoes some pointer provides memory-check for operation correctness control ? Pin
vgrigor21-Oct-03 0:15
vgrigor21-Oct-03 0:15 
AnswerRe: Does some pointer provides memory-check for operation correctness control ? Pin
John R. Shaw21-Oct-03 18:27
John R. Shaw21-Oct-03 18:27 
GeneralRe: Does some pointer provides memory-check for operation correctness control ? Pin
vgrigor21-Oct-03 20:51
vgrigor21-Oct-03 20:51 
QuestionMSXML Parser?? createNode() ??? Pin
xxhimanshu20-Oct-03 23:37
xxhimanshu20-Oct-03 23:37 
GeneralProblem With Accelerators Pin
spiritualfields20-Oct-03 21:01
spiritualfields20-Oct-03 21:01 
GeneralRe: Problem With Accelerators Pin
vcplusplus20-Oct-03 23:15
vcplusplus20-Oct-03 23:15 
GeneralGDI+ Double Buffer and Flood Fill Pin
Grape-Man20-Oct-03 17:23
Grape-Man20-Oct-03 17:23 
GeneralRe: GDI+ Double Buffer and Flood Fill Pin
PJ Arends21-Oct-03 6:52
professionalPJ Arends21-Oct-03 6:52 
Generalsdi + CFormView help Pin
zhangmi-boymaxzm20-Oct-03 16:28
zhangmi-boymaxzm20-Oct-03 16:28 
GeneralAutomating the Insertion of C++ Code Pin
Jeff Miles20-Oct-03 16:03
Jeff Miles20-Oct-03 16:03 
GeneralRe: Automating the Insertion of C++ Code Pin
Christian Graus20-Oct-03 16:37
protectorChristian Graus20-Oct-03 16:37 
QuestionMaking text go to Ms Word file? Pin
DanYELL20-Oct-03 14:51
DanYELL20-Oct-03 14:51 
AnswerRe: Making text go to Ms Word file? Pin
Michael Dunn20-Oct-03 19:46
sitebuilderMichael Dunn20-Oct-03 19:46 
AnswerRe: Making text go to Ms Word file? Pin
Anonymous20-Oct-03 22:16
Anonymous20-Oct-03 22:16 

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.