Click here to Skip to main content
15,890,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: reg MFC CEditBox [modified] Pin
Rajkumar R11-Mar-08 20:15
Rajkumar R11-Mar-08 20:15 
GeneralRe: reg MFC CEditBox Pin
Rajesh R Subramanian11-Mar-08 21:02
professionalRajesh R Subramanian11-Mar-08 21:02 
GeneralRe: reg MFC CEditBox Pin
ThatsAlok12-Mar-08 0:02
ThatsAlok12-Mar-08 0:02 
GeneralRe: reg MFC CEditBox Pin
David Crow12-Mar-08 3:07
David Crow12-Mar-08 3:07 
QuestionHow to change the text color of selected node in Tree. Pin
lavate malllik11-Mar-08 19:16
lavate malllik11-Mar-08 19:16 
AnswerRe: How to change the text color of selected node in Tree. Pin
Hamid_RT11-Mar-08 19:35
Hamid_RT11-Mar-08 19:35 
GeneralRe: How to change the text color of selected node in Tree. Pin
lavate malllik12-Mar-08 17:26
lavate malllik12-Mar-08 17:26 
GeneralAccessing with Zero pointer Pin
vinodcs11-Mar-08 19:00
vinodcs11-Mar-08 19:00 
Hi,
Pls tell me how this program works...
I set a pointer to class to Zero, but still I
can access an instance member as far as I don't access any instance variable.


<br />
#include "stdafx.h"<br />
<br />
#include <stdio.h><br />
class A<br />
{<br />
public:<br />
	int i;<br />
	void PrintMe();<br />
};<br />
 <br />
 <br />
void A::PrintMe()<br />
{<br />
	    printf("Hello World\n");<br />
}<br />
 <br />
void main()<br />
{<br />
    A* p = 0;<br />
    p->PrintMe();<br />
 <br />
}<br />


Vinod
GeneralRe: Accessing with Zero pointer Pin
Stephen Hewitt11-Mar-08 19:13
Stephen Hewitt11-Mar-08 19:13 
QuestionRe: Accessing with Zero pointer Pin
Maximilien12-Mar-08 3:19
Maximilien12-Mar-08 3:19 
GeneralRe: Accessing with Zero pointer Pin
Stephen Hewitt13-Mar-08 13:55
Stephen Hewitt13-Mar-08 13:55 
GeneralRe: Accessing with Zero pointer Pin
Rajkumar R11-Mar-08 19:14
Rajkumar R11-Mar-08 19:14 
GeneralRe: Accessing with Zero pointer Pin
Michael Dunn12-Mar-08 19:50
sitebuilderMichael Dunn12-Mar-08 19:50 
GeneralATL Under the Hood Part 5 [modified] Pin
abhijitr11-Mar-08 18:17
abhijitr11-Mar-08 18:17 
GeneralRe: ATL Under the Hood Part 5 Pin
Iain Clarke, Warrior Programmer12-Mar-08 0:04
Iain Clarke, Warrior Programmer12-Mar-08 0:04 
Generalcrash in worker thread Pin
lavate malllik11-Mar-08 17:56
lavate malllik11-Mar-08 17:56 
GeneralRe: crash in worker thread Pin
Mark Salsbery11-Mar-08 18:16
Mark Salsbery11-Mar-08 18:16 
GeneralRe: crash in worker thread Pin
Rajkumar R11-Mar-08 19:46
Rajkumar R11-Mar-08 19:46 
GeneralRe: crash in worker thread Pin
Mark Salsbery11-Mar-08 19:55
Mark Salsbery11-Mar-08 19:55 
GeneralRe: crash in worker thread Pin
Rajkumar R11-Mar-08 19:58
Rajkumar R11-Mar-08 19:58 
GeneralRe: crash in worker thread Pin
Mark Salsbery11-Mar-08 20:01
Mark Salsbery11-Mar-08 20:01 
JokeRe: crash in worker thread Pin
Maxwell Chen11-Mar-08 20:00
Maxwell Chen11-Mar-08 20:00 
GeneralRe: crash in worker thread Pin
Rajkumar R11-Mar-08 20:05
Rajkumar R11-Mar-08 20:05 
GeneralRe: crash in worker thread Pin
Wamuti11-Mar-08 21:17
Wamuti11-Mar-08 21:17 
GeneralRe: crash in worker thread Pin
ThatsAlok11-Mar-08 23:05
ThatsAlok11-Mar-08 23:05 

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.