Click here to Skip to main content
15,916,945 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPreventing multiple instance creation in DLL Pin
0v3rloader16-Sep-04 7:58
0v3rloader16-Sep-04 7:58 
GeneralRe: Preventing multiple instance creation in DLL Pin
David Crow16-Sep-04 9:36
David Crow16-Sep-04 9:36 
GeneralRe: Preventing multiple instance creation in DLL Pin
Alexander M.,16-Sep-04 9:46
Alexander M.,16-Sep-04 9:46 
GeneralRe: Preventing multiple instance creation in DLL Pin
0v3rloader17-Sep-04 1:21
0v3rloader17-Sep-04 1:21 
GeneralRe: Preventing multiple instance creation in DLL Pin
shiraztk17-Sep-04 1:58
shiraztk17-Sep-04 1:58 
GeneralRe: Preventing multiple instance creation in DLL Pin
0v3rloader17-Sep-04 5:36
0v3rloader17-Sep-04 5:36 
GeneralRe: Preventing multiple instance creation in DLL Pin
Alexander M.,17-Sep-04 2:41
Alexander M.,17-Sep-04 2:41 
Generalgetting printer dc and filling in CPrintInfo structure Pin
BlackDice16-Sep-04 7:27
BlackDice16-Sep-04 7:27 
I'm using the VS.Net 2003 IDE and it doesn't set up CFormView-based apps with print and print and print preview functionality. But since all the overridable member functions are there, I would like to add an event handler for my menu item that sets up the CDC and CPrintInfo members to use to call the overridden OnPreparePrinting and other functions so that I can call print preview. I tried filling in what I thought were the appropriate members of the CPrintInfo structure and calling OnPreparePrinting which, looking through the MFC source creates a printer hdc if you don't have one supplied, but it doesn't work. First of all, it ASSERTs on VERIFY(pInfo->m_strPageDesc.LoadString(AFX_IDS_PREVIEWPAGEDESC)); and even if I step over that line, nothing happens. Any help would be greatly appreciated. Thanks in advance

[insert witty comment here]

bdiamond Sleepy | :zzz:
QuestionCan I use and load Microsoft Word as ActiveX in my own project! Pin
Behzad Ebrahimi16-Sep-04 6:58
Behzad Ebrahimi16-Sep-04 6:58 
AnswerRe: Can I use and load Microsoft Word as ActiveX in my own project! Pin
David Crow16-Sep-04 7:10
David Crow16-Sep-04 7:10 
GeneralMoving text to String Table Pin
DRHuff16-Sep-04 6:42
DRHuff16-Sep-04 6:42 
QuestionHow Can I add design time licence to my ActiveX? Pin
Behzad Ebrahimi16-Sep-04 6:40
Behzad Ebrahimi16-Sep-04 6:40 
GeneralCString! Pin
mostafa_pasha16-Sep-04 6:39
mostafa_pasha16-Sep-04 6:39 
GeneralRe: CString! Pin
Behzad Ebrahimi16-Sep-04 6:44
Behzad Ebrahimi16-Sep-04 6:44 
GeneralRe: CString! Pin
mostafa_pasha16-Sep-04 7:08
mostafa_pasha16-Sep-04 7:08 
GeneralRe: CString! Pin
Budric B.16-Sep-04 6:45
Budric B.16-Sep-04 6:45 
GeneralRe: CString! Pin
David Crow16-Sep-04 7:07
David Crow16-Sep-04 7:07 
GeneralRe: CString! Pin
mostafa_pasha16-Sep-04 7:17
mostafa_pasha16-Sep-04 7:17 
GeneralRe: CString! Pin
David Crow16-Sep-04 7:21
David Crow16-Sep-04 7:21 
GeneralRe: CString! Pin
mostafa_pasha16-Sep-04 7:41
mostafa_pasha16-Sep-04 7:41 
GeneralRe: CString! Pin
David Crow16-Sep-04 7:47
David Crow16-Sep-04 7:47 
GeneralEliminating Flicker using DirectDraw?! Pin
towd16-Sep-04 5:57
towd16-Sep-04 5:57 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
normanS19-Sep-04 21:19
normanS19-Sep-04 21:19 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
towd20-Sep-04 5:43
towd20-Sep-04 5:43 
GeneralRe: Eliminating Flicker using DirectDraw?! Pin
normanS20-Sep-04 20:32
normanS20-Sep-04 20: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.