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...
Type: Posts; User: 168gr
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...
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", ...
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...
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...
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...