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

Search:

Type: Posts; User: Peter Robertson

Search: Search took 0.01 seconds.

  1. Re: SetTimer/OnTimer causes file menu to flicker.

    The thread you reference seems to be suggesting what I am already doing.

    Unless I've missed something, the handler is not only called when the user clicks a menu item; as discussed earlier it is...
  2. Re: SetTimer/OnTimer causes file menu to flicker.

    void MyDoc::OnUpdateFileApplication(CCmdUI *pCmdUI) {
    pCmdUI->Enable(Running==false);
    UINT Enable = (Running==false) ? MF_BYPOSITION | MF_ENABLED
    :...
  3. Re: SetTimer/OnTimer causes file menu to flicker.

    That's essentially what I have. Unfortunately the simple call to Enable resulted in the menu never being re-enabled,
    so the code grew other stuff and that is probably causing the problem. I can...
  4. Re: SetTimer/OnTimer causes file menu to flicker.

    The call to the base class was in the original code that was commented out. Putting it back in makes no difference.

    WM_INITMENUPOPUP messages are not mentioned in the code.

    OnUpdate is handled...
  5. SetTimer/OnTimer causes file menu to flicker.

    I have a (large) application that works perfectly under XP. When I run it under Windows 7 the "File Edit View..." menu in my application flickers when everything is otherwise idle.

    I have traced...
  6. Replies
    8
    Views
    1,326

    Re: Unable to read UDP broadcasts

    Thanks for that.

    I am reminded of the advice of a very wise teacher many years ago: the number one rule of programming is "never fiddle with a user's data".

    Life would be so much easier if...
  7. Replies
    8
    Views
    1,326

    Re: Unable to read UDP broadcasts

    I do not see the relevance of this code which relates to multicast issues. My problem is clearly stated as being unable to receive broadcast packets.

    My problem has not been resolved.
  8. Replies
    8
    Views
    1,326

    Re: Unable to read UDP broadcasts

    For some reason, this board has removed all the indentation...

    #include "stdafx.h"
    #include <stdio.h>
    #include <winsock2.h>
    #pragma comment(lib, "ws2_32.lib")

    int inner_bootp(SOCKET...
  9. Replies
    8
    Views
    1,326

    Re: Unable to read UDP broadcasts

    IPv4
  10. Replies
    8
    Views
    1,326

    Unable to read UDP broadcasts

    I have a DSP connected to a Windows 7 laptop by a dedicated Ethernet connection (no routers or anything else in the way).

    The laptop has all firewalls disabled (I’ve even tried stopping the...
Results 1 to 10 of 10



HTML5 Development Center

Click Here to Expand Forum to Full Width