Click here to Skip to main content
16,016,501 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to pass a paremeters to Dialog Pin
KarstenK19-Aug-08 22:01
mveKarstenK19-Aug-08 22:01 
Questionerror c101008a Pin
NewVC++19-Aug-08 20:22
NewVC++19-Aug-08 20:22 
AnswerRe: error c101008a Pin
KarstenK19-Aug-08 20:28
mveKarstenK19-Aug-08 20:28 
AnswerRe: error c101008a Pin
David Crow20-Aug-08 3:39
David Crow20-Aug-08 3:39 
QuestionHow to open Pop-up Blocker Settings window of IE programmatically Pin
Rahul Vaishnav19-Aug-08 20:08
Rahul Vaishnav19-Aug-08 20:08 
AnswerRe: How to open Pop-up Blocker Settings window of IE programmatically Pin
_AnsHUMAN_ 19-Aug-08 20:31
_AnsHUMAN_ 19-Aug-08 20:31 
GeneralRe: How to open Pop-up Blocker Settings window of IE programmatically Pin
Rahul Vaishnav19-Aug-08 20:39
Rahul Vaishnav19-Aug-08 20:39 
AnswerRe: How to open Pop-up Blocker Settings window of IE programmatically Pin
Naveen19-Aug-08 20:36
Naveen19-Aug-08 20:36 
Rahul Vaishnav wrote:
Please provide some solution for this ?


I just find out that, the DisplayPopupWindowManagementDialog in the "C:\WINDOWS\system32\inetcpl.cpl" can be used to show the popup blocker dialog. Here is the code to display the dialog.

typedef BOOL (WINAPI *DisplayPopupWindowManagementDialogP)( HANDLE hWnd, LPCTSTR lpCaption );

void TestFunc( HANDLE hParentWnd )
{

    HMODULE hModule =  LoadLibrary( _T("inetcpl.cpl") );
    DisplayPopupWindowManagementDialogP DisplayPopupWindowManagementDialog = 
            (DisplayPopupWindowManagementDialogP)GetProcAddress(hModule, 
                                                 "DisplayPopupWindowManagementDialog" );
    if( !DisplayPopupWindowManagementDialog )
    {
        return;//error
    }
    DisplayPopupWindowManagementDialog( hParentWnd, _T("www.Sitetounblock.com"));
}



GeneralRe: How to open Pop-up Blocker Settings window of IE programmatically Pin
Naveen19-Aug-08 20:49
Naveen19-Aug-08 20:49 
GeneralRe: How to open Pop-up Blocker Settings window of IE programmatically Pin
Rahul Vaishnav19-Aug-08 21:14
Rahul Vaishnav19-Aug-08 21:14 
QuestionError Pin
NewVC++19-Aug-08 20:03
NewVC++19-Aug-08 20:03 
AnswerRe: Error Pin
Stephen Hewitt19-Aug-08 20:08
Stephen Hewitt19-Aug-08 20:08 
GeneralRe: Error Pin
NewVC++19-Aug-08 20:18
NewVC++19-Aug-08 20:18 
GeneralRe: Error Pin
Stephen Hewitt19-Aug-08 20:22
Stephen Hewitt19-Aug-08 20:22 
GeneralRe: Error Pin
NewVC++19-Aug-08 20:28
NewVC++19-Aug-08 20:28 
GeneralRe: Error Pin
Stephen Hewitt19-Aug-08 20:29
Stephen Hewitt19-Aug-08 20:29 
GeneralRe: Error Pin
NewVC++19-Aug-08 20:34
NewVC++19-Aug-08 20:34 
GeneralRe: Error Pin
Stephen Hewitt19-Aug-08 20:36
Stephen Hewitt19-Aug-08 20:36 
GeneralRe: Error Pin
NewVC++19-Aug-08 20:43
NewVC++19-Aug-08 20:43 
AnswerRe: Error Pin
David Crow20-Aug-08 3:45
David Crow20-Aug-08 3:45 
QuestionThis file has been modified outside of the source editor.Do you want to reloead it" Pin
Dhiraj kumar Saini19-Aug-08 19:39
Dhiraj kumar Saini19-Aug-08 19:39 
AnswerRe: This file has been modified outside of the source editor.Do you want to reloead it" Pin
_AnsHUMAN_ 19-Aug-08 19:45
_AnsHUMAN_ 19-Aug-08 19:45 
GeneralRe: This file has been modified outside of the source editor.Do you want to reloead it" Pin
Dhiraj kumar Saini19-Aug-08 20:08
Dhiraj kumar Saini19-Aug-08 20:08 
GeneralRe: This file has been modified outside of the source editor.Do you want to reloead it" Pin
KarstenK19-Aug-08 20:30
mveKarstenK19-Aug-08 20:30 
GeneralRe: This file has been modified outside of the source editor.Do you want to reloead it" Pin
Dhiraj kumar Saini19-Aug-08 21:44
Dhiraj kumar Saini19-Aug-08 21: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.