|
-
April 6th, 1999, 07:20 AM
#1
discrepancy in MSDN...
There seems to be some discrepancy in VC++ 6, or I am confused. In previous posts I was told how to use the setfocus() function. It said to pass the ID of the window as a parameter. Seemed logical so I did this but I got an error message saying that Setfocus does not take 1 parameters (don't you just love error messages?). I then checked MSDN. Looking at 'window focus' in general I find set focus takes a parameter, a HWND, as do SetActiveWindow and SetCapture. I then check the SetFocus function itself and it says it takes no parameters. SetCapture and SetActiveWindow in their respective help topics also say that they take no parameters. When actually typing code the autocomplete finishes off the function, saying that it takes no parameters. This makes no sense so could someone please explain what is going on here.
I also have included an activeX control in my program (SDI app). I want to know when the user clicks on the app and changes some variables, however the WM_LBUTTONDOWN only fires when I don't click on the control. Does anyone know how I could be notified when the user clicks on the control.
Thanks
Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|