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

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -