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

Search:

Type: Posts; User: Ido_I

Search: Search took 0.02 seconds.

  1. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    OK, now it all makes sense!!

    Many thanks!
  2. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    The problem is solved using the PreTranslateMessage, thanks for all who bothered to help!

    It will still be nice to get an answer on my last question though...
  3. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    If I still want to do it straight-forward by inserting handlers, I can still the following handlers are available for each button control:
    BCN_HOTITEMCHANGE, BN_CLICKED, BN_DOUBLECLICKED,...
  4. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    I read the answers alright, there's no need to offend or to attack. As someone who was introduced to the whole OOP concept literaly just a few days ago, I can only hope that the OOP veterans here can...
  5. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    I'm getting a little confused now - I'm trying all these advises but none is working. Let's start from the top:

    Let's leave the calculator aside. Suppose I've just created a totaly new MFC...
  6. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    ok, let's try putting it this way:

    I build a calculator (using MFC) that is implemented using a dialog box that contains a menu, buttons and an edit control. I would like the dialog box to control...
  7. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    I've already added the use of OnKeyDown. I press the keyboard upon startup of the dialog but this function is never entered. That what made me suspect the focus issue from the first place.
    Then I...
  8. Replies
    16
    Views
    29,471

    Re: Focus Problem in MFC Dialog Project

    No, it was TRUE to begin with, the behavior stays the same.

    I understood that returning FALSE tells the dialog manager (I'm not sure that's the name of it) that the focus was set to the current...
  9. Replies
    16
    Views
    29,471

    Focus Problem in MFC Dialog Project

    Hi everyone,

    I've created a dialog project to implement a simple calculator. I'm trying to set the focus to be on my dialog so I will be able to use the WM_KEYDOWN to capture keyboard input. I've...
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured