Click here to Skip to main content
15,924,982 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs a point in the Polygon? Pin
Xytme3-Jun-04 15:50
Xytme3-Jun-04 15:50 
AnswerRe: Is a point in the Polygon? Pin
Tim Smith3-Jun-04 16:45
Tim Smith3-Jun-04 16:45 
AnswerRe: Is a point in the Polygon? Pin
Andrew Walker3-Jun-04 17:59
Andrew Walker3-Jun-04 17:59 
AnswerRe: Is a point in the Polygon? Pin
basementman4-Jun-04 6:11
basementman4-Jun-04 6:11 
GeneralMDI Child Waiting On Another Child Pin
Cyric743-Jun-04 13:18
Cyric743-Jun-04 13:18 
Generalwin32 dll - dialog box Pin
Anonymous3-Jun-04 12:48
Anonymous3-Jun-04 12:48 
GeneralRe: win32 dll - dialog box Pin
Cedric Moonen3-Jun-04 20:21
Cedric Moonen3-Jun-04 20:21 
GeneralRe: win32 dll - dialog box Pin
Anonymous4-Jun-04 6:45
Anonymous4-Jun-04 6:45 
Hi.... i had created a dialog box using insert > Resource > Dialog and this is the code

#include "stdafx.h"
#include "windows.h"
#include "resource.h"

LRESULT CALLBACK DlgProc(HWND hWndDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
{
switch(Msg)
{
case WM_INITDIALOG:
return TRUE;
case WM_COMMAND:
switch(wParam)
{
case IDA:
// TO DO
EndDialog(hWndDlg, 0);
return TRUE;
case IDB:
// TO DO
EndDialog(hWndDlg, 0);
return TRUE;
}
case WM_CLOSE:
EndDialog(hWndDlg, 0);
return TRUE;
break;
}
return FALSE;
}

int __declspec(dllexport) brow()
{
DialogBox((HINSTANCE)GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DLGFIRST), NULL, (DLGPROC)DlgProc);

return 432; // to test whether the function is called
}



BOOL APIENTRY DllMain( HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved )
{
return TRUE;
}
GeneralRe: win32 dll - dialog box Pin
ATHMystikal15-Jan-10 15:50
ATHMystikal15-Jan-10 15:50 
Generalhelp! Pin
Archer2823-Jun-04 12:36
Archer2823-Jun-04 12:36 
GeneralRe: help! Pin
*Dreamz3-Jun-04 17:47
*Dreamz3-Jun-04 17:47 
GeneralRe: help! Pin
basementman4-Jun-04 6:12
basementman4-Jun-04 6:12 
GeneralRe: help! Pin
Archer2824-Jun-04 7:55
Archer2824-Jun-04 7:55 
GeneralUNICODE Pin
pnpfriend3-Jun-04 11:30
pnpfriend3-Jun-04 11:30 
GeneralRe: UNICODE Pin
Anthony_Yio3-Jun-04 16:57
Anthony_Yio3-Jun-04 16:57 
GeneralTreeView in dockable DialogBar Pin
NTense3-Jun-04 9:44
NTense3-Jun-04 9:44 
GeneralRe: TreeView in dockable DialogBar Pin
bneacetp3-Jun-04 10:12
bneacetp3-Jun-04 10:12 
Generalunresolved externals when instantiating COM objects Pin
imposterrific3-Jun-04 9:26
imposterrific3-Jun-04 9:26 
Generalstl list error in memory.h Pin
kfaday3-Jun-04 8:57
kfaday3-Jun-04 8:57 
GeneralRe: stl list error in memory.h Pin
palbano3-Jun-04 9:08
palbano3-Jun-04 9:08 
GeneralRe: stl list error in memory.h Pin
kfaday3-Jun-04 9:11
kfaday3-Jun-04 9:11 
GeneralRe: stl list error in memory.h Pin
palbano3-Jun-04 9:23
palbano3-Jun-04 9:23 
GeneralRe: stl list error in memory.h Pin
kfaday3-Jun-04 9:38
kfaday3-Jun-04 9:38 
GeneralRe: stl list error in memory.h Pin
palbano3-Jun-04 9:48
palbano3-Jun-04 9:48 
GeneralRe: stl list error in memory.h Pin
kfaday3-Jun-04 9:56
kfaday3-Jun-04 9:56 

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.