Drawing to windows accurately

BlitzPlus Forums/BlitzPlus Programming/Drawing to windows accurately

Alaric(Posted 2007) [#1]
I've been trying to make a GUI creation program (see my worklog in my signature) and I want to be able to draw red boxes around the dynamically created gadgets that the user selects. I can find out where to draw the box just fine on my computer, but when you change the theme of windows, it messes with this and the boxes appear slightly above the actual gadget. This is a nightmare when you have to clear them because you end up with half rectangles above your gadgets when you move them. Currently I'm just drawing to desktopbuffer(), is there a command that lets you draw to to the windows client are like windowbuffer() or something?