Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

MFC-MDI-Win7 Wild Flickering

My MFC MDI app with tabbed views works as expected when compiled with VS2008. But compiling the same code in VS 2013 (running on Win7) introduces a new feature: Instead of one button on the taskbar...

View Article


calculating the probability of main characters in a string

i have a string from a user and i want to calculate the probability of each letter in this string i wrote this code in c++ but the probability comes to be zero i don't know why...

View Article


Image may be NSFW.
Clik here to view.

Graph Controls

Hello, I would just like to know how to create graph controls using C++ thru Windows API, just like in the Task Manager. Thanks.

View Article

How do you dynamically change the font size at runtime in a ATL dialog?

I need to change the font size in my ATL dialog templates at runtime (so that the entire dialog gets rescaled).  What is the best approach to do this?  The only solution I've found in the forums does...

View Article

DockingPane with Splitter and RichEditctrl not returning GetSelText

I have a CDockingPane, with a SplitterWnd in it, and in both panes I have RichEditctrl in each. When I ask it, if there is text in the window after I type text  with...

View Article


Modal dialog become modalless

Hi,I am working on a mixed mode application.In my application(MFC), on click of a button, we will launch a modal dialog which is MFC. Within that dialog on click of another button I will launch another...

View Article

ATL COM Library Class Not Registered Error

I have an ATL COM project that creates a type library called Grouper. I have compiled this C++ ATL COM project and VS2013 automatically registers the library. Great. I then add a reference to this COM...

View Article

How to sort datagridview in Visual Studio 2012 (VC++)

Hi,I am using a dataGridView in my project and I am filling it by dataGridView1->Rows->Add(id, time(NULL),x1 ,x2); // whateverNow I am trying to sort it by the id, which contains just integer...

View Article


ClistCtrl child window positioning problem.

hi all, i am trying to develop a clistctrl which having  process ring in all items.Here is a problem in positioning of process ring in vertical scrolling and horizontal scrolling .Pls help.demo code is...

View Article


MFC SDI Maximize position error.

I have created a simple C++ sdi project to try this. My desktop windows bar is on left, try to maximize this sdi application! Note the position is 2x size of bar to the right. Is it a bug? I'm using...

View Article

how to play mp4 files in mfc

hi all, Please help to play mp4 files inside a MFC application.There are so many samples are for AVI file player.thanks in advance, sarath sPlease remember to mark the replies as answers if they help...

View Article

how to Custom Draw button inside a Clistctrl with Icon view.

hi, how to Custom Draw button inside a Clistctrl with Icon view.Number of items in the clistctrl is more than 50 .Need to place or draw button above each item.thanks, sarath sPlease remember to mark...

View Article

error LNK2019

I Wrote a C++ program to  read data from IMU sensor. Besides, I got the following messageerror LNK2019: unresolved external symbol __imp__LpmsSensorManagerFactory@0 referenced in function _main...

View Article


I have a application developed in VC++ 6.0 in 2001. I am trying to migrate to...

Error 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int w:\build\release\include\FileName.h 25 1 ProjectName Error 8 error C4430: missing type specifier - int...

View Article

VS 2010 fatal error C1083

Hi all, Hope someone can help me solve this issue.. I recently moved all my VS projects to a new computer I got and I'm trying to compile a project I have. The project is a VC++ one and it was...

View Article


Using Windows SDK 8.1 on a Windows 7 box

So I have a c++ application that builds on Windows 7 and Windows 8 using Visual Studio 2013. The app uses DirectX via the Windows 8.1 SDK so all box, including the Windows 7 ones, have that...

View Article

How can i oad varbinary from database?

have a good timei puted a file int the database with varbinary(max) type.now i want to load the file from the database in the my app. i work with visual C++ 2013.i know that how open and connect to...

View Article


i am not able to build the USBDLL in 64 bit machine but same USBDLL is...

Hi,i am not able to build the USBDLL in 64 bit machine but same USBdll is working in 32 machine.could you please help me how to resolve these 2 errors. please see the below errors in bold letterserror...

View Article

Visual Studio 2013 custom build tool is executed only for one file

After migrating C++ projects from Visual Studio 2008 to 2013 custom build step stopped working properly. It is now executing custom build step only for some files. In one project of the same solution...

View Article

Is there a working C++ refactoring tool ?

Does anybody know a fully featured refactoring tool for C++ that works reliably with large code bases (some 100.000 lines)? with around 2000 variables (global and local) ?I know this question has been...

View Article
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>