Click here to Skip to main content
15,905,616 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Window Size Pin
Anonymous16-Nov-04 11:08
Anonymous16-Nov-04 11:08 
GeneralRe: Window Size Pin
Neville Franks16-Nov-04 11:11
Neville Franks16-Nov-04 11:11 
GeneralRe: Window Size Pin
namaskaaram16-Nov-04 17:10
namaskaaram16-Nov-04 17:10 
GeneralTimers ~ 50 msec Pin
Grahamfff16-Nov-04 10:48
Grahamfff16-Nov-04 10:48 
GeneralRe: Timers ~ 50 msec Pin
Neville Franks16-Nov-04 11:14
Neville Franks16-Nov-04 11:14 
GeneralRe: Timers ~ 50 msec Pin
namaskaaram16-Nov-04 17:13
namaskaaram16-Nov-04 17:13 
GeneralRe: Timers ~ 50 msec Pin
Alexander M.,17-Nov-04 9:59
Alexander M.,17-Nov-04 9:59 
GeneralHTML Help: Using F1 Pin
digwizfox16-Nov-04 10:44
digwizfox16-Nov-04 10:44 
I'm getting some weird results in my MFC application when I press F1 over a menu item. For some reason, I get an error "cannot open Help" when I press F1 over certain menu items. It seems totally random. I never did anything special to make it work for any of the items anyway. When I created the application, I enabled HTML help. I've been able to change the table of contents and add help files. But one thing I have not figured out is how to control what pops up when F1 is pressed. For most of the menu items, it works fine. For instance when I put the mouse pointer over the view -> status item and press F1 it immediately brings up the status help screen with the Main Help dialogue. When I do the same over File -> open or Help -> help topics I get the error message. I'm not finding anything specific in MSDN library.

What is the trick here? I know I can handle a message to respond to F1 and have done this. But I was hoping to find another way. I mean after all, 95% of the menu items work fine when I press F1 but I have no idea what gives for the very few where it doesn't work.

Also, in one of my dialogues I have written code for the function:

HtmlHelp(NULL, HH_DISPLAY_TOPIC);

Now this will display the main help window. The NULL could be a pointer to something. I don't know what it is a pointer to. Does anyone know? How do I use the first argument to cause a specific help topic to display within the help dialogue? I've tried a few things and don't think the documentation is entirely clear on what I am supposed to point the function to. Any ideas?

Thank you,
Shawn
GeneralRe: HTML Help: Using F1 Pin
Debs16-Nov-04 23:12
Debs16-Nov-04 23:12 
GeneralRAS Pin
Den2Fly16-Nov-04 10:14
Den2Fly16-Nov-04 10:14 
Generaldebuging ON_NOTIFY_REFLECT question ... (edited) Pin
Maximilien16-Nov-04 8:48
Maximilien16-Nov-04 8:48 
QuestionCHttpFile - how could i parse it? Pin
Cris16-Nov-04 8:40
Cris16-Nov-04 8:40 
AnswerRe: CHttpFile - how could i parse it? Pin
22491717-Nov-04 18:24
22491717-Nov-04 18:24 
GeneralRe: CHttpFile - how could i parse it? Pin
Cris17-Nov-04 23:11
Cris17-Nov-04 23:11 
QuestionDLLHOST / ISAPI / Memory Leaks? Pin
Peter Weyzen16-Nov-04 8:01
Peter Weyzen16-Nov-04 8:01 
GeneralHuge Text Files Pin
JoeGonzalez16-Nov-04 7:32
JoeGonzalez16-Nov-04 7:32 
GeneralRe: Huge Text Files Pin
David Crow16-Nov-04 8:40
David Crow16-Nov-04 8:40 
GeneralRe: Huge Text Files Pin
digwizfox16-Nov-04 11:24
digwizfox16-Nov-04 11:24 
GeneralRe: Huge Text Files Pin
David Crow17-Nov-04 2:32
David Crow17-Nov-04 2:32 
GeneralRe: Huge Text Files Pin
JoeGonzalez20-Nov-04 6:02
JoeGonzalez20-Nov-04 6:02 
Generalset high priority Pin
LeeeNN16-Nov-04 6:51
LeeeNN16-Nov-04 6:51 
GeneralRe: set high priority Pin
David Crow16-Nov-04 8:46
David Crow16-Nov-04 8:46 
GeneralStrange way of killing DLLHOST Pin
Federico Milano16-Nov-04 5:57
Federico Milano16-Nov-04 5:57 
GeneralExecuting a SQL Script Pin
Ivan Cachicatari16-Nov-04 4:45
Ivan Cachicatari16-Nov-04 4:45 
GeneralRe: Executing a SQL Script Pin
si_6916-Nov-04 5:21
si_6916-Nov-04 5:21 

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.