gmichaud
February 10th, 2000, 01:38 PM
Hello,
I'm using the SetClassStyle API to change the the style flag of the picture box. It works, excepts that someone (must be VB) works on my back and resets the class style.
Here's my code:
lngStyle = GetClassLong(hwnd, GCL_STYLE)
lngStyle = lngStyle Xor CS_DBLCLKS
SetClassLong hwnd, GCL_STYLE, lngStyle
Any idea?
I'm using the SetClassStyle API to change the the style flag of the picture box. It works, excepts that someone (must be VB) works on my back and resets the class style.
Here's my code:
lngStyle = GetClassLong(hwnd, GCL_STYLE)
lngStyle = lngStyle Xor CS_DBLCLKS
SetClassLong hwnd, GCL_STYLE, lngStyle
Any idea?