John-
>How do I disable the ability to select text with the mouse in a textbox?
Just how disabled do you need the mouse to be? You could simply do something like:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
NODEFAULT
However, that's an awfully big stick to wield.