Click here to Skip to main content
15,908,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to add ATL object map in simple Win32 Application Pin
SiddharthAtw11-Feb-04 19:26
SiddharthAtw11-Feb-04 19:26 
GeneralCreate user interface specification from .rc file Pin
Anonymous11-Feb-04 18:55
Anonymous11-Feb-04 18:55 
GeneralRe: Create user interface specification from .rc file Pin
Antti Keskinen11-Feb-04 20:43
Antti Keskinen11-Feb-04 20:43 
GeneralUsing Arrays Pin
Anonymous11-Feb-04 18:49
Anonymous11-Feb-04 18:49 
GeneralRe: Using Arrays Pin
Antti Keskinen11-Feb-04 20:48
Antti Keskinen11-Feb-04 20:48 
GeneralRe: Using Arrays Pin
Anonymous12-Feb-04 1:44
Anonymous12-Feb-04 1:44 
GeneralRe: Using Arrays Pin
Member 1234966812-Feb-04 17:40
Member 1234966812-Feb-04 17:40 
GeneralGetSaveFileName Pin
cradmd0311-Feb-04 18:43
cradmd0311-Feb-04 18:43 
GeneralRe: GetSaveFileName Pin
David Crow12-Feb-04 3:01
David Crow12-Feb-04 3:01 
GeneralBest way to end program Pin
shultas11-Feb-04 18:10
shultas11-Feb-04 18:10 
GeneralRe: Best way to end program Pin
Antti Keskinen11-Feb-04 20:52
Antti Keskinen11-Feb-04 20:52 
GeneralBSTR from ATL DLL to Client Pin
SiddharthAtw11-Feb-04 17:49
SiddharthAtw11-Feb-04 17:49 
GeneralRe: BSTR from ATL DLL to Client Pin
Abhishek Srivastava11-Feb-04 18:09
Abhishek Srivastava11-Feb-04 18:09 
GeneralRe: BSTR from ATL DLL to Client Pin
Anonymous11-Feb-04 18:43
Anonymous11-Feb-04 18:43 
GeneralProcess performance monitor Pin
Sandeep Kulkarni11-Feb-04 17:06
Sandeep Kulkarni11-Feb-04 17:06 
GeneralRe: Process performance monitor Pin
Arcrest11-Feb-04 18:38
Arcrest11-Feb-04 18:38 
GeneralRe: Process performance monitor Pin
David Crow12-Feb-04 3:26
David Crow12-Feb-04 3:26 
GeneralMFC printing extra blank page Pin
raytheonthenak11-Feb-04 15:16
raytheonthenak11-Feb-04 15:16 
GeneralRe: MFC printing extra blank page Pin
CodeBrain11-Feb-04 21:11
CodeBrain11-Feb-04 21:11 
GeneralRe: MFC printing extra blank page Pin
basementman12-Feb-04 4:21
basementman12-Feb-04 4:21 
GeneralRe: MFC printing extra blank page Pin
raytheonthenak12-Feb-04 8:39
raytheonthenak12-Feb-04 8:39 
GeneralRe: MFC printing extra blank page Pin
CodeBrain15-Feb-04 22:45
CodeBrain15-Feb-04 22:45 
GeneralRe: MFC printing extra blank page Pin
raytheonthenak27-Feb-04 10:28
raytheonthenak27-Feb-04 10:28 
Actually its nothing like that. If you research the MFC underlying infrastructure, the CPrintInfo object has default min, max page values of 1 & 0xFFFF respectively. Thus when printing it will print to those pages, until it encounters a page with no data. As far as Ive found the only way to get rid of this is to SetMaxPage to the correct number of pages. But the textmetrics & sizes that some Printer DeviceContexts return to you arent correct, so Im still having problems determining exactly how to calculate this. Also strangely, in my font, the boldface char's seem to take up barely more space than the regular ones. Im still working on this problem, so Im not sure what the solution is yet
GeneralTrouble with GDI+... Pin
roboticguy211-Feb-04 15:09
roboticguy211-Feb-04 15:09 
Generalscrollable frame in the propertypage Pin
alhaneen11-Feb-04 14:23
alhaneen11-Feb-04 14:23 

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.