Type: Posts; User: ovidiucucu
Search took 0.15 seconds.
Again, please, is any connection between C++11 (ISO/IEC14882:2011) specific problems and what we are discussing here?
January 28th, 2015, 04:11 PM
[ off-topic ]
Which is the connection between Shell_NotifyIcon, (or other (C) WinAPI functions discussed here or in other topics you started) and C++11 which you are inserting in the title?
January 28th, 2015, 03:38 PM
Will be probably also known as C++/HOI (i.e. C++ (with) Header-Only Implementation). :)
January 23rd, 2015, 03:28 PM
Arjay, no need to wonder (and eventually have nightmares). I never wrote my "own string class, but using other parts of the std library". :)
January 23rd, 2015, 02:25 PM
IMHO presenting this solution to someone who still have problems with memory allocation, may easily transform him/her in a copy-coder, code-monkey or script-kiddie. :)
January 23rd, 2015, 01:47 PM
Indeed, Windows API GetForegroundWindow function does not return a pointer to an MFC object (as CWnd::GetForegroundWindow does) but returns a window handle (HWND) which IS A POINTER, as well.
January 18th, 2015, 12:25 PM
Arjay, I began coding long time ago with FORTRAN and COBOL-74.
But I never said (e.g. in a Java forum) something like
"Coming from C++ I've always found this obsession of using garbage collector...
January 18th, 2015, 11:54 AM
That explains everything. :)
January 18th, 2015, 07:08 AM
...and further we can see a lot of C++ code monkeys swearing whatever tools instead of shooting the architect which just has borrowed some cool practices from other programming languages. :)
January 18th, 2015, 06:19 AM
Writing a simple string class is not quite simple. :)
However, let's try to answer the OP questions.
Q1. Why do we need to make a forward declaration of the class ostream?
A1. Once included...
January 18th, 2015, 01:59 AM
“Learn, learn and once again, learn!” said the mighty V.I.Lenin :D
Well, afaik, seriously, there's not a tutorial named "Writing a Chat Program for FrontPage Coders". However, try to start from...
January 17th, 2015, 08:39 AM
No mater the file name. We can make a DLL named ole666.dll and that doesn't mean it's a 666-bit DLL. :)
On 64-bit systems there is a 64-bit ole32.dll in System32 folder and a 32-bit ole32.dll in...
January 17th, 2015, 02:57 AM
There are two kinds of scrollbars:
scrollbars which are shown in windows having WS_HSCROLL and/or WS_VSCROLL style;
scrollbar common controls (of window class "ScrollBar").
January 15th, 2015, 08:53 AM
An MDI application with "tabbed views" can have zero, one or more tab groups.
Here is an example of one having two tab groups.
If you want to programmatically activate a tab item (and...
January 12th, 2015, 05:47 PM
Have you ever dealt with C code written in early 90'th or earlier?
If yes, you can notice a lot of C implementation files included in other C implementation files.
That's because the...
January 9th, 2015, 09:42 AM
First note that WM_CTLCOLORMSGBOX message is discontinued and actually has no use.
However, we can customize a dialog box shown with MessageBox or related functions as follows:
January 9th, 2015, 05:37 AM
Basically, it is possible to remove the window title bar (including for windows created in other process) by removing WS_CAPTION style.
Of course, refer to built-in window caption and not to a...
December 23rd, 2014, 04:37 AM
If you are talking about CopyFile function, please note that it simply copy a file and does NOT perform any conversion.
December 6th, 2014, 09:10 AM
If you want to customize the look of controls which have Visual Styles then probably you have to use Visual Styles API.
November 25th, 2014, 06:28 AM
Beware of lambda expressions in WinAPI Applications! C++11 lambdas are great but still buggy. Stay cool and wait a little! ;)
November 18th, 2014, 05:47 AM
"When in Rome, do as Romans do!"
That is completing what Igor already said and means in this context "if deal with menus, use menus' documented stuff!"
If you want to write your own menu class,...
November 16th, 2014, 10:56 AM
Don't need to "subclass" a menu. Just handle the WM_COMMAND message which is sent to the owner window when the user selects a menu command item.
See WM_COMMAND message documentation in MSDN.
November 16th, 2014, 08:39 AM
That's pretty cool! :thumb:
November 9th, 2014, 07:58 AM
Making an application with the same look & feel in all platforms is not always a wise idea.
For example, Mac OSX and Windows applications have pretty different standard look & feel. ...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.