|
-
May 19th, 2008, 09:26 AM
#1
[RESOLVED] Ownerdrawn Control with Caret Cursor
Hi friends !
I have to design a ownerdrawn CustomControl. Basically no problem for the drawing algo. But How can I get the Caret shown there at a specific place where I want to have him. In the C++ times I would simple have derived from editbox and painted it myself, But how this is done in C# Looking at the TextBox events there are no Paint events available.
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
-
May 19th, 2008, 10:44 AM
#2
Re: Ownerdrawn Control with Caret Cursor
-
May 19th, 2008, 12:48 PM
#3
Re: Ownerdrawn Control with Caret Cursor
 Originally Posted by dglienna
Thx dglienna !
Have done a short look into that. Seems to be a great reference. I'll have to do a try on this. 
-----
have read fully and tried now. works like a charme. You saved me lots of hours and also my day
Last edited by JonnyPoet; May 19th, 2008 at 05:30 PM.
Reason: added info
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
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
|