barazor
July 18th, 2001, 03:57 PM
Im currently chomping on this bit of code, trying to convert it to c++. Would the "select case fstyle && &h80" be equal to "if (fStyle and &H80)"? I know its rough but im just wondering what the bit of code below does...
Select Case fStyle And &H80
Case &H80
XBorder = GetSystemMetrics(SM_CXDLGFRAME)
Case Else
XBorder = GetSystemMetrics(SM_CXFRAME)
End Select
Select Case fStyle And &H80
Case &H80
XBorder = GetSystemMetrics(SM_CXDLGFRAME)
Case Else
XBorder = GetSystemMetrics(SM_CXFRAME)
End Select