I've two list boxes. These two list boxes contain similar elements at similar ids. i.e If List1 contains "Apple" as item0, List2 also contains "Apple" as item0. Similarly both the lists has 9 elements.My requirement is:
If I select "Apple" from List2, Apple could not be selected from List1. How to do this?
Thanks for the reply. I'm getting the selected item index for List box2 using this line: oppId = opplist->getSelected();. Then I'm trying to change the visiblity
of the corresponding item in list box1 using this code:
as you said, you are going to operate on larger values, the problem should be that, your resultant value is exceeding the 4 byte boundary, and you are getting improper result.
by the way, what are the values you are passing to pow?
what is the result you are getting, and what is the result you are expecting?
-------------------------------------------- Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
When I am on windows xp or later, I could get SERVICE_CONTROL_SESSIONCHANGE event by calling RegisterServiceCtrlHandlerEx and HandlerEx .But when I am on windows 2000 ,the SERVICE_CONTROL_SESSIONCHANGE event does not support windows 2000.
And now I am willing to get the logon and logoff event on windows 2000 in my service (win32 service), I could not find any method.
Most numbers cannot be stored accurately in a float. Those numbers have to be rounded off to some near representation, 10/3 being one. Nothing to be upset about. It's just another day at the office for your computer.