Click here to Skip to main content
15,888,302 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionminimum spanning tree Pin
Sadaiyappan16-Nov-08 9:54
Sadaiyappan16-Nov-08 9:54 
AnswerRe: minimum spanning tree Pin
Sarath C16-Nov-08 19:11
Sarath C16-Nov-08 19:11 
Questionhey plz fix this code it got errors urgent Pin
jazikhan00116-Nov-08 8:46
jazikhan00116-Nov-08 8:46 
AnswerRe: hey plz fix this code it got errors urgent Pin
Peter Weyzen16-Nov-08 9:46
Peter Weyzen16-Nov-08 9:46 
GeneralRe: hey plz fix this code it got errors urgent Pin
jazikhan00116-Nov-08 9:50
jazikhan00116-Nov-08 9:50 
AnswerRe: hey plz fix this code it got errors urgent Pin
22491717-Nov-08 12:42
22491717-Nov-08 12:42 
AnswerRe: hey plz fix this code it got errors urgent Pin
Iain Clarke, Warrior Programmer18-Nov-08 2:40
Iain Clarke, Warrior Programmer18-Nov-08 2:40 
QuestionA beginner question about winforms in VC++ Pin
Pedram Behroozi16-Nov-08 4:42
Pedram Behroozi16-Nov-08 4:42 
Hi all,
I'm a beginner and have a beginner question. I want to create a WinForm in C++. I created a Win32 Console Application in VS2008 and write these codes to create a WinForm (They're exactly what I saw in my ebook):
#include "stdafx.h"
#include "windows.h"

INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR, INT)
{
    WNDCLASSEX wc = {sizeof(WNDCLASSEX), CS_CLASSDC, MsgProc, 0L, 0L
                     GetModuleHandle(NULL), NULL, NULL, NULL, NULL,
                     TEXT("TEST"), NULL};
    RegisterClassEx(&wc);

    HWND hWnd = CreateWindow(TEXT("TEST"), TEXT("TEST"),
                WS_OVERLAPPEDWINDOW, 100, 100, 512, 512,
                GetDesktopWindow(), NULL, wc.hInstance, NULL);
}


What is MsgProc? I have error on this line. error C2065: 'MsgProc' : undeclared identifier.
Thank you in advance.

When you're alone in the Dark, Fear will protect you...

AnswerRe: A beginner question about winforms in VC++ Pin
Mark Salsbery16-Nov-08 6:14
Mark Salsbery16-Nov-08 6:14 
GeneralRe: A beginner question about winforms in VC++ Pin
Pedram Behroozi16-Nov-08 7:42
Pedram Behroozi16-Nov-08 7:42 
AnswerRe: A beginner question about winforms in VC++ Pin
Jijo.Raj16-Nov-08 7:07
Jijo.Raj16-Nov-08 7:07 
GeneralRe: A beginner question about winforms in VC++ Pin
Pedram Behroozi16-Nov-08 7:47
Pedram Behroozi16-Nov-08 7:47 
GeneralRe: A beginner question about winforms in VC++ Pin
Jijo.Raj16-Nov-08 8:13
Jijo.Raj16-Nov-08 8:13 
GeneralRe: A beginner question about winforms in VC++ Pin
N a v a n e e t h16-Nov-08 16:53
N a v a n e e t h16-Nov-08 16:53 
GeneralRe: A beginner question about winforms in VC++ Pin
Pedram Behroozi16-Nov-08 22:02
Pedram Behroozi16-Nov-08 22:02 
QuestionCEdit Control Pin
john563215-Nov-08 21:04
john563215-Nov-08 21:04 
AnswerRe: CEdit Control Pin
Garth J Lancaster15-Nov-08 22:47
professionalGarth J Lancaster15-Nov-08 22:47 
QuestionRe: CEdit Control Pin
CPallini15-Nov-08 23:01
mveCPallini15-Nov-08 23:01 
AnswerRe: CEdit Control Pin
Garth J Lancaster15-Nov-08 23:15
professionalGarth J Lancaster15-Nov-08 23:15 
GeneralRe: CEdit Control Pin
CPallini15-Nov-08 23:52
mveCPallini15-Nov-08 23:52 
GeneralRe: CEdit Control Pin
Garth J Lancaster16-Nov-08 10:06
professionalGarth J Lancaster16-Nov-08 10:06 
GeneralRe: CEdit Control Pin
CPallini16-Nov-08 21:22
mveCPallini16-Nov-08 21:22 
GeneralRe: CEdit Control Pin
Garth J Lancaster16-Nov-08 22:49
professionalGarth J Lancaster16-Nov-08 22:49 
AnswerRe: CEdit Control Pin
john563215-Nov-08 23:36
john563215-Nov-08 23:36 
AnswerRe: CEdit Control Pin
dupenf116-Nov-08 21:28
dupenf116-Nov-08 21:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.