Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - urgent, context id for static fields
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

urgent, context id for static fields

 Post Reply Post Reply
Author
Message
AnnJS View Drop Down
Newbie
Newbie


Joined: 10 March 2004
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote AnnJS Quote  Post ReplyReply Direct Link To This Post Topic: urgent, context id for static fields
    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

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.142 seconds.