Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3021 articles
Browse latest View live

Help getting started with C++

Hello! I am new to this forum, and to C++ itself and to programming in general. I want to study Computer Science as I absolutely love it and I'm currently 16 and still in school and I would like to...

View Article


Problem deleting HBITMAP object

I have a little demo of a bitmap button that simply uses CButton and resource bitmaps in an MFC dialog app. The intent is to click on the button and have the bitmap image change. My code works ok the...

View Article


Having trouble initializing array in constructor?

I am making a tic tac toe program in which they are asking me to have a 3x3 2 dimensional array of integers and have the constructor initialize the empty board to all zeros. They also want me to place...

View Article

Modal dialog unexpectedly becomes non-modal

I have a modal dialog. When I click on a button in the dialog to perform an operation, a non-modal dialog is displayed showing a progress message. The operation is not successful. It calls...

View Article

Image may be NSFW.
Clik here to view.

MSChart Control - Cursor Changed like a loading symbol

Hi, I'm using MSChart control in my project. I have array of data to draw (per every second) using mschart control . At this time, the cursor changed into loading symbol and mschart control blinking...

View Article


Unable to display a dialog in a UI thread

I am having a strange problem trying to display a dialog from a UI thread. The dialog simply fails to display. I have a function DisplayFlashBox(), which creates the UI thread: CUIThread* CIMUIHelper::...

View Article

Image may be NSFW.
Clik here to view.

Difficulty in Copy Assignment in C++

Hello all, I read the book Programming Principle and Practice using C++ by Stroustrup. It's third time that I read the section Copy Assignments but can't understand some parts of it. I've inserted...

View Article

Vs2005 -> vs2013

From Past 10years we were working on VS2005 VC++ and currently shifted to VS2013. I dont know from where to start as there are many classes added with new features. Unable to find good books/sites...

View Article


Best C++ GUI Library/IDE

I'm currently studying C++ by the book "Programming Principles and Practice using C++" by Stroustrup. I have learnt working with FLTK with that book. Although I haven't finished it yet but I know that...

View Article


Set Flag in PropertyPage

Hi, I have 3 pages. I like to set a flag = TRUE when i'm in page3 and set flag = FALSE when i'm in page1 & Page2. I tried like below, I set the flag = FALSE in OnInitDialog & OnTimer of Page1...

View Article

win32 : ftp connection from textfield (builder and stub)

Ok I have always had this battle.. I created a file sometime ago, which uses resource. The program has apart in which it connects to ftp and sends the data to the ftp Now I am creating a dialog using...

View Article

[RESOLVED] Set Flag in PropertyPage

Hi, I have 3 pages. I like to set a flag = TRUE when i'm in page3 and set flag = FALSE when i'm in page1 & Page2. I tried like below, I set the flag = FALSE in OnInitDialog & OnTimer of Page1...

View Article

Database Backup Using VC++

Hi, I'm using a MySQL database in my project. I like to backup MySQL database when a Backup button clicked. I know how to backup MySQL Database via command prompt using MySQL comments. but, I don't...

View Article


Image may be NSFW.
Clik here to view.

C++ to C problen

Hi everyone, I’m beginner and I need a little help. I have to make RPN (postfix) calculator using stack which is implemented by singly linked list in C. Now I found that but in C++ and I’m having...

View Article

Custon control Library design

HI all, i want to design a custom control (Ui widget library) , this library can be used by any IDe developer to develop his UI. can u please tell me how to design a custom control library and plug in...

View Article


project on c++ programming

Hello there guys i need help on my c++ project.. here is the problem: Write a program to check whether a given triangle is a right triangle by taking coordinates of 3 points of triangle. thats it.....

View Article

Intellisense Question With Visual C++ 2013

If this post should have been posted in the C++ thread, let me know. It involves Visual Studio 2013, so I posted it here. There's something annoying going on with Visual C++ 2013 intellisense and I'm...

View Article


MFC click event don't work between a parent and subclass in a web control

Hi all, This is my first time here. I'm desperate with a problem using the click event in a web browser control. I'm a newbie with this c++ stuff, so it's event more difficult to me. I have a control...

View Article

Image may be NSFW.
Clik here to view.

person::person(const person &)' : cannot convert parameter 1 from 'int' to...

Hi, I am new to c++ and I am following a video on youtube. The code generates errors. Can someone explain what the errors mean and how to fix them? Code: // this keyword.cpp : Defines the entry point...

View Article

Need help fixing faulty CScrollView zoom

I have been unable to solve this problem. An SDI CScrollView app displays a displaced view with double set of scroll bars when user zooms window. This can be corrected by iconizing, then restoring the...

View Article
Browsing all 3021 articles
Browse latest View live