Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: austinium

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,265

    Re: CButton without black border

    Thank you :)
  2. Replies
    2
    Views
    2,265

    CButton without black border

    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...
  3. loss of precision while using CString Format function

    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
  4. Re: Auto Resizing CListCtrl columns as Dialog is resized

    hi,

    thanks for your response, sorry about my taking so long to post back. I just got around to fixing this, Its fixed.
  5. Re: identifying integer assigned to double, how to?

    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...
  6. identifying integer assigned to double, how to?

    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...
  7. Auto Resizing CListCtrl columns as Dialog is resized

    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...
  8. Re: Visual Studio 2008 not rebuilding on CTRL+F5

    thanks, that fixed it.
  9. Visual Studio 2008 not rebuilding on CTRL+F5

    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 ...
  10. Re: STL newbie: calling member functions through lists

    Thank you very much :)
  11. STL newbie: calling member functions through lists

    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...
  12. Replies
    1
    Views
    1,356

    Saving data from a CTreeCtrl to XML

    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...
  13. Replies
    3
    Views
    744

    √ symbol as a CButton's caption

    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'.
  14. Replies
    10
    Views
    1,175

    Re: CListCtrl Column-wise dblclick handling

    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...
  15. Replies
    10
    Views
    1,175

    Re: CListCtrl Column-wise dblclick handling

    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...
  16. Replies
    10
    Views
    1,175

    Re: CListCtrl Column-wise dblclick handling

    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...
  17. Replies
    10
    Views
    1,175

    Re: CListCtrl Column-wise dblclick handling

    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();...
  18. Replies
    10
    Views
    1,175

    CListCtrl Column-wise dblclick handling

    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...
  19. Replies
    1
    Views
    1,100

    Making a resizable dialog

    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...
  20. Re: Getting the cursor to blink to the right of text in a CEdit box control

    thanks, fixed.
  21. Re: Getting the cursor to blink to the right of text in a CEdit box control

    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...
  22. Getting the cursor to blink to the right of text in a CEdit box control

    Hi,

    What function should i use to get the cursor to blink on the right side of text on a CEdit control?

    thanks
  23. Replies
    1
    Views
    2,544

    memory stack size calculation

    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...
Results 1 to 23 of 24


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center