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?
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?
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:
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:
i don't how to display image in message
but i mean this control (see attached image)
but i mean this control (see attached image)
ok it was displayed
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.
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.
awesome thnx Graebel
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
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:
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: