Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Newbie: Referencing several controls Pin
Joel Lucsy26-Jul-02 18:24
Joel Lucsy26-Jul-02 18:24 
Generalpopulating a multiline edit, or Crichedit Pin
nss26-Jul-02 7:28
nss26-Jul-02 7:28 
GeneralRe: populating a multiline edit, or Crichedit Pin
nss26-Jul-02 7:51
nss26-Jul-02 7:51 
GeneralInset Dialog Tab Order Pin
Dov Sherman26-Jul-02 7:14
Dov Sherman26-Jul-02 7:14 
GeneralRe: Inset Dialog Tab Order Pin
Ernest Laurentin27-Jul-02 12:39
Ernest Laurentin27-Jul-02 12:39 
Questionhow to pass in an index when LButtondown handler runs? Pin
nss26-Jul-02 6:02
nss26-Jul-02 6:02 
AnswerRe: how to pass in an index when LButtondown handler runs? Pin
perlmunger26-Jul-02 19:20
perlmunger26-Jul-02 19:20 
QuestionCreatePrinterDC fails? Pin
-Dy26-Jul-02 5:38
-Dy26-Jul-02 5:38 
I'm using the following to get the DC for the printer:
CDC dc;
if (!AfxGetApp()->CreatePrinterDC(dc))
  AfxMessageBox("unable to create dc")

But, it always returns FALSE. When I trace into it, it goes into CWinApp::CreatePrinterDC, and then into AfxCreateDC - but this returns NULL as hDevNames (CWinApp::m_nDevNames) is NULL (as is hDevMode).

What I'm a doing wrong?



Dylan Kenneally
London, UK
GeneralCRecttraker with CScrollview Pin
g-sus26-Jul-02 5:19
g-sus26-Jul-02 5:19 
GeneralMy CListCtrl & Ownerdata Pin
26-Jul-02 5:16
suss26-Jul-02 5:16 
Generaldoes the forum belong to ... Pin
includeh1026-Jul-02 4:33
includeh1026-Jul-02 4:33 
GeneralRe: does the forum belong to ... Pin
benjymous26-Jul-02 5:25
benjymous26-Jul-02 5:25 
GeneralRe: does the forum belong to ... Pin
Alexandru Savescu26-Jul-02 10:52
Alexandru Savescu26-Jul-02 10:52 
GeneralCreating new controls and handling events Pin
jparsons26-Jul-02 4:20
jparsons26-Jul-02 4:20 
GeneralRe: Creating new controls and handling events Pin
jparsons26-Jul-02 4:29
jparsons26-Jul-02 4:29 
GeneralRe: Creating new controls and handling events Pin
Tomasz Sowinski26-Jul-02 4:30
Tomasz Sowinski26-Jul-02 4:30 
GeneralPrinting Pin
Anthony988726-Jul-02 3:47
Anthony988726-Jul-02 3:47 
GeneralRe: Printing Pin
Chris Losinger26-Jul-02 4:20
professionalChris Losinger26-Jul-02 4:20 
GeneralRe: Printing Pin
Anthony988726-Jul-02 5:07
Anthony988726-Jul-02 5:07 
GeneralRe: Printing Pin
Chris Losinger26-Jul-02 5:08
professionalChris Losinger26-Jul-02 5:08 
GeneralRe: Printing Pin
Anthony988726-Jul-02 5:28
Anthony988726-Jul-02 5:28 
GeneralRe: Printing Pin
Chris Losinger26-Jul-02 5:33
professionalChris Losinger26-Jul-02 5:33 
GeneralBizTalk::SubmitSynch - Help! Pin
Ed K26-Jul-02 3:44
Ed K26-Jul-02 3:44 
Generalgethostbyname Pin
Konst26-Jul-02 3:37
Konst26-Jul-02 3:37 
GeneralRe: gethostbyname Pin
Joaquín M López Muñoz26-Jul-02 3:54
Joaquín M López Muñoz26-Jul-02 3:54 

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.