Line 427 error in atlsimpstr.h
Hi, Read serial process done by thread and write serial process done by millisecond timer (ex: 1000Millisec) and store it to edit control - serialdata[datalimit++]. Here, datalimit = 8192. datalimit...
View ArticleCImage reverse dimension cxcy !
Only if i load pics taken vertically (so what width is < of height). Example: Pic strFoto have width of 1000px and height of 3000px. CImage img; img.Load(strFoto); int cx = img.GetWidth(); //...
View Article%(LinkOutputFile)
I like to use target names which give me some information about whether the target is 32-bit or 64-bit and also whether it's a Debug build. So if I was building a Debug build of boost-regex (for...
View ArticleMultiline edit box auto scroll position to Bottom
Hi, I was set auto vertical scroll bar, When writing in a multiline edit box. But I would like to Set it (vertical scroll) to down position automatically. How can I do ? Code:...
View Article[RESOLVED] Multiline edit box auto scroll position to Bottom
Hi, I was set auto vertical scroll bar, When writing in a multiline edit box. But I would like to Set it (vertical scroll) to down position automatically. How can I do ? Code:...
View ArticleManifest files and VS2015
After years of building everything with VS2005 I finally found an opportunity to upgrade to VS2015 Community Edition - and to be fair, everything's gone a lot smoother than I expected :D The only thing...
View ArticleMigrating code from VS2008 to VS2010
All, I#m still converting code from VS2008 to VS 2010 I chased this error for hours, without success. Quote: Error: "std::_Tree_unchecked_const_iterator<_Mytree,_Base>::operator ->": Code:...
View Articleadd Image to button then also add text to button at Centre of button
I am able to add image to the button successfully as background but later I want to add text to the button as "Start", I tried all possible ways using Settext, SendmessageA. please help to add text to...
View ArticleGlobal Declaration - Circular Buffer
hi i'm Using Circular Buffer. Code: //locally declared and used. no issue typedef circular_buffer<int> cbuf_type; circular_buffer cbuf(20); i want to declare as global variables (used extern -...
View Article#include (compile issue with VS2015)
By some mechanism which I haven't figured out, a program I'm compiling seems to #include <csignal>. It used to compile fine with VS2005 but after upgrading recently to VS2015 Community Edition I...
View ArticleUsing Property Sheets in VS2015
I've recently come to VS2015 after many years with VS2005. One of the nice features about VS2005 (and even some later editions) was that you could use things called Property Sheets. These could contain...
View ArticleButtons from ribbon appear disabled
Hello All, I would have one question: In VS2013, using the wizard, I have created a small MFC project that contain a ribbon. You already know that in this case VS create automatically several files...
View Articleform view and controls sizing
Hello, I am implementing a form view with controls but I am having problems sizing the width of the controls if the width of the MDIChildWnd frame which holds the view is changed. Apparently there are...
View ArticleVisual Studio Community Edition 2015 crashes when hit Debug for certain app
A few months back, I installed Visual Studio Community edition 2015, and started working on some small and also some large applications. It worked fine, the debugger did it's job perfectly. Then I got...
View ArticleWorrying std::string problem
Has there been some fundamental change to std::string between VS2005 and VS2015? I'm building an app with VS2015 (which I only recently installed). It links to some DLLs that were built with VS2005....
View ArticleATL ActiveX MSDN Tutorial Example: Why do I get IntelliSense Errors?
I used the MSDN ActiveX Template Library (ATL) Tutorial to build the "Polygon" ActiveX Control. I followed the instructions on the MSDN Tutorial, and everything went well until I added the "PolyCtl"...
View ArticleChanging the status bar text
My mfc application is single document interface. The buttons and edit controls are placed on the form view. I want to display the functionality of buttons in the status bar when the mouse pointer moves...
View ArticleCircles in WebBrowser Control
I am making a WYSIWYG based on WebBrowser Control. The C++ program which hosts a webbrowser control creates an ASP page. One can drag and drop elements from a tool bar. I implemented elements and...
View ArticlePre and Post Build Steps with VS2015
I'm converting some DLL projects that I previously built using VS2005. Most of them have some kind of pre or post build events defined. VS2005 had a useful feature whereby for a build (as distinct from...
View ArticleFrame window onsizing
Hello, cs.style &= ~WS_THICKFRAME prevents resizing of all the sides of a window in the CMDIChildWnd OnSizing method. But how can you prevent resizing of a specific side of the frame window? For...
View Article