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

Creating flat Progress bar control in MFC

Hi I have instantiate CProgressCntrl in my MFC dialog using VS 2010. But I want to make it look as a Flat progress bar. Is there is any way to make flat progress bar control in MFC. 

View Article


Image may be NSFW.
Clik here to view.

Cannot create win32 Console Application

I'm using Windows 7 Home Premium and Visual C++ 2010 Express.Every time I try to create a Visual C++ win32 console application project and then I go into the Win32 Application Wizard, it doesn't show...

View Article


VS 2010 not able to compile C++

I just downloaded and installed VS 2010, and when I start a new console application using the C++ settings, the template opens with redlines already in it, under _TCHAR* in the main function...

View Article

WSASetEvent question

How can I call WSASetEvent without knowing hEvent but SOCKET?菜鸟小筑 http://blog.csdn.net/rrrfff

View Article

Cstring editor?

Is there an editor that properly display and format/unformat Cstrings? In other words, is there a way to turn the following cryptic text into something easily readable for human editing? And then...

View Article


C++ or C++.NET

Hello,i want to learn windows programming and i think (please correct me) that C++ is the best and stongest language to develop windows applications but i am just thinking do i have to start with C++...

View Article

Ambiguity resolution using namespace

I have a question about resolving ambiguity using namespace.  In the following example there are two classes with the same name, Tester, but they are defined in different namespaces.  I then have...

View Article

save a paint

Hello,I am a self-taught beginner.I've created a little program that works in c++. It gets some values and plot a graph. It works. Now I would like to save the paint on the window (.bmp, .gif, .pdf, it...

View Article


Hidden overload of a class constructor

When I hover cursor over the only explicit constructor specified for a C++ class I am working on, the Visual studio gives tool-tip with the constructor fully qualified signature and a "+1 overload"...

View Article


Image may be NSFW.
Clik here to view.

I need some explanation on the syntax of a lambda-expression.

The question may seem naive, but I've just started studying lambda-expressions. In thisexampleint main() { int x = 4; int y = 5; int z = [=] { return x + y; }(); }I don't understand the parenthesis at...

View Article

Trouble of getting WindowTitle from different Sessions

How can i EnumWindows and get windowTitles from a windows service?

View Article

how to Draw shapes with graphics in Visual studio 2012?

i want to build project of c++ in visual studio 2012 for drawing shapes with  graphics?? can anyone guide me how to do it and how to add libraries? i have searched on internet but could not found any...

View Article

Is using assert extensively in a c++ application recommended? are there any...

I am developing an application which consists of GUI in MFC dll and core logics in a noraml C++ dll. I have read in some old articles about using assert effectively in c++. I would like to know if...

View Article


error C2065: 'it' : undeclared identifier

HiI am migrating my application from vc++6.0 to vc++2013The code were iam facing error iam putting down with highlighting the error line===============CODE========================if...

View Article

DIA SDK for Visual Studio 2013?

Where is DIA SDK in Visual Studio 2013?  I cannot find DIA header (dia2.h) in VS2013 installation.

View Article


How to set the static IP address of a disconnected network adapter on Windows...

I have a program that sets the static IP address of physical network adapters, triggered by an event.The code uses C++ WMI.This has worked in Windows XP ,whether the NIC was connected or not.This is...

View Article

Debugging MFC settup on Window 7

I have an application that uses MFC and build with visual C++ 2010. It runs its setup on most systems but it crashes and gives the error.Problem signature: Problem Event Name:...

View Article


Runtime Error (at 322-213)

How do I corect this Vista PC so I don't get that error again?

View Article

Why do I have to use "mutable" in the lambda-expression below?

The snippet is copy of the first example here:#include <algorithm> #include <iostream> #include <vector> using namespace std; // The number of elements in the vector. const int...

View Article

Bitmap with lower resolution as displayed on monitor

Hello,i have a monitor with a resolution of 1920x1080. I use BitBlt to get a screenshot of the screen but I would like to get the bitmap with a resolution of 1600x900 (next resolution offered by my...

View Article
Browsing all 15302 articles
Browse latest View live


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