This is part of a calculator, right now the input goes into a double value and the result is also a double value, so 2*2 ends up being 4.000..., which is correct but not very pretty. So i need...
The code iam working on accepts numeric input from the user and stores it into a double variable. The user can enter either floating point numbers or integers. How do i identify if the user...
I have a CListCtrl with 2 columns. Right now the CListCtrl expands and shrinks as the dialog is resized, however the columns do not resize, what i am trying to do is to divide the width of the...
I am having the odd problem with VS 08, whenever i change any file and press CTRL+F5 code is not re-built. So i end up having to F7 and then F5 or CTRL+F5 depending on whether i want to ...
Iam trying to teach myself STL list containers, i haven't been able to figure out how to call a member function for individual objects in a list, I have a list consisting of objects.
Thanks for helping out VictorN , hoxsiew. I used SubItemHitTest for extracting item text. based it on code from MSDN's example for the function. I will change to WM_CONTEXTMENU as soon as i get some...
I am new VC++, iam working on a CListCtrl which has two columns. I need to handle NM_DBLCLICK separately for each of the two columns. The first column contains item names while the second...
I need to make a dialog which has an expand/shrink button. When expanded, the user clicks the button to shrink the class to a point, when shrunk the user clicks the button to expand the dialog...
Oops i missed some details, I have a CButton which OnClick clears the contents of the CEdit box and place text("fill-in") there, then i use SetFocus() on the editbox. Now the cursor blinks to the...
i am trying to write a Perl script that calculates the memory stack size utilized by functions by using the assembly instruction that assigns memory on stack. This is a lot like checkstack.pl...