Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Serial number storing Pin
knapak1-Aug-05 12:31
knapak1-Aug-05 12:31 
GeneralRe: Serial number storing Pin
Marc Soleda1-Aug-05 19:32
Marc Soleda1-Aug-05 19:32 
QuestionWYSIWYG - how to ? Pin
Member 214363831-Jul-05 21:44
Member 214363831-Jul-05 21:44 
AnswerRe: WYSIWYG - how to ? Pin
David Crow1-Aug-05 3:25
David Crow1-Aug-05 3:25 
GeneralRe: WYSIWYG - how to ? Pin
Member 21436381-Aug-05 4:12
Member 21436381-Aug-05 4:12 
GeneralRe: WYSIWYG - how to ? Pin
David Crow1-Aug-05 5:33
David Crow1-Aug-05 5:33 
GeneralRe: WYSIWYG - how to ? Pin
Member 21436382-Aug-05 5:54
Member 21436382-Aug-05 5:54 
GeneralRe: WYSIWYG - how to ? Pin
David Crow2-Aug-05 6:07
David Crow2-Aug-05 6:07 
Then put this code in the view's OnPrepareDC() method after calling the base implementation:

if (pDC->IsPrinting() != FALSE)
{
    pDC->SetMapMode(MM_ISOTROPIC);
 
    // m_BmpInfo is a BITMAP member variable

    pDC->SetWindowOrg(m_BmpInfo.bmWidth / 2, m_BmpInfo.bmHeight / 2);
    pDC->SetViewportOrg(pDC->GetDeviceCaps(HORZRES) / 2, pDC->GetDeviceCaps(VERTRES) / 2);
 
    pDC->SetWindowExt(m_BmpInfo.bmWidth, m_BmpInfo.bmHeight);	
    pDC->SetViewportExt(pDC->GetDeviceCaps(HORZRES), pDC->GetDeviceCaps(VERTRES));
}    



"One must learn from the bite of the fire to leave it alone." - Native American Proverb


QuestionHow do we read information from a DSN? Pin
bondguru31-Jul-05 21:40
bondguru31-Jul-05 21:40 
AnswerRe: How do we read information from a DSN? Pin
Ritu Kwatra1-Aug-05 1:06
Ritu Kwatra1-Aug-05 1:06 
GeneralTabCtrl Pin
Halawlaws31-Jul-05 21:33
Halawlaws31-Jul-05 21:33 
GeneralRe: TabCtrl Pin
Anonymous31-Jul-05 23:52
Anonymous31-Jul-05 23:52 
Generalhook clipboard! Pin
macro91331-Jul-05 21:28
macro91331-Jul-05 21:28 
QuestionThread doesnt want to set event? Pin
Member 341989131-Jul-05 21:15
Member 341989131-Jul-05 21:15 
AnswerRe: Thread doesnt want to set event? Pin
S. Senthil Kumar31-Jul-05 23:17
S. Senthil Kumar31-Jul-05 23:17 
GeneralRe: Thread doesnt want to set event? Pin
Member 34198911-Aug-05 0:12
Member 34198911-Aug-05 0:12 
GeneralRe: Thread doesnt want to set event? Pin
S. Senthil Kumar1-Aug-05 0:45
S. Senthil Kumar1-Aug-05 0:45 
GeneralRe: Thread doesnt want to set event? Pin
Member 34198911-Aug-05 1:49
Member 34198911-Aug-05 1:49 
GeneralRe: Thread doesnt want to set event? Pin
Member 34198911-Aug-05 20:33
Member 34198911-Aug-05 20:33 
Questionhow do i call class dll in vb which is created in vc++ Pin
rajesh_kapure31-Jul-05 21:10
rajesh_kapure31-Jul-05 21:10 
AnswerRe: how do i call class dll in vb which is created in vc++ Pin
Aamir Butt31-Jul-05 21:50
Aamir Butt31-Jul-05 21:50 
GeneralRe: how do i call class dll in vb which is created in vc++ Pin
rajesh_kapure31-Jul-05 23:08
rajesh_kapure31-Jul-05 23:08 
GeneralRe: how do i call class dll in vb which is created in vc++ Pin
Eytukan1-Aug-05 5:28
Eytukan1-Aug-05 5:28 
GeneralRe: how do i call class dll in vb which is created in vc++ Pin
rajesh_kapure1-Aug-05 17:44
rajesh_kapure1-Aug-05 17:44 
GeneralwParam from WM_KEYDOWN to wParam WM_CHAR Pin
Member 214363831-Jul-05 20:59
Member 214363831-Jul-05 20:59 

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.