Click here to Skip to main content
15,884,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDC::GetDeviceCaps, how to know if AlphaBlend is supported or not? Pin
Randor 22-Nov-18 19:23
professional Randor 22-Nov-18 19:23 
GeneralGetting ProcessID from CoCreateInstance Pin
Rajesh_Parameswaran10-Oct-11 6:13
Rajesh_Parameswaran10-Oct-11 6:13 
GeneralRe: not possible Pin
App_10-Oct-11 7:06
App_10-Oct-11 7:06 
GeneralRe: not possible Pin
TheGreatAndPowerfulOz10-Oct-11 7:52
TheGreatAndPowerfulOz10-Oct-11 7:52 
AnswerRe: Getting ProcessID from CoCreateInstance Pin
TheGreatAndPowerfulOz10-Oct-11 7:50
TheGreatAndPowerfulOz10-Oct-11 7:50 
QuestionVisual C++ label font changes after unlock Pin
chandu_vrs10-Oct-11 2:55
chandu_vrs10-Oct-11 2:55 
AnswerRe: Visual C++ label font changes after unlock Pin
Code-o-mat10-Oct-11 8:29
Code-o-mat10-Oct-11 8:29 
QuestionIs correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 22:31
_Flaviu9-Oct-11 22:31 
I have follow code :
C++
// CMyControl.h
	typedef struct ItemData
	{
		LPCTSTR lpszString;
		ItemData();
		ItemData(LPCTSTR lpszStringInit);
		virtual ~ItemData();
	};

// constructor of ItemData struct
CMyControl::ItemData::ItemData(LPCTSTR lpszStringInit)
{
	lpszString = lpszStringInit;
}


I'm not sure if 'lpszString = lpszStringInit' line is correct .... is it ?
Thank you.
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
john56329-Oct-11 23:37
john56329-Oct-11 23:37 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 23:44
_Flaviu9-Oct-11 23:44 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu9-Oct-11 23:47
_Flaviu9-Oct-11 23:47 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
Chandrasekharan P10-Oct-11 0:12
Chandrasekharan P10-Oct-11 0:12 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu10-Oct-11 0:17
_Flaviu10-Oct-11 0:17 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
_AnsHUMAN_ 10-Oct-11 1:36
_AnsHUMAN_ 10-Oct-11 1:36 
GeneralRe: may i also add Pin
App_10-Oct-11 7:12
App_10-Oct-11 7:12 
GeneralRe: may i also add Pin
_Flaviu10-Oct-11 20:43
_Flaviu10-Oct-11 20:43 
AnswerRe: Is correct lpszString = lpszStringInit ? Pin
Stefan_Lang10-Oct-11 1:42
Stefan_Lang10-Oct-11 1:42 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
_Flaviu10-Oct-11 2:30
_Flaviu10-Oct-11 2:30 
GeneralRe: Is correct lpszString = lpszStringInit ? Pin
Stefan_Lang10-Oct-11 2:33
Stefan_Lang10-Oct-11 2:33 
QuestionButton Creation, Handling the Click event Pin
jkirkerx9-Oct-11 9:29
professionaljkirkerx9-Oct-11 9:29 
AnswerRe: Button Creation, Handling the Click event Pin
Niklas L9-Oct-11 9:43
Niklas L9-Oct-11 9:43 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 10:30
professionaljkirkerx9-Oct-11 10:30 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 13:19
professionaljkirkerx9-Oct-11 13:19 
AnswerRe: Button Creation, Handling the Click event Pin
«_Superman_»9-Oct-11 16:47
professional«_Superman_»9-Oct-11 16:47 
GeneralRe: Button Creation, Handling the Click event Pin
jkirkerx9-Oct-11 17:44
professionaljkirkerx9-Oct-11 17:44 

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.