Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VC++ Problem? Pin
Jon Hulatt21-Jul-03 21:43
Jon Hulatt21-Jul-03 21:43 
GeneralRe: VC++ Problem? Pin
DaveE9th21-Jul-03 22:33
DaveE9th21-Jul-03 22:33 
QuestionD3dx8.lib? Pin
DaveE9th21-Jul-03 21:15
DaveE9th21-Jul-03 21:15 
AnswerRe: Where's my D2dx8.lib? Pin
John M. Drescher21-Jul-03 21:19
John M. Drescher21-Jul-03 21:19 
GeneralRe: Where's my D3dx8.lib? Pin
DaveE9th21-Jul-03 21:22
DaveE9th21-Jul-03 21:22 
GeneralRe: Where's my D2dx8.lib? Pin
John M. Drescher21-Jul-03 21:37
John M. Drescher21-Jul-03 21:37 
GeneralRe: Where's my D3dx8.lib? Pin
DaveE9th21-Jul-03 21:41
DaveE9th21-Jul-03 21:41 
Generalneed some help here Pin
FASTian21-Jul-03 20:35
FASTian21-Jul-03 20:35 
i am trying to hide the window after the AnimateWindow function has been called however after the animation has taken place the window does not hide despite the call to ShowWindow(SW_HIDE) any ideas how i should do this. The code is as below

<br />
void CMyApplicationDlg::OnSysCommand(UINT nID, LPARAM lParam)<br />
{<br />
	if ((nID & 0xFFF0) == IDM_ABOUTBOX)<br />
	{<br />
		CAboutDlg dlgAbout;<br />
		dlgAbout.DoModal();<br />
	}<br />
	else if( (nID & 0xFFF0) == SC_MINIMIZE )<br />
	{<br />
		//add the icon to the taskbar	<br />
		Shell_NotifyIcon(NIM_ADD,pNotifyIconData);<br />
	<br />
		//do slide animation here<br />
		AnimateWindow(m_hWnd,500,AW_HIDE | AW_SLIDE | AW_VER_POSITIVE);<br />
		<br />
		//hide the current window<br />
		this->ShowWindow(SW_HIDE);<br />
<br />
	}<br />
	else<br />
	{<br />
		CDialog::OnSysCommand(nID, lParam);<br />
	}<br />
}<br />

GeneralRe: need some help here Pin
JohnJ21-Jul-03 21:03
JohnJ21-Jul-03 21:03 
GeneralRe: need some help here Pin
FASTian21-Jul-03 21:29
FASTian21-Jul-03 21:29 
Questionif I add a text file to the resource, how could I get this file in the programe? Pin
benben21-Jul-03 20:29
benben21-Jul-03 20:29 
AnswerRe: if I add a text file to the resource, how could I get this file in the programe? Pin
Eugene Pustovoyt21-Jul-03 20:41
Eugene Pustovoyt21-Jul-03 20:41 
GeneralRe: if I add a text file to the resource, how could I get this file in the programe? Pin
benben22-Jul-03 4:42
benben22-Jul-03 4:42 
AnswerRe: if I add a text file to the resource, how could I get this file in the programe? Pin
Jens Doose21-Jul-03 22:05
Jens Doose21-Jul-03 22:05 
GeneralThanks Pin
benben22-Jul-03 0:25
benben22-Jul-03 0:25 
GeneralRe: Thanks Pin
Jens Doose22-Jul-03 1:06
Jens Doose22-Jul-03 1:06 
GeneralThanks Pin
benben22-Jul-03 4:32
benben22-Jul-03 4:32 
GeneralRe: Thanks Pin
Jens Doose23-Jul-03 21:35
Jens Doose23-Jul-03 21:35 
GeneralAmazing problem Help!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
xxhimanshu21-Jul-03 20:22
xxhimanshu21-Jul-03 20:22 
GeneralRe: Amazing problem Help!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
J. Dunlap21-Jul-03 20:39
J. Dunlap21-Jul-03 20:39 
GeneralRe: Amazing problem Help!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
xxhimanshu21-Jul-03 21:15
xxhimanshu21-Jul-03 21:15 
QuestionHow to use CString variable in regular DLL Pin
Eugene Pustovoyt21-Jul-03 19:01
Eugene Pustovoyt21-Jul-03 19:01 
AnswerRe: How to use CString variable in regular DLL Pin
Toni7821-Jul-03 19:35
Toni7821-Jul-03 19:35 
GeneralRe: How to use CString variable in regular DLL Pin
Eugene Pustovoyt21-Jul-03 19:56
Eugene Pustovoyt21-Jul-03 19:56 
GeneralRe: How to use CString variable in regular DLL Pin
Toni7821-Jul-03 20:09
Toni7821-Jul-03 20:09 

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.