Search:

Type: Posts; User: fdy

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,128

    They are just shown normally (text in black). if...

    They are just shown normally (text in black). if they are disabled they do nothing when they are clicked.
    yes i set the breakpoint in the handler and yes it is called correctly...
    it is a mystery!!
  2. Replies
    8
    Views
    1,128

    Yeah that is exactly what i have used and it does...

    Yeah that is exactly what i have used and it does enable/disable the menu items but doesn't show them grayed/dimmed.
    i guess if noone else has had the same problem then i just must have done...
  3. Replies
    8
    Views
    1,128

    Whether they are enabled or not depends on...

    Whether they are enabled or not depends on another variable (which changes).
    it works perfectly for a normal menu, but for some reason not for the right click context menu... thanks anyway
  4. Replies
    8
    Views
    1,128

    Thanks Kuphryn for your reply. Yeah it is a...

    Thanks Kuphryn for your reply. Yeah it is a context menu-- when you press the right hand side button on the mouse it pops up. i have that much done, but when i call update event handlers to set...
  5. Replies
    8
    Views
    1,128

    Right Click Problem

    Hi,
    I have set up a right click menu (it works), I am able to disable the menu items but they don't show greyed-out.
    The way I try to do this is by calling

    OnUpdateStart(CCmdUI *pCmdUI){
    ...
  6. Replies
    3
    Views
    1,132

    Cheers kuphryn! The message handler for...

    Cheers kuphryn!
    The message handler for BN_CLICKED worked:)

    Apologies for being off C++ topic
  7. Replies
    2
    Views
    1,135

    Figured it out. Called the message handler for...

    Figured it out. Called the message handler for BN_CLICKED.
  8. Replies
    2
    Views
    1,135

    Dialog question, radio to enable control

    Hi,
    I'm trying to use radio buttons to enable/disable another control in a dialog box as soon as it is pressed. I know to use

    GetDlgItem(IDC_SLIDER_...)->EnableWindow(false);

    but don't know...
  9. Replies
    3
    Views
    1,132

    small dialog question

    Hi,
    I'm trying to use radio buttons to enable/disable another control in a dialog box as soon as it is pressed. I know to use

    GetDlgItem(IDC_SLIDER_...)->EnableWindow(false);

    but don't know...
Results 1 to 9 of 9