1. Re: Setting the windows icon (and maybe TabItem icons too?)

On Wed, 4 Oct 2000 01:25:10 +0200, Ad Rienks wrote:

>Wow, thanks Brian,
>
>I did not realize that the 'modern' version of Win32Lib makes it that easy
>to replace the icon! And while I'm at it now, do you know if there is a way
>to replace the text on a TabItem with an icon too?
>
>Well, thanks a lot,    Ad

Well, theoretically you should be able to create an ImageList with your
icons then send a TCM_SETIMAGELIST message to your TabControl where wParam
is Null and lParam is the handle to your image list.

There is a 'setImageList' routine but it looks like it would need a minor
tweak to handle Tab Controls.  (Maybe I should start submitting some code
to the dev team  8^)

I've not done much with tab controls so I don't have a working example for
you but I could write a demo for you if you'd like.

-- Brian

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu