Type: Posts; User: ovidiucucu
Search took 0.16 seconds.
One alternative solution is to make your own custom or ActiveX control and draw in it everything your muscles want.
June 21st, 2015, 03:13 AM
Don't just assume, verify!
If cannot find IFileDialog in Shobjidl.h install a newer SDK.
Pretty easy, from Microsoft Download Center: .
Yes, it does. IFileDialog is supported on Windows...
June 20th, 2015, 02:38 PM
Just click here and replace "VS2012" from title with "VS2008", then click here again.
[ later edit ]
...and/or see the similar articles for older VS versions, e.g....
June 20th, 2015, 09:37 AM
Completing what Igor already stated:
Before being an expert, prefer using wizards instead of manually add stuff.
Take a look at A Beginner Tutorial for Writing Simple COM/ATL DLL....
June 17th, 2015, 03:03 PM
If have a look in <commctrl.h> you can see something like this:
June 17th, 2015, 12:35 PM
AFAIK, Visual Studio Community is a full featured edition (include ATL, MFC and so on) and free under some conditions.
June 16th, 2015, 01:32 PM
Cocoa is a high-level framework so it has no much sense to copare it with "classic" Windows GDI.
Anyway, for special text effects on Windows, you can check DirectWrite.
See for example this...
The locale's facet has a reference counter used for dynamically destruction.
To get rid of your problem, just create the facet also dynamically.
auto pCcvt = new...
Q: Can I move MDI child window out of the (main) frame window?
A: You can but you may not. :)
Of course, it is possible to do something like this
Which is value of MAX_CONTROLS?
12, 666. 65535, INT_MAX, something else?
C++ is neither Java, nor C#
Once you dynamically allocated stuff like in your example
...there's no chance to release it other place than inside CChangeSettings::OnInitDialog.
Review your application design.
April 30th, 2015, 12:59 AM
Beware! In your case the lambda call is asynchronous, so it's not OK to capture local variables by reference.
April 30th, 2015, 12:52 AM
Let’s Write a “Hello Lambda!”
It's intentionally made enough stupid, in order to explain lambdas at beginners level. :)
April 23rd, 2015, 07:58 AM
[ off-topic ]
Just for my curiosity: for which purpose are you using VTK in an MFC application?
April 23rd, 2015, 05:38 AM
You are calling SetCursorPos inside WM_MOUSEMOVE message handler (OnMouseMove). If the cursor is inside the view's client area (or the view has captured the mouse) a new WM_MOUSEMOVE message is...
April 22nd, 2015, 04:26 AM
Smoking few threads with a flavor of GUI can make you feel great but sooner or later may give nasty and painful headaches.
In case of abuse, of course. :)
[ later edit ]
Never forget the KISS...
April 22nd, 2015, 03:55 AM
I'm pretty sure you already know but please let me explain to others: in C/C++ a macro is expanded/resolved at preprocessing time which is the very first phase of code compiling. Besides,...
April 21st, 2015, 01:06 AM
Of course it works. I never thought it doesn't... :)
April 18th, 2015, 11:37 AM
The shortest answer is: No.
A little bit more elaborated: It is not possible to "edit the message map" at run-time as long it uses macros and the macros are expanded in the first compiler phase....
April 18th, 2015, 10:49 AM
The MDI main frame may have in its clent area, aside with MDI Client window (of pre-defined window class "MDIClient"), other docked windows: a status bar, a ribbon bar, toolbars etc. The framework...
April 18th, 2015, 04:27 AM
This picture shows who's the child of which parent in a classic MDI application.
April 9th, 2015, 02:35 PM
In your case you must not even call ScrollWindow but just move the child controls relative to parent's client area then invalidate.
Alternatively, you can try derive the custom control from...
April 9th, 2015, 02:07 PM
[ off-topic ]
I met a guy who recently ported a VC5 (VC5, not VC6) project to one of the latest VS versions.
And I know that's a pretty big project because I worked on it, over a dozen years...
April 7th, 2015, 10:28 AM
I would like to suggest a more reliable method for customizing a message box:
before calling ::MessageBox, set a CBT Hook.
in the CBT hook procedure, catch the creation of the message box and...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!