I know the OpenNETCF ButtonEx has these properties, but I
was hoping to create my own control. Could someone steer
me in the right direction with some advice. Perhaps you
could refer me to some web links or MSDN articles that
refer to custom controls.
I'm hoping this is somthing relatively easy - but maybe
I'm wrong.
thank you.
Yes, I think that's easy ;) Some useful links:
http://www.codeproject.com/cs/miscctrl/PocketPCColourBtn.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnroad/html/road11272002.asp
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/picturebutton.aspx
If you will have any problems, mail me. I'll send you my custom button control (very simple) code.
HTH
Kind regards!
Krzysztof Kaźmierczak
Alternatively, you can get the source as part of the SDF download.
http://www.opennetcf.org/sdf/
Here are a few more links that cover various aspects of custom control
development.
http://www.codeproject.com/cs/miscctrl/PocketPCColourBtn.asp
http://samples.gotdotnet.com/quickstart/CompactFramework/doc/picturebutton.aspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnroad/html/road11272002.asp
http://www.intelliprog.com/articles/index.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/customctrlscompactfx.asp
--
Tim Wilson
.Net Compact Framework MVP
"Keith" <anon...@discussions.microsoft.com> wrote in message
news:28aae01c464ac$35e9e510$a501...@phx.gbl...
The way in which ButtonEx controls the border is by creating a control
derived from System.Windows.Forms.Control and overriding the OnPaint event
so that we have the ultimate say in how the control is drawn and displayed
to the user.
Creating your own button isn't a hard task. Check out some of the links
given by the other responders for more info.
--Neil
"Keith" <anon...@discussions.microsoft.com> wrote in message
news:28aae01c464ac$35e9e510$a501...@phx.gbl...
thanks.
>Krzysztof Kaźmierczak
>.
>