Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mjh75

Search: Search took 0.01 seconds.

  1. Re: Disable CCheckListBox items without access to code that calls AddString

    I'm trying to disable all items in the control. I have multiple dialogs in my application and I need to provide a generic solution that will disable all items in any Arjay:
    CCheckListBox in any of...
  2. Re: Disable CCheckListBox items without access to code that calls AddString

    Apologies for the delay in responding...

    The strings are added in my code but I want to create a generic solution that can be used by all dialogs to reduce maintenance and risk of coding error.
    ...
  3. Re: Disable CCheckListBox items without access to code that calls AddString

    Correct, I want to disable all items. I already tried setting up a for loop when I intercept the LB_ADDSTRING message but the item hasn't been added to the list at this point so it isn't included in...
  4. Disable CCheckListBox items without access to code that calls AddString

    I need to be able to disable the items on a CCheckListBox but I can't change the code that calls AddString. I know I can use the CCheckListBox::Enable function to disable an item if I have an index...
  5. Re: Intercept messages sent to controls on a dialog

    Wow, not sure how I missed that! Thank you again!
  6. Re: Intercept messages sent to controls on a dialog

    One last question...

    Is it possible to modify the parameters of the CWPSTRUCT pointer in the callback function's lParam parameter and have it affect the parameter passed to the control with the...
  7. Re: Intercept messages sent to controls on a dialog

    Ah, yes. I definitely missed that part. I've updated the callback function and am now getting the messages. Thank you!!



    LRESULT CALLBACK HookProc(int nCode, WPARAM wParam, LPARAM lParam)
    {...
  8. Re: Intercept messages sent to controls on a dialog

    GCDEF - I tried overriding PreTranslateMessage in the base dialog class (and in the derived dialog class) and the WM_ENABLE messages are not received.

    VictorN - My goal is to avoid implementing...
  9. Intercept messages sent to controls on a dialog

    If it is possible, I'd like to know how to intercept messages sent to controls on a dialog.

    I'm working on a large application with a large number of dialogs, each with a number of controls on...
Results 1 to 9 of 9


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center