Click here to Skip to main content
15,917,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use C++ member function from a dll Pin
sawerr28-Jun-07 2:19
sawerr28-Jun-07 2:19 
GeneralRe: How to use C++ member function from a dll Pin
Cedric Moonen28-Jun-07 2:25
Cedric Moonen28-Jun-07 2:25 
GeneralRe: How to use C++ member function from a dll Pin
toxcct28-Jun-07 2:31
toxcct28-Jun-07 2:31 
GeneralRe: How to use C++ member function from a dll Pin
toxcct28-Jun-07 2:28
toxcct28-Jun-07 2:28 
QuestionInitModalIndirect() for dialog without resorces Pin
prithaa28-Jun-07 0:11
prithaa28-Jun-07 0:11 
AnswerRe: InitModalIndirect() for dialog without resorces Pin
Jhony george28-Jun-07 1:11
Jhony george28-Jun-07 1:11 
GeneralRe: InitModalIndirect() for dialog without resorces Pin
prithaa28-Jun-07 17:19
prithaa28-Jun-07 17:19 
AnswerRe: InitModalIndirect() for dialog without resorces Pin
Nibu babu thomas28-Jun-07 1:28
Nibu babu thomas28-Jun-07 1:28 
prithaa wrote:
Can you tell me how to use InitModalIndirect() function of CDialog class?
And what exactly is the meaning of the first parameter of this function.


MFC has provided a class CDialogTemplate. include "afxpriv.h". Documentation for afxpriv says that contents of this file could be altered in the future, but for a demo I will show you how to do this. Look up source code for CDialogTemplate for more information...

Eg:

CDialogTemplate dlgTemplate;
// Load dialog template into memory
dlgTemplate.Load( MAKEINTRESOURCE( IDD_SOME_DIALOG_ID ));
 
CDialog dlg;
// Creates and displays a modal dialog from a template in memory
VERIFY( dlg.InitModalIndirect( dlgTemplate.m_hTemplate, 0 ));



Nibu thomas
A Developer

Code must be written to be read, not by the compiler, but by another human being.

http:\\nibuthomas.wordpress.com

AnswerRe: InitModalIndirect() for dialog without resorces Pin
Hamid_RT28-Jun-07 4:11
Hamid_RT28-Jun-07 4:11 
GeneralRe: InitModalIndirect() for dialog without resorces Pin
prithaa28-Jun-07 21:07
prithaa28-Jun-07 21:07 
QuestionGetting transparent icons out of CImageList ? Pin
Electronic7528-Jun-07 0:09
Electronic7528-Jun-07 0:09 
AnswerRe: Getting transparent icons out of CImageList ? Pin
Mark Salsbery28-Jun-07 6:55
Mark Salsbery28-Jun-07 6:55 
GeneralRe: Getting transparent icons out of CImageList ? Pin
Electronic7528-Jun-07 7:57
Electronic7528-Jun-07 7:57 
GeneralRe: Getting transparent icons out of CImageList ? Pin
Mark Salsbery28-Jun-07 11:11
Mark Salsbery28-Jun-07 11:11 
QuestionWhat is going wrong here?? file appending problem Pin
ldsdbomber27-Jun-07 22:37
ldsdbomber27-Jun-07 22:37 
AnswerRe: What is going wrong here?? file appending problem Pin
ldsdbomber28-Jun-07 3:48
ldsdbomber28-Jun-07 3:48 
QuestionSimple Hello World Application Pin
edisont99927-Jun-07 21:53
edisont99927-Jun-07 21:53 
AnswerRe: Simple Hello World Application Pin
baerten27-Jun-07 21:58
baerten27-Jun-07 21:58 
GeneralRe: Simple Hello World Application Pin
edisont99927-Jun-07 22:02
edisont99927-Jun-07 22:02 
GeneralRe: Simple Hello World Application Pin
baerten27-Jun-07 22:20
baerten27-Jun-07 22:20 
GeneralRe: Simple Hello World Application Pin
Cedric Moonen27-Jun-07 22:21
Cedric Moonen27-Jun-07 22:21 
GeneralRe: Simple Hello World Application Pin
CPallini27-Jun-07 22:46
mveCPallini27-Jun-07 22:46 
GeneralRe: Simple Hello World Application Pin
Michael Dunn28-Jun-07 8:10
sitebuilderMichael Dunn28-Jun-07 8:10 
QuestionCreating a new DSN Pin
Pradosh Tapan Datta27-Jun-07 21:24
Pradosh Tapan Datta27-Jun-07 21:24 
AnswerRe: Creating a new DSN Pin
nitin327-Jun-07 21:31
nitin327-Jun-07 21:31 

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.