How can I display the cursor position in the statusbar

As a developer, I need to often see the exact position in pixels on a line, corner, etc... the only way I find is to draw a rectangle and look at the x, y pos.... can I display the cursor / mouse position in the status bar, just a x, y pixels...