.elseif ax==IDC_MODALFRAME
invok GetWindowLong,hWnd,GWL_STYLE and eax,not WS_THICKFRAME
invok SetWindowLong,hwnd,GWL_STYLE,eax
.elseif ax==IDC_THICKFRAME
invok GetWINdowLong,hWnd,GWL_STYLE or eax, WS_THICKFRAME
invoke SetWindowLong,hWnd,GWL_STYLE,eax


1.my first question is what does that function mean with red color.
2.what does CWL_STYLE and eax mean.
3.what does not WS_THICKAME mean.
4.what does GWL_STYLE or eax mean.

thank you !
Posted on 2003-08-28 02:55:31 by tomorrow
1.my first question is what does that function mean with red color.
You are retrieving and setting the style attributes for a window. These functions are described here and here.


2.what does CWL_STYLE and eax mean.
3.what does not WS_THICKAME mean.
4.what does GWL_STYLE or eax mean.

AND, OR, and NOT are all basic logical operations, the result you get depends on the settings of the bits in the operands. Check out this chapter of AoA.
Posted on 2003-08-28 06:20:40 by sluggy
you are best man ,thank you
Posted on 2003-08-28 06:59:02 by tomorrow