Search:
Type: Posts; User: left1none
Search:
Search took 0.04 seconds.
-
September 13th, 2013, 05:56 PM
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...
-
August 22nd, 2013, 10:54 AM
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....
-
April 30th, 2013, 07:43 PM
Oh forgot the link http://freesdk.crydev.net/download/attachments/131248/var_particle_life.jpg?version=1&modificationDate=1313184571000
-
April 30th, 2013, 07:31 PM
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...
-
April 29th, 2013, 12:35 PM
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.
-
April 29th, 2013, 01:22 AM
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...
-
April 30th, 2012, 08:58 PM
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.
-
April 29th, 2012, 08:20 PM
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:...
-
April 6th, 2012, 09:33 PM
What if you wanted the CString class to be multi-platform? Would you be better designing your own class then?
Jack
-
March 28th, 2012, 08:54 PM
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...
-
March 28th, 2012, 04:41 PM
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...
-
November 28th, 2011, 07:18 AM
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...
-
November 27th, 2011, 11:06 AM
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. ...
-
February 18th, 2011, 01:00 AM
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.
-
February 18th, 2011, 12:29 AM
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. ...
-
January 18th, 2010, 05:02 PM
Thanks I can't find if the upgrade works but I'll look into it. Been searching microsofts site.
-
January 18th, 2010, 04:49 PM
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...
-
January 18th, 2010, 03:52 PM
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...
-
December 21st, 2009, 04:52 AM
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.
-
December 18th, 2009, 02:55 PM
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...
-
December 18th, 2009, 02:45 PM
Actually just tried what I mentioned in previous post and it just created a CListView not with my derived class. hmmmm.
Jack
-
December 18th, 2009, 02:00 PM
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...
-
December 17th, 2009, 05:31 PM
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()
:...
-
December 17th, 2009, 03:14 PM
Will look into that. Time to pull out the MFC Internals book and go through MFC code as well. Thanks.
-
December 15th, 2009, 10:00 PM
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...
|
Click Here to Expand Forum to Full Width
|