Drawing a splitter with GDI?

BlitzMax Forums/BlitzMax GUI Programming/Drawing a splitter with GDI?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You need to create a geometric pen (otherwise linesize is always fixed to 1). Using ExtCreatePen()

Set the line width.

Pen style will be dashed/hatched or whatever

Set the foreground mix mode (using SetROP2() in GDI) to do an XOR of the pen with the foreground

Draw the lines

Draw overthem with an XOR mode again to delete them non-destructively