Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString to CHAR * Pin
Frank Deo23-Jul-00 6:46
Frank Deo23-Jul-00 6:46 
GeneralRe: CString to CHAR * Pin
Benedict Verheyen23-Jul-00 3:12
sussBenedict Verheyen23-Jul-00 3:12 
GeneralRe: CString to CHAR * Pin
Sandra23-Jul-00 4:11
Sandra23-Jul-00 4:11 
QuestionMenu in Docked Dialog Bar ??? Pin
Falsem21-Jul-00 14:07
sussFalsem21-Jul-00 14:07 
AnswerRe: Menu in Docked Dialog Bar ??? Pin
Mike Dunn21-Jul-00 17:35
Mike Dunn21-Jul-00 17:35 
GeneralRe: Menu in Docked Dialog Bar ??? Pin
Mike Dunn22-Jul-00 16:33
Mike Dunn22-Jul-00 16:33 
GeneralTo hide Close button from the system menu of a modeless dialog box. Pin
s21-Jul-00 14:06
s21-Jul-00 14:06 
GeneralDialog Context Sensitive Help, MFC 6.0 Pin
Jeff Naber21-Jul-00 13:29
Jeff Naber21-Jul-00 13:29 
Hi,

I currently have a Dialog based application written in Visual C++ 6.0 SP2 using MFC 6.0 in the Visual Studio 6.0. I am currently on Windows 98 but the app needs to work under Windows NT 4+, and Windows 2000 as well.

On the dialog box I have implemented 'F1' help. I did override OnHelpInfo() so that I could specify which control to get help for (standard windows operation is to get help on the 'dialog', not each control).

Now I am trying to implement 'Shift+F1' help. When the user clicks on the '?' in the title bar, or presses 'Shift+F1' the cursor changes to the 'Help cursor' and they should get help for the next item they click. In this app the cursor does change properly, but I am having trouble catching the info about the control they click.

If I go to my override of OnHelpInfo(), this function does get run but the dwContextId member of the HELPINFO structure is NULL.

I checked out the MSDN help and according to technical note 028, the application should post a message WM_HELPHITTEST, when the user clicks the control with the 'Help Cursor', to the CWnd which was clicked, and then to its parent, etc.

I have included that message in my Message Map and it does not appear to have been posted because my dialog box is not catching that message.

Any thoughts on how I can identify on which control the user wants help?

Any info will be appreciated
Jeff
GeneralRe: Dialog Context Sensitive Help, MFC 6.0 Pin
Blake Miller23-Jul-00 17:56
Blake Miller23-Jul-00 17:56 
GeneralRe: Dialog Context Sensitive Help, MFC 6.0 Pin
Jeff Naber24-Jul-00 7:09
Jeff Naber24-Jul-00 7:09 
GeneralCreating dialogs Pin
CaffeinePlease21-Jul-00 13:23
CaffeinePlease21-Jul-00 13:23 
GeneralRe: Creating dialogs Pin
Jeff Naber21-Jul-00 13:44
Jeff Naber21-Jul-00 13:44 
GeneralEfficient transparent drawing with dib & png Pin
Benedict Verheyen21-Jul-00 13:21
sussBenedict Verheyen21-Jul-00 13:21 
GeneralRe: Efficient transparent drawing with dib & png Pin
Benedict Verheyen25-Jul-00 5:05
sussBenedict Verheyen25-Jul-00 5:05 
GeneralI want the full path name. Pin
Member 351721-Jul-00 13:03
Member 351721-Jul-00 13:03 
GeneralRe: I want the full path name. Pin
Mike Dunn21-Jul-00 17:47
Mike Dunn21-Jul-00 17:47 
GeneralDisabled buttons and bitmaps Pin
Roger21-Jul-00 9:59
Roger21-Jul-00 9:59 
GeneralBitmap operations Pin
sergiu3221-Jul-00 9:36
sergiu3221-Jul-00 9:36 
GeneralRandomizing until Mouse Button Pressed Pin
Nuno Tavares21-Jul-00 7:16
Nuno Tavares21-Jul-00 7:16 
GeneralDrives and Files Pin
Quantum_Fragment20-Jul-00 17:21
sussQuantum_Fragment20-Jul-00 17:21 
GeneralRe: Drives and Files Pin
Mike Dunn21-Jul-00 7:00
Mike Dunn21-Jul-00 7:00 
QuestionHow do I handle modeless dialog events? Pin
Thomas T.20-Jul-00 10:49
Thomas T.20-Jul-00 10:49 
AnswerRe: How do I handle modeless dialog events? Pin
Philip Nicoletti21-Jul-00 6:20
Philip Nicoletti21-Jul-00 6:20 
GeneralRe: How do I handle modeless dialog events? Pin
Thomas T.27-Jul-00 23:32
Thomas T.27-Jul-00 23:32 
GeneralDialog color Pin
Roger20-Jul-00 10:10
Roger20-Jul-00 10:10 

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.