Click here to Skip to main content
15,920,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: black full-screen snapshot in win vista/7 Pin
NaNg1524126-Aug-09 19:41
NaNg1524126-Aug-09 19:41 
QuestionDialog with custom control won't work with satellite DLL Pin
Per G24-Aug-09 1:15
Per G24-Aug-09 1:15 
AnswerRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat24-Aug-09 1:45
Code-o-mat24-Aug-09 1:45 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G24-Aug-09 22:59
Per G24-Aug-09 22:59 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat24-Aug-09 23:15
Code-o-mat24-Aug-09 23:15 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G24-Aug-09 23:23
Per G24-Aug-09 23:23 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat24-Aug-09 23:32
Code-o-mat24-Aug-09 23:32 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G26-Aug-09 20:41
Per G26-Aug-09 20:41 
// App command to run the dialog<br />
void CMultiLangApp::OnAppAbout()<br />
{<br />
        CAboutDlg aboutDlg;<br />
        aboutDlg.DoModal(); // calling CDialog::DoModal()<br />
}<br />
 <br />
 <br />
// the fucntioncalls to the error<br />
INT_PTR CDialog::DoModal()<br />
{<br />
        &<br />
        &<br />
        &<br />
        if (CreateDlgIndirect(lpDialogTemplate, CWnd::FromHandle(hWndParent), hInst)) // calling CWnd::CreateDlgIndirect<br />
}<br />
 <br />
 <br />
BOOL CWnd::CreateDlgIndirect(LPCDLGTEMPLATE lpDialogTemplate,<br />
        CWnd* pParentWnd, HINSTANCE hInst)<br />
{<br />
        &<br />
        &<br />
        &<br />
        hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate,<br />
                pParentWnd->GetSafeHwnd(), AfxDlgProc);<br />
// returns NULL and The GetLastError() is 0 after CreateDialogIndirect.<br />
}



The registration of my custom control is done in the the constructor in the control class by calling RegisterWindowClass
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat26-Aug-09 22:15
Code-o-mat26-Aug-09 22:15 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G26-Aug-09 22:37
Per G26-Aug-09 22:37 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat26-Aug-09 22:49
Code-o-mat26-Aug-09 22:49 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G26-Aug-09 22:55
Per G26-Aug-09 22:55 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G26-Aug-09 23:14
Per G26-Aug-09 23:14 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat26-Aug-09 23:21
Code-o-mat26-Aug-09 23:21 
QuestionAdvance tolpic in vc6 Pin
hrishiS24-Aug-09 1:05
hrishiS24-Aug-09 1:05 
AnswerRe: Advance tolpic in vc6 Pin
Aabid24-Aug-09 2:02
Aabid24-Aug-09 2:02 
GeneralRe: Advance tolpic in vc6 Pin
hrishiS24-Aug-09 3:33
hrishiS24-Aug-09 3:33 
QuestionRe: Advance tolpic in vc6 Pin
David Crow24-Aug-09 3:15
David Crow24-Aug-09 3:15 
AnswerRe: Advance tolpic in vc6 Pin
hrishiS24-Aug-09 3:35
hrishiS24-Aug-09 3:35 
AnswerRe: Advance tolpic in vc6 Pin
Alan Balkany24-Aug-09 4:19
Alan Balkany24-Aug-09 4:19 
GeneralRe: Advance tolpic in vc6 Pin
hrishiS24-Aug-09 19:31
hrishiS24-Aug-09 19:31 
AnswerRe: Advance tolpic in vc6 Pin
N a v a n e e t h24-Aug-09 6:05
N a v a n e e t h24-Aug-09 6:05 
GeneralRe: Advance tolpic in vc6 Pin
hrishiS24-Aug-09 19:34
hrishiS24-Aug-09 19:34 
Questiondebugger position does not correspond source code Pin
ed welch24-Aug-09 1:01
ed welch24-Aug-09 1:01 
AnswerRe: debugger position does not correspond source code Pin
hrishiS24-Aug-09 1:09
hrishiS24-Aug-09 1: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.