This one:
int intTest = Win32API.Functions.User32.
It's the line that is actually sending the message to insert the button. Now what's interesting is that if I replace the line:
(IntPtr)(intCount-1) with:
IntPtr intPtrPosition = new IntPtr(intCount - 1);
int intTest = Win32API.Functions.User32.
I don't get the error but the button does not get created or at least it is not visible. I don't know what's going on.
Does someone know what is correct way to go about adding and moving buttons? I have seen programs that do it -- but there's very little documentation on it and I am seriously getting frustrated.
Please, anyone?????
Main Topics
Browse All Topics





by: DanRollinsPosted on 2009-11-04 at 22:15:57ID: 25747115
When you singlestep through the code, which line causes the crash?