Click here to Skip to main content
15,903,856 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEnumerating NICs Pin
franji126-Jul-05 16:46
franji126-Jul-05 16:46 
GeneralRe: Enumerating NICs Pin
Ted Ferenc26-Jul-05 21:49
Ted Ferenc26-Jul-05 21:49 
Generalnot whats needed Re: Enumerating NICs Pin
franji127-Jul-05 2:04
franji127-Jul-05 2:04 
GeneralFile transfer thru bluetooth USB Pin
cheewooi26-Jul-05 13:27
cheewooi26-Jul-05 13:27 
GeneralWinsock 2 10004 error code Pin
Kuniva26-Jul-05 12:32
Kuniva26-Jul-05 12:32 
GeneralDialog from Plugin & TabStop Pin
Andrei Kashcha26-Jul-05 12:08
Andrei Kashcha26-Jul-05 12:08 
GeneralRe: Dialog from Plugin & TabStop Pin
guiguizk26-Jul-05 18:45
guiguizk26-Jul-05 18:45 
GeneralRe: Dialog from Plugin & TabStop Pin
anvaka26-Jul-05 20:03
anvaka26-Jul-05 20:03 
What did you mean?
To export dialog resource or what?

For example, if you just wanna create dialog window you can export some function like this:
HWND CreateMyDialog(HWND hwndParent)
{
HWND hWndDlg = CreateDialog( hInstDll,MAKEINTRESOURCE( IDD_OPTIONS_DLG ),
hwndParent, DlgProc );
return hWndDlg;
}

Where
hInstDll - handle to your dll (for example, you can pass it as the second parameter of the CreateMyDialog()).
DlgProc() - your dialog window procedure (it is in your dll too)
IDD_OPTIONS_DLG - dialog resource (also in your dll)
That is what I did...

PS: if you wanna use CDialog, then you can easily attach CDialog object in your application to any HWND, using CDialog::Attach();
That is what i did.
GeneralRe: Dialog from Plugin & TabStop Pin
guiguizk26-Jul-05 20:45
guiguizk26-Jul-05 20:45 
QuestionWhat do you know about Mandatory Profiles? Pin
Ian Bowler26-Jul-05 11:43
Ian Bowler26-Jul-05 11:43 
GeneralWebBrowser control and the clicking sound Pin
Peter Weyzen26-Jul-05 11:10
Peter Weyzen26-Jul-05 11:10 
GeneralRe: WebBrowser control and the clicking sound Pin
David Crow26-Jul-05 11:22
David Crow26-Jul-05 11:22 
Generalnamespace and DLL issues Pin
Joris van der Pol26-Jul-05 8:25
Joris van der Pol26-Jul-05 8:25 
GeneralKeyboard Hook in MFC -- Minor Syntax Pin
c121hains26-Jul-05 7:06
c121hains26-Jul-05 7:06 
GeneralRe: Keyboard Hook in MFC -- Minor Syntax Pin
David Crow26-Jul-05 8:04
David Crow26-Jul-05 8:04 
GeneralRe: Keyboard Hook in MFC -- Minor Syntax Pin
c121hains26-Jul-05 8:14
c121hains26-Jul-05 8:14 
GeneralRe: Keyboard Hook in MFC -- Minor Syntax Pin
David Crow26-Jul-05 9:10
David Crow26-Jul-05 9:10 
GeneralRe: Keyboard Hook in MFC -- Minor Syntax Pin
Kuniva26-Jul-05 12:41
Kuniva26-Jul-05 12:41 
GeneralRe: Keyboard Hook in MFC -- Minor Syntax Pin
David Crow27-Jul-05 2:46
David Crow27-Jul-05 2:46 
GeneralRe: Keyboard Hook in MFC -- Minor Syntax Pin
Anonymous26-Jul-05 13:04
Anonymous26-Jul-05 13:04 
QuestionDoes anybody know any good WIN32 SDK sites? Pin
jinzhecheng26-Jul-05 6:51
jinzhecheng26-Jul-05 6:51 
AnswerRe: Does anybody know any good WIN32 SDK sites? Pin
David Crow26-Jul-05 7:59
David Crow26-Jul-05 7:59 
AnswerRe: Does anybody know any good WIN32 SDK sites? Pin
Anonymous26-Jul-05 13:05
Anonymous26-Jul-05 13:05 
AnswerRe: Does anybody know any good WIN32 SDK sites? Pin
Jack Puppy26-Jul-05 15:01
Jack Puppy26-Jul-05 15:01 
GeneralRe: Does anybody know any good WIN32 SDK sites? Pin
jinzhecheng27-Jul-05 3:32
jinzhecheng27-Jul-05 3:32 

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.