I always thought writing your own control was fun. Im happy to see there is now a sub-forum for those who also like to break away from the standard kernel GUI controls.
For those who have ideas of your own, I wrote a beginner tutorial on how i approach writting a custom control a while ago, but it is still available in the FAQ section.
You can Quick Link to it here...
Regards,
:NaN:
For those who have ideas of your own, I wrote a beginner tutorial on how i approach writting a custom control a while ago, but it is still available in the FAQ section.
You can Quick Link to it here...
Regards,
:NaN:
I'd also like to see a few links dedicated to GUI design. Many custom controls I've seen are very nice, but not very aesthetic or intuitive. ;)
I can't find any good links atm.
I can't find any good links atm.
Are owner-drawn controles cosidered as custom controles?
If not, what exacly are custom controles?
If not, what exacly are custom controles?
I suppose you could consider Owner Drawn Controls, a customization of an existing control. But in the true sence Its designing your won control from scratch, and doing the required GDI and logic to perform the "custom" task you'r looking for that the standard Kernal controls do not offer.
:NaN:
:NaN:
I have a book called "Windows Custom Controls" that was written in the days of Windows 3.0 and when technical books were great for in-depth knowledge of Windows as tools haven't been refined and the process simplified.
http://www.amazon.com/exec/obidos/ASIN/0130344974/qid%3D1056779831/sr%3D11-1/ref%3Dsr%5F11%5F1/103-4971487-9247048
Really good if you want to learn how to create controls from scratch extending the API a wee in the process...
Thanks,
Shawn
http://www.amazon.com/exec/obidos/ASIN/0130344974/qid%3D1056779831/sr%3D11-1/ref%3Dsr%5F11%5F1/103-4971487-9247048
Really good if you want to learn how to create controls from scratch extending the API a wee in the process...
Thanks,
Shawn
sugestion:
maybe the moderator of this forum will add sub-forum called "OwnerDraw Controls" or somethin' like that for not fully custom controls :grin:
maybe the moderator of this forum will add sub-forum called "OwnerDraw Controls" or somethin' like that for not fully custom controls :grin:
Hi all,
I agree with NEMO's suggestion because there is no real home for this kind of controls and it is better not to mix them with pure Custom controls.
Regards,
akyprian
I agree with NEMO's suggestion because there is no real home for this kind of controls and it is better not to mix them with pure Custom controls.
Regards,
akyprian
sugestion:
maybe the moderator of this forum will add sub-forum called "OwnerDraw Controls" or somethin' like that for not fully custom controls :grin:
maybe the moderator of this forum will add sub-forum called "OwnerDraw Controls" or somethin' like that for not fully custom controls :grin:
This is more like a Main kindof thing then... I don't think there's a subforum needed for mostly WM_CTLCOLOR questions :tongue:
I don't think there's a subforum needed for mostly WM_CTLCOLOR questions :tongue:
not WM_CTLCOLOR but WM_DRAWITEM and WM_MESUREITEM and for variety oh handlling them and adding to standard controls new "colors" :tongue: :) (like example of multi -line listbox i've posted)
Regards,
NEMO
here you go
Hiroshimator,
Congratulations once again. Probably "Owner Drawn and Subclassed Controls"?
Regards,
akyprian
Congratulations once again. Probably "Owner Drawn and Subclassed Controls"?
Regards,
akyprian
Originally posted by NEMO
not WM_CTLCOLOR but WM_DRAWITEM and WM_MESUREITEM and for variety oh handlling them and adding to standard controls new "colors" :tongue: :) (like example of multi -line listbox i've posted)
Regards,
NEMO
not WM_CTLCOLOR but WM_DRAWITEM and WM_MESUREITEM and for variety oh handlling them and adding to standard controls new "colors" :tongue: :) (like example of multi -line listbox i've posted)
Regards,
NEMO
True... Never played around with those messages yet ;) .Kind of misunderstood the OwnerDraw part to it... (I'm off to find your multiline listbox :tongue:
Cheers,
JimmyClif
I don't see why there needs to be another forum.