Click here to Skip to main content
15,887,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can DirectShow play Mp3 stream? Pin
Hamid_RT8-Jun-06 19:05
Hamid_RT8-Jun-06 19:05 
GeneralRe: Can DirectShow play Mp3 stream? Pin
Cyrus Dang9-Jun-06 4:13
Cyrus Dang9-Jun-06 4:13 
QuestionWant to plot some points on something from within a dll Pin
ns8-Jun-06 10:56
ns8-Jun-06 10:56 
QuestionHow to know when Dialog is open Pin
sschilachi8-Jun-06 10:53
sschilachi8-Jun-06 10:53 
AnswerRe: How to know when Dialog is open Pin
Michael Dunn8-Jun-06 10:59
sitebuilderMichael Dunn8-Jun-06 10:59 
QuestionRe: How to know when Dialog is open [modified] Pin
sschilachi8-Jun-06 11:18
sschilachi8-Jun-06 11:18 
AnswerRe: How to know when Dialog is open [modified] Pin
Roger Stoltz8-Jun-06 13:02
Roger Stoltz8-Jun-06 13:02 
QuestionRe: How to know when Dialog is open [modified] Pin
sschilachi8-Jun-06 23:14
sschilachi8-Jun-06 23:14 
I have done everything you have said above, and it still calls the message handler before OnInitDialog() returns, so the dialog is not visible.

Have you tried this yourself to see if it works, am i making a silly mistake somewhere?

This is my code:
#define UWM_DELETEFILE	(WM_APP + 1)

LRESULT OnDeleteFile(WPARAM wParam, LPARAM lParam);

BEGIN_MESSAGE_MAP(CStatusDlg, CDialog)
	ON_MESSAGE(UWM_DELETEFILE, OnDeleteFile)
END_MESSAGE_MAP()

BOOL CStatusDlg::OnInitDialog()
{
	CDialog::OnInitDialog();
	PostMessage(UWM_DELETEFILE );
	return TRUE;  
}

LRESULT CStatusDlg::OnDeleteFile(WPARAM wParam, LPARAM lParam)
{
	//dialog should be visible but isn't
}

AnswerRe: How to know when Dialog is open [modified] Pin
Roger Stoltz9-Jun-06 2:05
Roger Stoltz9-Jun-06 2:05 
QuestionRe: How to know when Dialog is open Pin
sschilachi9-Jun-06 14:00
sschilachi9-Jun-06 14:00 
AnswerRe: How to know when Dialog is open Pin
valikac8-Jun-06 11:02
valikac8-Jun-06 11:02 
QuestionRe: How to know when Dialog is open [modified] Pin
sschilachi8-Jun-06 11:20
sschilachi8-Jun-06 11:20 
AnswerRe: How to know when Dialog is open [modified] Pin
valikac8-Jun-06 11:35
valikac8-Jun-06 11:35 
AnswerRe: How to know when Dialog is open Pin
ThatsAlok8-Jun-06 19:36
ThatsAlok8-Jun-06 19:36 
Question2D array Pin
ramamaru8-Jun-06 9:54
ramamaru8-Jun-06 9:54 
QuestionRe: 2D array Pin
David Crow8-Jun-06 10:25
David Crow8-Jun-06 10:25 
AnswerRe: 2D array Pin
Velmont8-Jun-06 14:26
Velmont8-Jun-06 14:26 
AnswerRe: 2D array Pin
ThatsAlok8-Jun-06 19:38
ThatsAlok8-Jun-06 19:38 
GeneralRe: 2D array Pin
ramamaru9-Jun-06 4:02
ramamaru9-Jun-06 4:02 
GeneralRe: 2D array Pin
Sebastian Pipping10-Jun-06 18:10
Sebastian Pipping10-Jun-06 18:10 
Questionm_pCtrlSite Pin
hmklakmal8-Jun-06 9:09
hmklakmal8-Jun-06 9:09 
AnswerRe: m_pCtrlSite Pin
David Crow8-Jun-06 9:40
David Crow8-Jun-06 9:40 
AnswerRe: m_pCtrlSite Pin
ThatsAlok8-Jun-06 19:39
ThatsAlok8-Jun-06 19:39 
GeneralRe: m_pCtrlSite [modified] Pin
hmklakmal9-Jun-06 11:49
hmklakmal9-Jun-06 11:49 
QuestionWin32 and HTML Pin
adiilah8-Jun-06 7:38
adiilah8-Jun-06 7:38 

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.