hi
i want to create control which combines or includes 3state button in list box
as that used in (office, windows) installation windows
what is that control? which class it belongs? or which styles are used?
how can i create it?
Posted on 2002-11-23 09:07:35 by minsiz
I have not seen (that I recall that is) the control you are refering to
so I cant be all that specific...

The only button that I am aware of that has three distinct states is
is actually a tri-state check box with the button look alike style enabled.

class: BUTTON
styles: WS_CHILD or WS_VISIBLE or BS_AUTO3STATE or BS_PUSHLIKE

Perhaps this is what you wanted?
:rolleyes:
Posted on 2002-11-23 22:51:33 by Graebel
i don't how to display image in message

but i mean this control (see attached image)
Posted on 2002-11-24 08:07:09 by minsiz
ok it was displayed
Posted on 2002-11-24 08:09:23 by minsiz
Ahh.

Well cant say for sure, but it *looks* like a ListView control
(you'll have to init the common controls dynamic-link library)

Class: SysListView32
Ext styles: LVS_EX_FULLROWSELECT or LVS_EX_CHECKBOXES

Assign some image lists to it for the icons and your almost all
done. The only problem is I dont know how to make the check
boxes tri-state. Possibly they are owner drawn or its a style
I am not aware of at this time.
Posted on 2002-11-24 12:45:04 by Graebel
awesome thnx Graebel
Posted on 2002-11-25 08:06:31 by minsiz
I once did this in VB (don't shoot me please) using a normal listbox and just ownerdrawning it, you just have to keep track of the current state, that's all
Posted on 2002-12-02 15:32:48 by Joshua
y joshua
i thought do that yesterday
i think using owner-draw listbox is very easy than owner-draw listview
also i have seen tutorial which use listbox instead
never mind;me too, i was vb programer
thnx joshua
ah do u want source which changes the world i think i have one:):alright:
Posted on 2002-12-03 07:04:07 by minsiz