Set1DRatio

Sets the minimal width difference between two neighboring logical level bars or spaces. Cannot be less than 1, it is specified in pixels.

Set1DRatio (pDevMode As Long, dwRatio As Long) As Boolean

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Input value - dwRatio: the minimal width difference in pixels

Return value - TRUE on success, FALSE otherwise.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.