Search:

Type: Posts; User: 168gr

Search: Search took 0.00 seconds.

  1. Many thanks to both of you. Quick question for...

    Many thanks to both of you.

    Quick question for novacain:



    Why the separate check to see if HIWORD(wParam) is BN_CLICKED?

    Isn't LOWORD(wParam) being IDC_BUTTON_ONE enough? What can you do...
  2. FWIW, I have it functioning with some of your...

    FWIW, I have it functioning with some of your corrections, but not your organization / scheme:

    Making the buttons:


    case WM_CREATE:
    {
    hCtl = CreateWindow(
    L"BUTTON", ...
  3. I don't suppose you have that in straight C, do...

    I don't suppose you have that in straight C, do you?

    I can probably tweak it and get past those passing-argument-by-reference bits by just passing pointers (and defining the structures in the...
  4. The 168 Amax does great in my .308 but actually...

    The 168 Amax does great in my .308 but actually I'm finding that the 175 SMKs are maybe a bit better past 7-800 yards ... :)


    Thanks for responding. That looks so much cleaner ...




    I...
  5. Is this the correct way to handle button messages?

    I'm very new to Windows programming. The basic problem is I don't know what I'm doing. :-)

    This code works correctly, but the message handling looks kludgy (especially the casting required to...
Results 1 to 5 of 5