Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple ADO question ... Pin
Christian Graus5-Aug-02 13:18
protectorChristian Graus5-Aug-02 13:18 
GeneralRe: Simple ADO question ... Pin
Hadi Rezaee6-Aug-02 7:09
Hadi Rezaee6-Aug-02 7:09 
GeneralRe: Simple ADO question ... Pin
Christian Graus6-Aug-02 13:19
protectorChristian Graus6-Aug-02 13:19 
GeneralRe: Simple ADO question ... Pin
Hadi Rezaee7-Aug-02 5:18
Hadi Rezaee7-Aug-02 5:18 
QuestionHow to implement a external event in a app ? Pin
Cris5-Aug-02 9:31
Cris5-Aug-02 9:31 
AnswerRe: How to implement a external event in a app ? Pin
Nish Nishant5-Aug-02 10:12
sitebuilderNish Nishant5-Aug-02 10:12 
GeneralBasic window style question(non-MFC) Pin
oztanharmanci5-Aug-02 8:29
oztanharmanci5-Aug-02 8:29 
GeneralRe: Basic window style question(non-MFC) Pin
Ernest Laurentin5-Aug-02 10:34
Ernest Laurentin5-Aug-02 10:34 
I guess one way you may do this is:
1. Disable (or Hide) all child popup window (or dialog #32770) that existed. To do that, you
may call EnumChildWindows.
BOOL CALLBACK gfnEnumChildProc(HWND hWnd, LPARAM lParam)
{
	TCHAR szClass[CLASSNAME_LEN];
	::GetClassName(hWnd, szClass, sizeof(szClass)/sizeof(TCHAR));

	DWORD dwStyle = ::GetWindowLong(hWnd, GWL_STYLE);
	DWORD dwExStyle = ::GetWindowLong(hWnd, GWL_EXSTYLE);

	if (_tcsicmp(szClass, _T("#32770")) == 0)
	{
		// a child dialog of main window...
	}

	if (dwExStyle & WS_EX_TOOLWINDOW)
	{
		// a floating control, do not rely on class: Afx:000xxx..
	}
}

2. I just re-read your post and I think you could get away with it by creating your dialog inside
of your main window. or why is this not an option?
GeneralRe: Basic window style question(non-MFC) Pin
Oztan Harmanci5-Aug-02 12:30
sussOztan Harmanci5-Aug-02 12:30 
GeneralRe: Basic window style question(non-MFC) Pin
Ernest Laurentin6-Aug-02 6:57
Ernest Laurentin6-Aug-02 6:57 
Generalquestion about _variant_t - not much info in MSDN Pin
ns5-Aug-02 8:04
ns5-Aug-02 8:04 
GeneralRe: question about _variant_t - not much info in MSDN Pin
Tomasz Sowinski5-Aug-02 8:15
Tomasz Sowinski5-Aug-02 8:15 
GeneralRe: question about _variant_t - not much info in MSDN Pin
Ranjan Banerji5-Aug-02 11:40
Ranjan Banerji5-Aug-02 11:40 
GeneralMP3 Header Information Pin
JennyP5-Aug-02 6:07
JennyP5-Aug-02 6:07 
GeneralRe: MP3 Header Information Pin
Roman Nurik5-Aug-02 6:55
Roman Nurik5-Aug-02 6:55 
GeneralRe: MP3 Header Information Pin
User 66585-Aug-02 11:03
User 66585-Aug-02 11:03 
GeneralRe: MP3 Header Information Pin
Michael Dunn5-Aug-02 18:03
sitebuilderMichael Dunn5-Aug-02 18:03 
GeneralRe: MP3 Header Information Pin
User 66586-Aug-02 1:47
User 66586-Aug-02 1:47 
GeneralRe: MP3 Header Information Pin
Christian Graus5-Aug-02 13:24
protectorChristian Graus5-Aug-02 13:24 
GeneralRe: MP3 Header Information Pin
JennyP5-Aug-02 15:30
JennyP5-Aug-02 15:30 
GeneralRe: MP3 Header Information Pin
User 66586-Aug-02 1:50
User 66586-Aug-02 1:50 
GeneralCEdit Box -- select all contents Pin
JennyP5-Aug-02 6:05
JennyP5-Aug-02 6:05 
GeneralRe: CEdit Box -- select all contents Pin
Chris Losinger5-Aug-02 6:18
professionalChris Losinger5-Aug-02 6:18 
GeneralRe: CEdit Box -- select all contents Pin
JennyP5-Aug-02 17:46
JennyP5-Aug-02 17:46 
GeneralRe: CEdit Box -- select all contents Pin
Chris Losinger5-Aug-02 20:02
professionalChris Losinger5-Aug-02 20:02 

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.