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

C / C++ / MFC

 
QuestionGame loop and time measurement. Pin
Member 152127684-Jun-22 5:23
Member 152127684-Jun-22 5:23 
AnswerRe: Game loop and time measurement. Pin
Mircea Neacsu4-Jun-22 7:47
Mircea Neacsu4-Jun-22 7:47 
AnswerRe: Game loop and time measurement. Pin
Calin Negru4-Jun-22 10:43
Calin Negru4-Jun-22 10:43 
QuestionCollege Project Visual Enhancement Pin
Tomás Temperley2-Jun-22 15:31
Tomás Temperley2-Jun-22 15:31 
AnswerRe: College Project Visual Enhancement Pin
Richard MacCutchan2-Jun-22 21:48
mveRichard MacCutchan2-Jun-22 21:48 
GeneralRe: College Project Visual Enhancement Pin
Tomás Temperley3-Jun-22 10:24
Tomás Temperley3-Jun-22 10:24 
GeneralRe: College Project Visual Enhancement Pin
Richard MacCutchan3-Jun-22 22:17
mveRichard MacCutchan3-Jun-22 22:17 
QuestionAdd a context menu item in Windows Explorer (C/C++, no MFC) Pin
Derell Licht1-Jun-22 16:53
professionalDerell Licht1-Jun-22 16:53 
This seems like a question that should be easy to find an answer to, but I'm not finding anything very convenient...

What I will want to do with this, is to be able to right-click on a folder in Explorer, and have an item "run my program on this folder" available...

I've found two example programs which do this, but each have drawbacks for my application;
1. one is a C# application (which I'm not familiar with, though it *is* pretty similar).
Also, this CodeProject application is using registry modification to do the job; I would prefer to find a link somehow to the Explorer menu, then use InsertMenuItem() from WinAPI to add a link to my application...

2. that brings me to the second example that I found; it's in an older Platform SDK, in a utility called Shell\SampView... that application *does* do what I wish; however, that application is over 8500 lines long!! I am hoping to find a more concise solution to the problem...

Can anyone provide any guidance or example code for this??

I use C++, and build with the MinGW (32-bit) toolchain...
and yes, I realize that once I get *this* issue resolved, I'll still have a variety of other issues to resolve, such as finding the path to my application, and dealing with selection of wrong items (ideally, perhaps just grey out my menu item if the target is not a folder), and many other things, but for now, I just want to find a concise, clear solution to this one problem.
AnswerRe: Add a context menu item in Windows Explorer (C/C++, no MFC) Pin
Victor Nijegorodov1-Jun-22 20:29
Victor Nijegorodov1-Jun-22 20:29 
GeneralRe: Add a context menu item in Windows Explorer (C/C++, no MFC) Pin
Derell Licht2-Jun-22 4:41
professionalDerell Licht2-Jun-22 4:41 
GeneralRe: Add a context menu item in Windows Explorer (C/C++, no MFC) Pin
Dave Kreskowiak2-Jun-22 5:38
mveDave Kreskowiak2-Jun-22 5:38 
GeneralRe: Add a context menu item in Windows Explorer (C/C++, no MFC) Pin
Derell Licht2-Jun-22 5:50
professionalDerell Licht2-Jun-22 5:50 
GeneralRe: Add a context menu item in Windows Explorer (C/C++, no MFC) Pin
Dave Kreskowiak2-Jun-22 5:52
mveDave Kreskowiak2-Jun-22 5:52 
QuestionListbox items disappear Pin
ForNow31-May-22 17:05
ForNow31-May-22 17:05 
AnswerRe: Listbox items disappear Pin
Richard MacCutchan31-May-22 21:33
mveRichard MacCutchan31-May-22 21:33 
GeneralRe: Listbox items disappear Pin
ForNow1-Jun-22 12:17
ForNow1-Jun-22 12:17 
GeneralRe: Listbox items disappear Pin
Victor Nijegorodov1-Jun-22 20:17
Victor Nijegorodov1-Jun-22 20:17 
GeneralRe: Listbox items disappear Pin
Richard MacCutchan2-Jun-22 1:37
mveRichard MacCutchan2-Jun-22 1:37 
GeneralRe: Listbox items disappear Pin
ForNow2-Jun-22 2:11
ForNow2-Jun-22 2:11 
QuestionCapture BACK SPACE Key in Edit Box Pin
Wahaj Khan31-May-22 0:32
Wahaj Khan31-May-22 0:32 
AnswerRe: Capture BACK SPACE Key in Edit Box Pin
Richard MacCutchan31-May-22 2:17
mveRichard MacCutchan31-May-22 2:17 
QuestionWhat IDE is good for developing GUI apps using C++? Pin
Code4Ever29-May-22 7:44
Code4Ever29-May-22 7:44 
AnswerRe: What IDE is good for developing GUI apps using C++? Pin
Calin Negru29-May-22 7:57
Calin Negru29-May-22 7:57 
GeneralRe: What IDE is good for developing GUI apps using C++? Pin
Code4Ever29-May-22 8:03
Code4Ever29-May-22 8:03 
GeneralRe: What IDE is good for developing GUI apps using C++? Pin
Greg Utas29-May-22 8:32
professionalGreg Utas29-May-22 8:32 

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.