Re: Is CBitmapButton the right tool for a push like checkbox?

"yarp" <lac-3QW3q7+2X3hWk0Htik3J/[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
> I admit that my UI coding is not up to much - I haven't learned 

And so is mine, I've done some custom controls but most of the time this website suit my needs:
http://www.viksoe.dk/code/all_wtl.htm

This is the best source for WTL controls, I highly recommend it.

You will find lots of good Custom draw tutorials on Code Project and others. For owner drawing there's a very good MSDN article titled:
Using Visual Styles with Owner-Drawn Controls
http://msdn.microsoft.com/en-us/library/dd373487(VS.85).aspx


--- In [email protected], "addicted2freefall" <addicted2freefall@...> wrote:
>
> 
> Hi Yarp,
> 
> I admit that my UI coding is not up to much - I haven't learned about owner draw or custom draw yet, and while it may be the best solution to my problem, I'm really pressed for time.
> 
> This project must be ready for presentation by Monday morning, so I'd prefer to stick with the simplest method that works if I can, so if CButton with a PBUTTON_IMAGELIST will give me the pushlike behaviour without having to add custom coding, I'd like to go that route - at least for now! 
> 
> I had a quick go with PBUTTON_IMAGELIST last night, but I couldn't get it working.  I'll give it another go later today.
> 
> Thanks very much for the links though, I'll have a read at them. 
> 
> Here's a link to a screenshot of the toolbar I'm creating:
> 
> http://yfrog.com/bctoolbarkp
> 
> I've created a test harness project for the toolbar, and I've uploaded it to RapidShare - if anyone wants to have a look at the code and see if they can get it going, here's the VS2008 project link:
> 
> http://rapidshare.com/files/410153950/CustomToolbar.rar
> MD5: 07E9F3D24EACA4D72DE478399DDC564D
> 
> It can only be downloaded 10 times - if anyone has trouble downloading it, please email me and I'll send it to them!
> 
> thanks for the input!
> 
> 





------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.