|
-
March 5th, 2001, 02:28 PM
#1
MSHFlexGrid and PictureBox ( two questions: Alignment and Cursor type )
Hello all,
I am using a MSHFlexGrid to display some data after performing a serach. The problem is that I can not change the alignment for the cells within this grid. Is there a way to do this? Sometimes the text within the cells appear to be Left aligned while others appear to be Right aligned. Is there a way to force either one?
The second question is that I have a PictureBox which I would like to change the cursor while over the PictureBox. I use the MouseMove event to change the cursor while it is within the PictureBox, but I run into problems when the cursor leaves the PictureBox. There is not event that I know of that tells me that is left the PictureBox. I have tried to use the LostFocus, but that doesn't work. I would subclass the PictureBox and maybe intercept a message, but I am already subclassing the Main form so i don't know if subclassing an additional Control would be a good idea or not. Any thoughts or ideas?
Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|