Click here to Skip to main content
15,907,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I detect removable media being inserted? Pin
Obliterator21-Nov-02 4:18
Obliterator21-Nov-02 4:18 
GeneralApplication Icon Pin
carpediem18-Nov-02 5:57
carpediem18-Nov-02 5:57 
GeneralRe: Application Icon Pin
KevinHall18-Nov-02 6:34
KevinHall18-Nov-02 6:34 
GeneralRe: Application Icon Pin
Shog918-Nov-02 7:49
sitebuilderShog918-Nov-02 7:49 
GeneralRe: Application Icon Pin
carpediem18-Nov-02 12:57
carpediem18-Nov-02 12:57 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:09
sitebuilderShog918-Nov-02 13:09 
GeneralRe: Application Icon Pin
Al_Pennyworth18-Nov-02 13:14
Al_Pennyworth18-Nov-02 13:14 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:23
sitebuilderShog918-Nov-02 13:23 
Alright, well this needs some clarification yet, but here are your options from what i can see:

If you are using standard Win32 toolbars (CreateWindow(TOOLBARCLASSNAME, ...);, then you can easily convert your existing code to work with image lists, which makes dynamically adding icons trivial.

If you are using some other toolbar class, then all bets are off; you'll need to find out what's possible. If it turns out you need to have all the buttons in one big bitmap that's created when the toolbar is initialized, things get a bit more tricky. But it's still possible to get it working, you'll just need to figure out how many icons you want and draw them onto the bitmap prior to adding it to the toolbar.

Shog9
------
Sitting in muddy water
isn't such a bad life,
if it ends after the first time... - Yoko Kanno, The Real Folk Blues

GeneralRe: Application Icon Pin
carpediem18-Nov-02 13:35
carpediem18-Nov-02 13:35 
GeneralRe: Application Icon Pin
Shog918-Nov-02 17:32
sitebuilderShog918-Nov-02 17:32 
GeneralRe: Application Icon Pin
carpediem19-Nov-02 7:16
carpediem19-Nov-02 7:16 
GeneralRe: Application Icon Pin
Shog919-Nov-02 7:28
sitebuilderShog919-Nov-02 7:28 
GeneralShould be an easy question.. Splitter Pin
RobJones18-Nov-02 5:45
RobJones18-Nov-02 5:45 
GeneralRe: Should be an easy question.. Splitter Pin
Georgi Atanasov18-Nov-02 6:55
Georgi Atanasov18-Nov-02 6:55 
GeneralRe: Should be an easy question.. Splitter Pin
Georgi Atanasov18-Nov-02 7:04
Georgi Atanasov18-Nov-02 7:04 
GeneralRe: Should be an easy question.. Splitter Pin
Gary R. Wheeler18-Nov-02 15:28
Gary R. Wheeler18-Nov-02 15:28 
Questionhow to read a DWORD value from registry Pin
SAK18-Nov-02 5:32
SAK18-Nov-02 5:32 
AnswerRe: how to read a DWORD value from registry Pin
Jason Henderson18-Nov-02 5:39
Jason Henderson18-Nov-02 5:39 
GeneralRe: how to read a DWORD value from registry Pin
Jason Henderson18-Nov-02 5:40
Jason Henderson18-Nov-02 5:40 
AnswerRe: how to read a DWORD value from registry Pin
Alvaro Mendez18-Nov-02 5:44
Alvaro Mendez18-Nov-02 5:44 
Generalfile processing Pin
MikeDeming18-Nov-02 5:06
MikeDeming18-Nov-02 5:06 
GeneralRe: file processing Pin
Alexandru Savescu18-Nov-02 5:08
Alexandru Savescu18-Nov-02 5:08 
GeneralRe: file processing Pin
Nick Parker18-Nov-02 5:33
protectorNick Parker18-Nov-02 5:33 
GeneralRe: file processing Pin
Joaquín M López Muñoz18-Nov-02 9:35
Joaquín M López Muñoz18-Nov-02 9:35 
GeneralRe: file processing Pin
Ravi Bhavnani18-Nov-02 7:06
professionalRavi Bhavnani18-Nov-02 7:06 

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.