Click here to Skip to main content
15,904,934 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Vector inside MFC app? Pin
jhwurmbach9-Oct-03 2:02
jhwurmbach9-Oct-03 2:02 
GeneralForm like MS Office assistance in vc++ Pin
sunju9-Oct-03 0:37
sunju9-Oct-03 0:37 
GeneralRe: Form like MS Office assistance in vc++ Pin
Anthony_Yio9-Oct-03 2:30
Anthony_Yio9-Oct-03 2:30 
GeneralRe: Form like MS Office assistance in vc++ Pin
Atif Mushtaq10-Oct-03 0:17
Atif Mushtaq10-Oct-03 0:17 
GeneralRe: Form like MS Office assistance in vc++ Pin
Anthony_Yio9-Oct-03 2:37
Anthony_Yio9-Oct-03 2:37 
GeneralRe: Form like MS Office assistance in vc++ Pin
sunju9-Oct-03 18:49
sunju9-Oct-03 18:49 
Questionhow to implement a CDragCheckListBox? Pin
Jefferson Liu9-Oct-03 0:14
Jefferson Liu9-Oct-03 0:14 
GeneralStretchDIBits fit into paper Pin
vancouver7778-Oct-03 23:51
vancouver7778-Oct-03 23:51 
I would like to make my program to fit into paper
when printing out. I know we should deal with that
with this function but I am not sure about parameter
Does anyone know what to put?

BITMAPINFOHEADER *pBMI = (BITMAPINFOHEADER*)(LPVOID)lock;

int nColors = 0;
if( pBMI->biBitCount <= 8 )
nColors = ( 1<< pBMI->biBitCount );
if( b_PrintFit )
{
::StretchDIBits( pDC->GetSafeHdc( ),
pInfo->m_rectDraw.left,
pInfo->m_rectDraw.top,
pBMI->biWidth,
pBMI->biHeight,
0,
0,
pBMI->biWidth,
pBMI->biHeight,
(LPBYTE)pBMI + (pBMI->biSize + nColors * sizeof(RGBQUAD)),
(BITMAPINFO*)pBMI,
DIB_RGB_COLORS,
SRCCOPY);
Thanks
shin
GeneralRe: StretchDIBits fit into paper Pin
Alex Dolpfin9-Oct-03 3:06
Alex Dolpfin9-Oct-03 3:06 
Questionqeustions on scrolling window? Pin
ashxly8-Oct-03 23:46
ashxly8-Oct-03 23:46 
AnswerRe: qeustions on scrolling window? Pin
ashxly9-Oct-03 2:48
ashxly9-Oct-03 2:48 
Generalwarning C4273 - inconsistent dll linkage. dllexport assumed. Pin
YaronNir8-Oct-03 23:39
YaronNir8-Oct-03 23:39 
GeneralStill got no answer can any1 help plz?????? Pin
YaronNir9-Oct-03 2:59
YaronNir9-Oct-03 2:59 
GeneralRe: warning C4273 - inconsistent dll linkage. dllexport assumed. Pin
Anthony_Yio9-Oct-03 3:09
Anthony_Yio9-Oct-03 3:09 
GeneralRe: warning C4273 - inconsistent dll linkage. dllexport assumed. Pin
YaronNir9-Oct-03 4:27
YaronNir9-Oct-03 4:27 
GeneralRe: warning C4273 - inconsistent dll linkage. dllexport assumed. Pin
Anthony_Yio9-Oct-03 16:43
Anthony_Yio9-Oct-03 16:43 
GeneralRe: warning C4273 - inconsistent dll linkage. dllexport assumed. Pin
Abebe9-Oct-03 4:10
Abebe9-Oct-03 4:10 
GeneralMFC ActiveX application crash with no call stack Pin
tidhar8-Oct-03 23:11
tidhar8-Oct-03 23:11 
GeneralRe: MFC ActiveX application crash with no call stack Pin
Anthony_Yio9-Oct-03 2:59
Anthony_Yio9-Oct-03 2:59 
GeneralRe: MFC ActiveX application crash with no call stack Pin
tidhar9-Oct-03 3:29
tidhar9-Oct-03 3:29 
GeneralRe: MFC ActiveX application crash with no call stack Pin
Anthony_Yio9-Oct-03 16:52
Anthony_Yio9-Oct-03 16:52 
GeneralRe: MFC ActiveX application crash with no call stack Pin
tidhar9-Oct-03 21:32
tidhar9-Oct-03 21:32 
GeneralWindows Service and MFC Pin
Braulio Dez8-Oct-03 23:10
Braulio Dez8-Oct-03 23:10 
GeneralRe: Windows Service and MFC Pin
Anand Paranjpe9-Oct-03 1:08
Anand Paranjpe9-Oct-03 1:08 
GeneralRe: Windows Service and MFC Pin
Atif Mushtaq10-Oct-03 0:23
Atif Mushtaq10-Oct-03 0: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.