topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday June 20, 2025, 6:52 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 30 31 32 33 34 [35] 36 37 38 39 40 ... 56next
851
Living Room / Re: What is Twitter: A Funny Sarcastic Cartoon
« Last post by Eóin on March 23, 2009, 06:53 AM »
Me too, never had that problem before.
852
Living Room / Re: Who else is sick of difficult word verifications on the web?
« Last post by Eóin on March 22, 2009, 02:10 PM »
Cool trick scancode!
853
Living Room / Re: Who else is sick of difficult word verifications on the web?
« Last post by Eóin on March 22, 2009, 11:27 AM »
That audio one makes no sense whatsoever. And while we're on the subject again, Megaupload has gotten pretty difficult recently :D

gencap.php.gif

gencap1.php.gif

gencap3.php.gif
854
Living Room / Re: "50 Most Beautiful Icon Sets Created in 2008"
« Last post by Eóin on March 21, 2009, 09:11 PM »
Fenix are you not being a bit harsh, a set is more than one. And I don't really mean that in a nit picky technical sense of a set (which can actually even be empty ;) ) but I mean 4 or 5 icons with a similar theme could be more than adequate for someone's purposes. That surely therefore qualifies as an 'Icon Set'.

Anyway Phil thanks for link :Thmbsup:
855
Coming from my math background I'd actually always wished you could use Greek characters in source code.

But as time goes by that idea seems less and less sensible :D
856
phitsc, to me the question of what knowledge of a language you can expect from others is a separate issue. Though of course a very important one in a team situation.

In your example the decision I'd be trying to make is between you third example or a similar 2 line version where the result of the bind is stored in a tr1::function. It's the trade off between the evil of introducing a redundant variable versus the evil that the single line version is too long.
857
General Software Discussion / Re: SWF Flash Animation file to AVI?
« Last post by Eóin on March 10, 2009, 05:37 AM »
SUPER © or MediaCoder should do it.

I'd try MediaCoder first.
858
Living Room / Re: Sydney Gay & Lesbian Mardi Gras 09
« Last post by Eóin on March 08, 2009, 08:57 AM »
Ah parades of all kinds are harmless fun :)

Edit: Actually of all people I should know not all parades are harmless. But Mardi Gras surely is :)
859
Living Room / Re: World of Goo - Indie Game with Great Reviews?
« Last post by Eóin on March 07, 2009, 05:58 PM »
You can use Hard Link Shell Extension to add junctions and other NTFS links to the right-click context menu of regular explorer.
860
What are the specs? If you can upgrade it to just Win2k it'll save a lot of hassle.
861
Living Room / Re: The Greatest Graphic Novel of All Time: Watchmen
« Last post by Eóin on March 04, 2009, 06:04 AM »
I haven't read Watchmen yet, but do want to do so before I go to see the film. Speaking of graphic novels another truly excellent one is The Filth.
862
C / C++ / Re: Static Text Control Font Size
« Last post by Eóin on March 03, 2009, 07:38 AM »
I don't really know with MFC but you probably have to Attach the CWnd class you're creating to the existing Dialog control. Honestly though I'm not sure.
863
General Software Discussion / Re: Help me back up a virus infected CD (!)
« Last post by Eóin on March 03, 2009, 04:19 AM »
I would add to be wary of autorun from the cd possibly infecting your PC when the anti-virus is disabled. To be safe also disable autorun, (it really should be disabled anyway in my opinion).

If the cd is just a backup it's probably an unlikely thing to happen.
864
C / C++ / Re: Static Text Control Font Size
« Last post by Eóin on March 03, 2009, 04:04 AM »
From your code I'd guess the last line should be wndControl->SetFont(font_fixedw_); as wndControl is declared as a CWnd pointer. But as I say, I'd guess :)
865
C / C++ / Re: Static Text Control Font Size
« Last post by Eóin on March 03, 2009, 02:53 AM »
I believe you would have to create your own font object and load it into the control. All I can offer is WTL based code, but the MFC equivilent may not differ all that much.

Code: C++ [Select]
  1. CFont font_fixedw_;
  2.  
  3. ...
  4.  
  5. if (CFont font = GetFont())
  6. {
  7.         CLogFont lf;           
  8.  
  9.         if (font.GetLogFont(&lf))
  10.         {
  11.                 lf.lfWidth = 6;
  12.                 lf.lfPitchAndFamily = FIXED_PITCH;
  13.                 lf.lfFaceName[0] = 0;
  14.                 font_fixedw_.CreateFontIndirect(&lf);
  15.         }
  16. }
  17.  
  18. CWindow wndControl = GetDlgItem(IDC_DESCRIPTION);
  19. wndControl.SetFont(font_fixedw_);

Hope it is of some help.
866
General Software Discussion / Re: Thinking about buying Visual Studio 2008
« Last post by Eóin on February 25, 2009, 04:05 PM »
This is as much as I know :)

Rob Mensching, the original author and lead developer of WiX, works on WiX in his spare time. At the time of release he said, "I did not feel that many people inside Microsoft understood what the Open Source community was really about and I wanted to improve that understanding by providing an example."

As of 2006, several other Microsoft employees from various product divisions of the company work on WiX with Mensching, meeting after business hours once a week to coordinate development efforts and write code. WiX has proven to be so popular with Microsoft development teams that many of Microsoft's software products, like SQL Server 2005 and Office 2007, are packaged using WiX.
867
General Software Discussion / Re: Thinking about buying Visual Studio 2008
« Last post by Eóin on February 25, 2009, 03:23 PM »
You should definitely look into WiX. It's developed by MS staff, standalone or integrates into VS (though don't know about Express Editions). It allows you to build MSI files through a XML syntax.
868
General Software Discussion / BgPatterns - tiled background designer
« Last post by Eóin on February 24, 2009, 06:50 PM »
Came across this neat web app. Excellent for quickly making cool looking tiled backgrounds.

bgpatterns.jpg
869
Developer's Corner / Re: Visual C++ Help please (Vector<>)
« Last post by Eóin on February 20, 2009, 04:07 AM »
At line 24 you have defined a variable std::vector<std::string> words so from then on the identifer words doesn't refer to your class.

Rename that variable and all is well :Thmbsup:
870
General Software Discussion / Re: Command-line-fu is a brilliant idea (Linux)
« Last post by Eóin on February 19, 2009, 12:29 PM »
Similar to the 'Delete your System32 folder' to fix various Windows problems :D
871
Developer's Corner / Re: Beautiful Code: In your opinion, what makes code Beautiful?
« Last post by Eóin on February 19, 2009, 04:49 AM »
I don't know, but outside the extremes like perl one-liners and c++ overloaded operator gobbledygook I find less code enormously easier to read.

For example I'd extremely limit introducing an intermediate variable when the return of a function is needed only once and can be written inline. This has nothing to do with efficiency, a compiler would probably make the same code anyway. But yet another variable, even clearly named, just complicates the code.

Off hand now other examples are hard to think of, but ultimately I would say that I virtually never come across case where 2 lines is actually less legible than 20. Use good names but otherwise be a succinct as possible I'd say is the best rule of thumb.
872
A bit forced, (4) is good :)
873
Expenditure on R&D is about the only way to ensure longevity. It would surprise me greatly if long-term investors were truely complaining. If you want to try and gain a quick profit invest in high risk and not the guy who holds the monopoly. He isn't going to risk it over some investors short term gamble.
874
Though it concentrates on smartphones, xda-developers is an extraordinarily active Windows Mobile forum. Honestly much as I love DC it seems the definitive resource for the mobile platform to me.
875
Living Room / Re: Higher Quality Youtube Tip
« Last post by Eóin on February 10, 2009, 09:47 AM »
Cool, didn't know that :Thmbsup:
Pages: prev1 ... 30 31 32 33 34 [35] 36 37 38 39 40 ... 56next