Click here to Skip to main content
15,908,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am making a simulation software in VC++6.0. I want to implement a rotary button, such that by pressing the rotary button each time different display pages are selected. Can anyone suggest how to implement a rotary button for multiple selections in VC++?

Timkee
Posted

1 solution

Cannot you use a standard button this way:
// button click handler
show_page(m_index); // 'm_index' is a (correctly initialized) class member.
m_index++;
m_index %= INDICES;
//...

?
:)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900