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

Search:

Type: Posts; User: left1none

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    21,362

    Re: How to figure time complexity of algorithm

    Yeah for one sock the 1st is way faster. I implemented it in software to see. When the number of pairs of socks increase the time increases quite a bit (maybe even exponentially). But I still wish...
  2. Replies
    5
    Views
    21,362

    How to figure time complexity of algorithm

    Lets say you have to find a pair of matching socks. You could:
    1) grab sock from basket.
    2) grab another sock from basket. If it doesn't match throw it to the side. If it matches goto line 4....
  3. Replies
    6
    Views
    600

    Re: Custom Control

    Oh forgot the link http://freesdk.crydev.net/download/attachments/131248/var_particle_life.jpg?version=1&modificationDate=1313184571000
  4. Replies
    6
    Views
    600

    Re: Custom Control

    I just need help getting started. In case you don't know what I need look here at the Var Emitter Strength and Var Particle Life. Basically I want something like that control. I just need some...
  5. Replies
    6
    Views
    600

    Re: Custom Control

    I have created custom controls before. Not claiming to be an expert and I did go through your articles and will again later but my problem is with this particular control. Thanks.
  6. Replies
    6
    Views
    600

    Custom Control

    I need to create a custom control. The control needs to be similar to the one used in Photoshop for curves adjustments. I need the control where a user can draw a line or bezier curve. I need to...
  7. Replies
    2
    Views
    696

    Re: Firefox like title bar

    How do you do it with that class? I'm not familiar with that class and MSDN didn't give any clues on how to add to caption bar.
  8. Replies
    2
    Views
    696

    Firefox like title bar

    How would you go about creating a button in the title bar with menu like Firefox does.. i think I have some idea how but I know it must be harder then I think it is.

    Like pictured here:...
  9. Replies
    20
    Views
    2,675

    Re: Building own String class

    What if you wanted the CString class to be multi-platform? Would you be better designing your own class then?
    Jack
  10. Replies
    20
    Views
    2,675

    Re: Building own String class

    Oh I knew it was templated but didn't know you could use it outside of MFC though. Thanks for pointing that out. I was just putting lots of code I use over and over into a library and thought about...
  11. Replies
    20
    Views
    2,675

    Building own String class

    I am working on building my own String class and I was wondering what is the best way to make a method like the CString::Format() method where it takes an argument list of unknown quantity as an...
  12. Replies
    2
    Views
    832

    Re: Designing classes

    So I have read about Observer pattern some but how exactly would I implement it and is this the best way to handle the blackjack classes? And yes I agree with adding the other class. I was...
  13. Replies
    2
    Views
    832

    Designing classes

    I'm designing classes for a blackjack simulator. I have CBJTable which has a CDealer which deals CCards to a CPlayer. What is the best way to send messages back and forth from CDealer and CPlayer. ...
  14. Replies
    1
    Views
    457

    Re: Tabbed Documents

    I figured it out thanks. For others who may find this and wonder be sure to use CMDIChildWndEx as base class of MDI child window.
  15. Replies
    1
    Views
    457

    Tabbed Documents

    How does the MDI tabbed Documents work? I created a second Doc/View that I want to be on the TabCtrl like the original Doc/View. But I don't know how to add a new document to the tabbed documents. ...
  16. Replies
    4
    Views
    527

    Re: Visual Studio.net 2002

    Thanks I can't find if the upgrade works but I'll look into it. Been searching microsofts site.
  17. Replies
    4
    Views
    527

    Re: Visual Studio.net 2002

    Sure I can shell that out and that's with the MFC and also does that upgrade price work for 2002 see that's what I'm not sure about and hard to find out exactly. And does that version work for...
  18. Replies
    4
    Views
    527

    Visual Studio.net 2002

    I just recently bought a new laptop and it runs Windows 7 64 bit OS and of course Visual Studio.net 2002 wont install on it. Is there anything I can do to get this to run or what is the cheapest...
  19. Replies
    15
    Views
    1,736

    Re: Overriding CListCtrl in CListView

    Tried that. It didn't work. I mean it did return that class but it didn't draw the control right. I had to put all the drawing code in CListView itself.
  20. Replies
    15
    Views
    1,736

    Re: Overriding CListCtrl in CListView

    I would still love to know how to do this but I found a work around. I took out all my OnCustomDraw() and OnEraseBkgd() code out and put it in my CListView and it works. But if anyone figures out...
  21. Replies
    15
    Views
    1,736

    Re: Overriding CListCtrl in CListView

    Actually just tried what I mentioned in previous post and it just created a CListView not with my derived class. hmmmm.

    Jack
  22. Replies
    15
    Views
    1,736

    Re: Overriding CListCtrl in CListView

    I came to the same conclusion because I called AfxMessageBox() to display the classname in my custom CListCtrl and it came up as "SysListView" which I knew was the CListCtrl in MFC.

    So if I use...
  23. Replies
    15
    Views
    1,736

    Re: Overriding CListCtrl in CListView

    Ok looked into it and it seems easy enough but what do I put for WC_LISTVIEW. I mean I don't know my CListCtrl derived window class name.


    _AFXCVIEW_INLINE CListView::CListView()
    :...
  24. Replies
    15
    Views
    1,736

    Re: Overriding CListCtrl in CListView

    Will look into that. Time to pull out the MFC Internals book and go through MFC code as well. Thanks.
  25. Replies
    15
    Views
    1,736

    Re: Overriding CListCtrl in CListView

    Originally when I posted a problem I was having I had a CMDIChildWnd that just contained a CListCtrl inside and everyone said to use CListView so that's what I'm attempting now. I guess since...
Results 1 to 25 of 263
Page 1 of 11 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center