Click here to Skip to main content
15,886,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to print the text in the new line of a multi line edit box . Pin
VCSharp00713-Aug-06 18:05
VCSharp00713-Aug-06 18:05 
AnswerRe: How to print the text in the new line of a multi line edit box . [modified] Pin
bob1697213-Aug-06 18:26
bob1697213-Aug-06 18:26 
GeneralRe: How to print the text in the new line of a multi line edit box . Pin
VCSharp00713-Aug-06 20:44
VCSharp00713-Aug-06 20:44 
GeneralRe: How to print the text in the new line of a multi line edit box . Pin
Hamid_RT13-Aug-06 21:37
Hamid_RT13-Aug-06 21:37 
Questionabout system32\netshell.dll Pin
diat13-Aug-06 18:03
diat13-Aug-06 18:03 
AnswerRe: about system32\netshell.dll [modified] Pin
A_Fa13-Aug-06 19:11
A_Fa13-Aug-06 19:11 
Generaldetails, please Pin
diat16-Aug-06 17:53
diat16-Aug-06 17:53 
GeneralRe: details, please Pin
A_Fa16-Aug-06 20:03
A_Fa16-Aug-06 20:03 
this is example how to use func in dll :

<br />
# define LWA_COLORKEY 1<br />
# define LWA_ALPHA 2<br />
# define WS_EX_LAYERED 0x80000<br />
	HWND hWnd=this->m_hWnd;<br />
    typedef DWORD (WINAPI *PSLWA)(HWND, DWORD, BYTE, DWORD);<br />
	PSLWA pSetLayeredWindowAttributes;<br />
	HMODULE hDLL = LoadLibrary ("user32");<br />
	pSetLayeredWindowAttributes = (PSLWA) GetProcAddress(hDLL,"SetLayeredWindowAttributes");<br />
	/*<br />
	* Make the windows a layered window<br />
	* /<br />
	if (pSetLayeredWindowAttributes != NULL) <br />
	{<br />
		SetWindowLong (hWnd, GWL_EXSTYLE, GetWindowLong<br />
		(hWnd, GWL_EXSTYLE) |WS_EX_LAYERED/*|WS_EX_TOOLWINDOW* / );<br />
	}<br />
<br />
	pSetLayeredWindowAttributes (hWnd, 250, 255, LWA_COLORKEY|LWA_ALPHA);<br />
<br />
<br />
	FreeLibrary(hDLL);	<br />
<br />


For parameter of functions refer to MSDN
QuestionRe: about system32\netshell.dll Pin
Hamid_RT13-Aug-06 21:35
Hamid_RT13-Aug-06 21:35 
QuestionCan a function call a afx_msg function??? [modified] Pin
mimimimilaw13-Aug-06 17:33
mimimimilaw13-Aug-06 17:33 
AnswerRe: Can a function call a afx_msg function??? Pin
Hamid_RT13-Aug-06 19:33
Hamid_RT13-Aug-06 19:33 
GeneralRe: Can a function call a afx_msg function??? Pin
mimimimilaw13-Aug-06 20:18
mimimimilaw13-Aug-06 20:18 
GeneralRe: Can a function call a afx_msg function??? Pin
Hamid_RT13-Aug-06 21:26
Hamid_RT13-Aug-06 21:26 
AnswerRe: Can a function call a afx_msg function??? Pin
prasad_som13-Aug-06 19:37
prasad_som13-Aug-06 19:37 
QuestionCan't Minimize windows Pin
Max++13-Aug-06 14:59
Max++13-Aug-06 14:59 
AnswerRe: Can't Minimize windows Pin
Waldermort13-Aug-06 15:04
Waldermort13-Aug-06 15:04 
Questionversioninfo problems Pin
Waldermort13-Aug-06 10:29
Waldermort13-Aug-06 10:29 
QuestionHow to change window RTL in RUNTIME? Pin
Kamyar Souri13-Aug-06 7:21
Kamyar Souri13-Aug-06 7:21 
QuestionLNK2005 error - first program with classes Pin
senthryl13-Aug-06 4:21
senthryl13-Aug-06 4:21 
AnswerRe: LNK2005 error - first program with classes Pin
Chris Losinger13-Aug-06 4:45
professionalChris Losinger13-Aug-06 4:45 
GeneralRe: LNK2005 error - first program with classes Pin
senthryl13-Aug-06 5:07
senthryl13-Aug-06 5:07 
GeneralRe: LNK2005 error - first program with classes [modified] Pin
Chris Losinger13-Aug-06 5:14
professionalChris Losinger13-Aug-06 5:14 
GeneralRe: LNK2005 error - first program with classes [modified] Pin
senthryl13-Aug-06 5:20
senthryl13-Aug-06 5:20 
GeneralRe: LNK2005 error - first program with classes Pin
Chris Losinger13-Aug-06 5:31
professionalChris Losinger13-Aug-06 5:31 
GeneralRe: LNK2005 error - first program with classes Pin
senthryl13-Aug-06 5:44
senthryl13-Aug-06 5: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.