I have had a tough time translating some Delphi code into c++. the code is :
if (GetWindowlong(Stringgrid1.Handle, GWL_STYLE) and WS_VSCROLL) <> 0
then ShowMessage('Vertical scrollbar is visible!');
Ive never really used Delphi before so im not sure what the “<>” operator is. I looked it up and found out that its called the pointer inequality operator, but im not sure how that translates into c++. Thanks a bunch for any help!
<> is just not-equals (similar to VB, for some silly reason). C++ uses != for pointer inequality like any other inequality.