Print Page | Close Window

urgent, context id for static fields

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=518
Printed Date: 28 September 2024 at 6:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: urgent, context id for static fields
Posted By: AnnJS
Subject: urgent, context id for static fields
Date Posted: 11 March 2004 at 10:08pm

How can I assign Context id's to static fields? I want the user to get help when he right clicks there also.

Eg: For IDC_EDIT I have a member variable m_StaticEdit, I am doing m_StaticEdit.SetWindowContextHelpId(5665342);

To get the context id, I am using DWORD d=pWnd->GetWindowContextHelpId(); inside OnContextMenu()

But the id of the Static fields invariably is 0.

Thanks

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net