Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: choosing Threads Pin
DevMentor.org17-Sep-07 6:33
DevMentor.org17-Sep-07 6:33 
AnswerRe: choosing Threads Pin
jhwurmbach17-Sep-07 4:39
jhwurmbach17-Sep-07 4:39 
AnswerRe: choosing Threads Pin
Nemanja Trifunovic17-Sep-07 4:45
Nemanja Trifunovic17-Sep-07 4:45 
AnswerRe: choosing Threads Pin
El Corazon17-Sep-07 6:30
El Corazon17-Sep-07 6:30 
QuestionWindows / Container like application Pin
Programm3r17-Sep-07 4:19
Programm3r17-Sep-07 4:19 
AnswerRe: Windows / Container like application Pin
Iain Clarke, Warrior Programmer17-Sep-07 4:28
Iain Clarke, Warrior Programmer17-Sep-07 4:28 
QuestionRe: Windows / Container like application Pin
Programm3r17-Sep-07 4:59
Programm3r17-Sep-07 4:59 
AnswerRe: Windows / Container like application Pin
Iain Clarke, Warrior Programmer17-Sep-07 5:15
Iain Clarke, Warrior Programmer17-Sep-07 5:15 
OK, so what's stopping you?

Using MFC, you can make an SDI application, and make the view descend from a CListCtrlView. Set it to large icon view, and you're part of the way there.

Choosing the text / icons is another challenge. Pick a directory, and use FindFirstFile etc to get all the *.exe files there? Extract the icons from each of them?

Then handle the double click / enter events to say "aha, the user has chosen one!". Then launch the application. As you say you don't want to a run a program, then I don't know what you mean by it. But I'm sure it's explainable.

Basically, just break this down into smaller parts.
First, the listview SDI app, and fill it with a couple of hardwired words / icons.
Second, get a list of the programs / thingies you care about.
Third, give them appropriate pics.
Fourth, work out how to handle enter key / double clicking on one.
Lastly, lauch the application the use picked.

Iain.



GeneralRe: Windows / Container like application Pin
Programm3r17-Sep-07 19:33
Programm3r17-Sep-07 19:33 
AnswerRe: Windows / Container like application Pin
GauranG Shah17-Sep-07 18:34
GauranG Shah17-Sep-07 18:34 
GeneralRe: Windows / Container like application Pin
Programm3r17-Sep-07 19:34
Programm3r17-Sep-07 19:34 
QuestionCombo Box problem Pin
koumodaki17-Sep-07 4:15
koumodaki17-Sep-07 4:15 
QuestionRe: Combo Box problem Pin
David Crow17-Sep-07 4:25
David Crow17-Sep-07 4:25 
AnswerRe: Combo Box problem Pin
koumodaki17-Sep-07 4:35
koumodaki17-Sep-07 4:35 
QuestionHow to Use the Java like CardLayout in Win32 Pin
GauranG Shah17-Sep-07 4:02
GauranG Shah17-Sep-07 4:02 
AnswerRe: How to Use the Java like CardLayout in Win32 Pin
led mike17-Sep-07 4:14
led mike17-Sep-07 4:14 
GeneralRe: How to Use the Java like CardLayout in Win32 Pin
GauranG Shah17-Sep-07 18:28
GauranG Shah17-Sep-07 18:28 
GeneralRe: How to Use the Java like CardLayout in Win32 Pin
led mike18-Sep-07 4:17
led mike18-Sep-07 4:17 
Questioncustom controls Pin
Waldermort17-Sep-07 3:54
Waldermort17-Sep-07 3:54 
AnswerRe: custom controls Pin
Chris Losinger17-Sep-07 4:01
professionalChris Losinger17-Sep-07 4:01 
GeneralRe: custom controls Pin
Waldermort17-Sep-07 4:14
Waldermort17-Sep-07 4:14 
QuestionRe: custom controls Pin
Waldermort17-Sep-07 4:54
Waldermort17-Sep-07 4:54 
AnswerRe: custom controls Pin
Chris Losinger17-Sep-07 5:11
professionalChris Losinger17-Sep-07 5:11 
GeneralRe: custom controls Pin
Waldermort17-Sep-07 5:22
Waldermort17-Sep-07 5:22 
GeneralRe: custom controls Pin
Mark Salsbery17-Sep-07 9:28
Mark Salsbery17-Sep-07 9:28 

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.