G
Guest
I have some custom controls and a multiline textbox inside a form and I want to let the user move all controls using the stylus (PocketPC). The user doesn't need to edit the text, but I need the vertical scroll (wordwrap is true and scrollbars set to vertical). Lets assume textbox is readonly (although I used the GotFocus trick to have a white background but a readonly functionality, but I can live with gray background)
Handling MouseDown, MouseMove and MouseUp in the form, I can move my custom controls, but not the textbox. The textbox is eating the message. Trying to capture MouseDown on textbox doesn't work either. I also played a little with deriving from TextBox or TextBoxBase, but it didn't help
Using a label is not an option since I need vertical scroll
Do you have any ideas that might work? I'd hate to write another control to do this, especially with the scroll and measuring the multiline text ..
Thanks
Handling MouseDown, MouseMove and MouseUp in the form, I can move my custom controls, but not the textbox. The textbox is eating the message. Trying to capture MouseDown on textbox doesn't work either. I also played a little with deriving from TextBox or TextBoxBase, but it didn't help
Using a label is not an option since I need vertical scroll
Do you have any ideas that might work? I'd hate to write another control to do this, especially with the scroll and measuring the multiline text ..
Thanks