Click here to Skip to main content
15,892,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: hi i need this program immediately in c++ Pin
«_Superman_»10-May-09 17:04
professional«_Superman_»10-May-09 17:04 
Questionpointer to std::list problem! Pin
Avion859-May-09 6:03
Avion859-May-09 6:03 
AnswerRe: pointer to std::list problem! Pin
Code-o-mat9-May-09 7:09
Code-o-mat9-May-09 7:09 
GeneralRe: pointer to std::list problem! Pin
Avion859-May-09 8:15
Avion859-May-09 8:15 
GeneralRe: pointer to std::list problem! Pin
Code-o-mat9-May-09 8:22
Code-o-mat9-May-09 8:22 
GeneralRe: pointer to std::list problem! Pin
Avion859-May-09 8:26
Avion859-May-09 8:26 
GeneralRe: pointer to std::list problem! Pin
Code-o-mat9-May-09 8:49
Code-o-mat9-May-09 8:49 
GeneralRe: pointer to std::list problem! Pin
Avion859-May-09 8:56
Avion859-May-09 8:56 
GeneralRe: pointer to std::list problem! Pin
Code-o-mat9-May-09 9:00
Code-o-mat9-May-09 9:00 
AnswerRe: pointer to std::list problem! Pin
Stephen Hewitt9-May-09 7:26
Stephen Hewitt9-May-09 7:26 
GeneralRe: pointer to std::list problem! Pin
Avion859-May-09 8:12
Avion859-May-09 8:12 
GeneralRe: pointer to std::list problem! Pin
Stuart Dootson9-May-09 8:35
professionalStuart Dootson9-May-09 8:35 
GeneralRe: pointer to std::list problem! Pin
Avion859-May-09 8:55
Avion859-May-09 8:55 
QuestionAfxRegisterWndClass Pin
john56329-May-09 1:11
john56329-May-09 1:11 
AnswerRe: AfxRegisterWndClass Pin
Stuart Dootson9-May-09 2:27
professionalStuart Dootson9-May-09 2:27 
AnswerRe: AfxRegisterWndClass Pin
Taran910-May-09 20:09
Taran910-May-09 20:09 
U can do the registration in 'InitInstance' method of Application derived class(before 'DoModal' of the main dialog)
WNDCLASS wc = {0};
wc.style = CS_BYTEALIGNWINDOW|CS_SAVEBITS|CS_DBLCLKS;
wc.lpfnWndProc = DefDlgProc;
wc.cbWndExtra = DLGWINDOWEXTRA;
wc.hInstance = m_hInstance;
wc.hIcon = LoadIcon(IDR_MAINFRAME);
wc.hCursor = ::LoadCursor(NULL, IDC_ARROW);
wc.hbrBackground = CreateSolidBrush(GetSysColor(COLOR_BTNFACE));
wc.lpszClassName = <Specify the class name here as well as in .rc>

ATOM cls = RegisterClass(&wc);

Questionneed help Pin
ahmedbhatti9-May-09 1:03
ahmedbhatti9-May-09 1:03 
QuestionRe: need help Pin
CPallini10-May-09 0:51
mveCPallini10-May-09 0:51 
AnswerRe: need help Pin
ahmedbhatti10-May-09 20:49
ahmedbhatti10-May-09 20:49 
QuestionRe: need help Pin
CPallini10-May-09 21:28
mveCPallini10-May-09 21:28 
Questionreqest Pin
ahmed el haut9-May-09 0:39
ahmed el haut9-May-09 0:39 
AnswerRe: reqest Pin
CPallini10-May-09 0:52
mveCPallini10-May-09 0:52 
QuestionExecuting inf files Pin
VishalIndia9-May-09 0:14
VishalIndia9-May-09 0:14 
AnswerRe: Executing inf files Pin
Stuart Dootson9-May-09 0:39
professionalStuart Dootson9-May-09 0:39 
AnswerRe: Executing inf files Pin
«_Superman_»9-May-09 4:28
professional«_Superman_»9-May-09 4: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.