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

C / C++ / MFC

 
GeneralCListBox FindString Pin
Gary Kirkham18-Nov-02 8:17
Gary Kirkham18-Nov-02 8:17 
GeneralRe: CListBox FindString Pin
Gary Kirkham18-Nov-02 8:31
Gary Kirkham18-Nov-02 8:31 
GeneralFormatting string in Edit Box Pin
Georgi Atanasov18-Nov-02 6:49
Georgi Atanasov18-Nov-02 6:49 
GeneralRe: Formatting string in Edit Box Pin
Roger Allen18-Nov-02 7:21
Roger Allen18-Nov-02 7:21 
QuestionHow do I detect removable media being inserted? Pin
Obliterator18-Nov-02 6:09
Obliterator18-Nov-02 6:09 
AnswerRe: How do I detect removable media being inserted? Pin
567890123418-Nov-02 23:00
567890123418-Nov-02 23:00 
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 
Okay, I posted a message about getting the icon from an .exe. I was told to look into ExtractIcon and ExtractAssociatedIcon. But I have another question. What do I do to apply this icon to a button? I currently have several buttons on a toolbar and each button has an associated bitmap, that I created in the resources. Now, I need to pull off the icon from an .exe file and use that as my toolbar button bitmap. What do I need to do? I am clueless...

I am putting my original posting below, just in case someone needs a little more info on what I am trying to do:

"I am trying to do something and the part that sounds the simplest is turning out to the hardest. I am putting a button on a toolbar. What this button will do is allow a user to set the button up to point to an executable. For instace, if the user wants this button to launch solitaire, it goes through the process of having the user find the .exe file. This is simple. The hard part is I am trying to use the icon from the .exe file as the bitmap for my button. And I cannot figure out how to do it. Any ideas? I have looked on this website but haven't found anything, it might be that I don't know where to look exactly... "

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 
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 

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.