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

C / C++ / MFC

 
GeneralRe: ****** Please HELP! File & SQL ****** Pin
HP9-Aug-00 20:20
HP9-Aug-00 20:20 
GeneralCalling NT Service Pin
aasher8-Aug-00 18:54
aasher8-Aug-00 18:54 
GeneralRe: Calling NT Service Pin
HP9-Aug-00 0:08
HP9-Aug-00 0:08 
QuestionTransparent owner-drawn button? Pin
trey8-Aug-00 17:05
trey8-Aug-00 17:05 
AnswerRe: Transparent owner-drawn button? Pin
Paolo Messina8-Aug-00 21:29
professionalPaolo Messina8-Aug-00 21:29 
GeneralCatching a Keystroke Pin
sho98-Aug-00 15:16
sho98-Aug-00 15:16 
GeneralRe: Catching a Keystroke Pin
HP9-Aug-00 0:20
HP9-Aug-00 0:20 
Generaladding bitmaps to ctoolbar Pin
Shekhar8-Aug-00 10:38
Shekhar8-Aug-00 10:38 
Guys

I don't have a toolbar image in my application. What I have is a resource file which has list of
bitmaps. These bitmaps are to be referred using their names and NOT IDs. I don't have any ids
available.

I looked at CToolBarCtrl()s AddBitmap() function. It only accepts bitmap id as an argument.
I don't know why there is no facility to specify bitmap names, especially since CBitmap's
LoadBitmap accepts image name as an argument.

Has anybody found a way out yet?

In my application, details about the toolbar button are read from a text file. One of the attributes
of button is the name of the bitmap which it uses. So there are no IDs available. While I can
write a utility to map these strings to ids, it is a huge pain. Also, I have bitmaps in excess of
2000 which need to be read in. So one can imagine.

Am I missing something here or is it just common control limitation.

Thanks

Regards
Shailesh


GeneralSmall caption windows on Win2000 Pin
Paolo Messina8-Aug-00 7:00
professionalPaolo Messina8-Aug-00 7:00 
GeneralPrinting Bitmaps on a postscript printer Pin
Member 239698-Aug-00 4:59
Member 239698-Aug-00 4:59 
GeneralFinding out whether DHCP is enabled Pin
Paul Cole8-Aug-00 4:30
Paul Cole8-Aug-00 4:30 
GeneralUDP Packet Creation???? - H E L P ! ! ! Pin
daniel madden8-Aug-00 2:50
daniel madden8-Aug-00 2:50 
Generalanti-aliasing algorithm Pin
junsung kim8-Aug-00 1:47
sussjunsung kim8-Aug-00 1:47 
GeneralRe: anti-aliasing algorithm Pin
Philip Nicoletti9-Aug-00 4:04
Philip Nicoletti9-Aug-00 4:04 
Generalcom / c++ class realationships Pin
koteswara8-Aug-00 0:38
koteswara8-Aug-00 0:38 
GeneralRe: com / c++ class realationships Pin
Member 11278-Aug-00 2:43
Member 11278-Aug-00 2:43 
GeneralDisplay .TIF images Pin
Eldor@do8-Aug-00 0:29
Eldor@do8-Aug-00 0:29 
GeneralRe: Display .TIF images Pin
Philip Nicoletti8-Aug-00 9:27
Philip Nicoletti8-Aug-00 9:27 
QuestionHow to create shapes in VC++ (like the one on VB) Pin
Nali7-Aug-00 23:50
Nali7-Aug-00 23:50 
GeneralWebbrowser repaint Pin
dooly7-Aug-00 23:22
dooly7-Aug-00 23:22 
GeneralInvalidateRect error Pin
Hovnatan Karapetyan7-Aug-00 6:31
Hovnatan Karapetyan7-Aug-00 6:31 
QuestionCan I make a virtual I/O port Pin
Roy Jones7-Aug-00 5:20
Roy Jones7-Aug-00 5:20 
AnswerRe: Can I make a virtual I/O port Pin
Erik Funkenbusch10-Aug-00 12:41
Erik Funkenbusch10-Aug-00 12:41 
GeneralCDaoDatabase Problem :( Pin
Dave Waldrum7-Aug-00 3:43
sussDave Waldrum7-Aug-00 3:43 
GeneralRe: CDaoDatabase Problem :( Pin
Tim Deveaux7-Aug-00 4:41
Tim Deveaux7-Aug-00 4:41 

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.