从网上找了段代码,代码中的“(Style and WS_GROUP) = WS_GROUP”是什么意思,思路上要怎么理解?
function CheckStyle(aHWnd: HWnd): Boolean;
var Style: LongInt;
begin
    Result := false;
    Style := GetWindowLong(aHWnd, GWL_STYLE);
    if (Style and WS_POPUP) = WS_POPUP then
    begin
        if (((Style and WS_GROUP) = WS_GROUP) and not ((Style and WS_DISABLED) = WS_DISABLED) and ((Style and WS_SYSMENU) = WS_SYSMENU))then
        begin
            Result := True;
        end;
    end
    else
        Result := True;
end;