c# - Equivalent operators and expression for &=, ~, |= in VB.NET -
i need convert following lines of code in vb.net confused operators, can describe name of these operators , equivalent in vb:
long style= getwindowlong(hwnd, gwl_style); style &= ~(ws_visible); // works - window become invisible style |= ws_ex_toolwindow; // flags don't work - windows remains in taskbar style &= ~(ws_ex_appwindow);
since vb uses keywords bitwise operators, doesn't offer shorthand self-assignment operator. have use: x = x , y , x = x or y
also, equivalent '~' 'not' (same keyword logical 'not', different behaviour).
Comments
Post a Comment