Search:
Type: Posts; User: austinium
Search:
Search took 0.02 seconds.
-
October 29th, 2009, 05:08 AM
-
October 29th, 2009, 12:10 AM
Hi,
I am trying to create a button with bitmaps , like an on / off switch. Each time the user clicks the button the bitmap is changed correspondingly.
I have used CButton::Create to create the...
-
October 22nd, 2009, 08:00 AM
Hi,
iam facing issues with loss of precision when using CString's Format function, heres a code snippet.
double func(double dvar)
{
return dvar*0.00277777778;
}
//code
-
October 22nd, 2009, 07:12 AM
hi,
thanks for your response, sorry about my taking so long to post back. I just got around to fixing this, Its fixed.
-
October 22nd, 2009, 01:04 AM
hi,
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...
-
October 20th, 2009, 11:58 PM
hi,
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...
-
October 18th, 2009, 09:47 AM
Hi,
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...
-
October 14th, 2009, 07:53 AM
-
October 14th, 2009, 12:25 AM
Hi,
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 ...
-
October 4th, 2009, 09:17 AM
-
October 4th, 2009, 08:37 AM
Hi,
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.
heres...
-
October 2nd, 2009, 02:59 AM
Hi,
I started programming in VC++ about a month ago, and have gotten great help here.
I could use some help with this : I have a ctreectrl, where each root item and each child item have a set...
-
September 30th, 2009, 07:43 AM
Hi,
How do i use the √(Square root) symbol as a CButton's caption.
I have tried pasting it, it shows up on the Dialog editor fine, but upon execution gets converted to 'v'.
-
September 30th, 2009, 07:38 AM
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...
-
September 28th, 2009, 10:11 AM
hi,
ok ... kinda messed up here haven't i! Thank you so much Victor for helping out :)
Heres the situation:
I have a class that derives CListCtrl (All the event handling goes in here)
I...
-
September 28th, 2009, 08:39 AM
Hi Victor,
Sorry i got a little mixed up, I have to handle both RClick and DBLClick. I tried ON_WM_CONTEXTMENU for rclick - and got the following error:
error C2440: 'static_cast' : cannot...
-
September 28th, 2009, 07:21 AM
Thanks for the response Victor, heres what the code for the right click looks like:
void MyProject::OnRclickHistList(NMHDR* pNMHDR, LRESULT* pResult)
{
DWORD dwPos = GetMessagePos();...
-
September 28th, 2009, 06:09 AM
Hi,
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...
-
September 26th, 2009, 06:57 AM
Hi,
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...
-
September 26th, 2009, 06:05 AM
-
September 26th, 2009, 03:57 AM
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...
-
September 26th, 2009, 03:48 AM
Hi,
What function should i use to get the cursor to blink on the right side of text on a CEdit control?
thanks
-
hi,
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...
|
Click Here to Expand Forum to Full Width
|