Click here to Skip to main content
15,917,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Application Icon Pin
carpediem18-Nov-02 13:35
carpediem18-Nov-02 13:35 
From my understanding (and looking at the code), the main toolbar is created through a CreateWindow(TOOLBARCLASSNAME, ...); What happens is that each individual bitmap that is used for each button is actually contained within 1 file. There are about 39 bitmaps stored within this one file and is assigned at run time. For instance, the toolbar is created and then SendMessage(hwndTask, TOOLBARADDINGFUNCTION, 120, IDB_BUTTON_TO_ADD) is called. This is what actually assigns the bitmap to each button, the 120 is the position the bitmap is stored at. Did this help at all?

Sorry for the different username, I am using a friend's computer to reply and I just noticed he was logged in as his username.
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 
GeneralRe: file processing Pin
MikeDeming18-Nov-02 8:12
MikeDeming18-Nov-02 8:12 

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.