Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: change the tab font of a property sheet from the same tab. Pin
Tomasz Sowinski1-Aug-02 23:51
Tomasz Sowinski1-Aug-02 23:51 
GeneralCRichEditCtrl MFC Pin
Anonymous1-Aug-02 22:55
Anonymous1-Aug-02 22:55 
GeneralRe: CRichEditCtrl MFC Pin
[James Pullicino]1-Aug-02 23:38
[James Pullicino]1-Aug-02 23:38 
GeneralRe: CRichEditCtrl MFC Pin
Olli2-Aug-02 1:16
Olli2-Aug-02 1:16 
GeneralBitmap -please help Pin
suresh_sathya1-Aug-02 22:06
suresh_sathya1-Aug-02 22:06 
GeneralRe: Bitmap -please help Pin
Christian Graus1-Aug-02 22:33
protectorChristian Graus1-Aug-02 22:33 
GeneralRe: Bitmap -please help Pin
suresh_sathya1-Aug-02 23:15
suresh_sathya1-Aug-02 23:15 
GeneralRe: Bitmap -please help Pin
Davide Pizzolato2-Aug-02 0:30
Davide Pizzolato2-Aug-02 0:30 
//prepare the bitmap attributes
BITMAPINFO bmInfo;
memset(&bmInfo.bmiHeader,0,sizeof(BITMAPINFOHEADER));
bmInfo.bmiHeader.biSize=sizeof(BITMAPINFOHEADER);
bmInfo.bmiHeader.biWidth=width;
bmInfo.bmiHeader.biHeight=height;
bmInfo.bmiHeader.biPlanes=1;
bmInfo.bmiHeader.biBitCount=24;
//create a temporary dc in memory.
HDC pDC = ::GetDC(0);
HDC TmpDC=CreateCompatibleDC(pDC);
//create a new bitmap and select it in the memory dc
BYTE *pbase;
HBITMAP TmpBmp=CreateDIBSection(pDC,
    &bmInfo,DIB_RGB_COLORS,(void**)&pbase,0,0);
HGDIOBJ TmpObj=SelectObject(TmpDC,TmpBmp);

GeneralGSM Programming Woes Pin
Derek Lakin1-Aug-02 22:05
Derek Lakin1-Aug-02 22:05 
GeneralCopy & Paste in CView derived classes Pin
Anonymous1-Aug-02 21:47
Anonymous1-Aug-02 21:47 
GeneralRe: Copy & Paste in CView derived classes Pin
Tomasz Sowinski1-Aug-02 23:52
Tomasz Sowinski1-Aug-02 23:52 
GeneralRe: Copy & Paste in CView derived classes Pin
Anonymous2-Aug-02 1:04
Anonymous2-Aug-02 1:04 
GeneralRe: Copy & Paste in CView derived classes Pin
Tomasz Sowinski2-Aug-02 1:06
Tomasz Sowinski2-Aug-02 1:06 
GeneralExecuting DOS program from VC++ Pin
a3gupta1-Aug-02 21:27
a3gupta1-Aug-02 21:27 
GeneralRe: Executing DOS program from VC++ Pin
Daniel Lohmann1-Aug-02 21:57
Daniel Lohmann1-Aug-02 21:57 
GeneralColored Controls Pin
a3gupta1-Aug-02 21:03
a3gupta1-Aug-02 21:03 
GeneralRe: Colored Controls Pin
Roman Nurik1-Aug-02 21:26
Roman Nurik1-Aug-02 21:26 
GeneralReading unicode strings from a file.. Pin
Neha1-Aug-02 20:57
Neha1-Aug-02 20:57 
GeneralRe: Reading unicode strings from a file.. Pin
Roman Nurik1-Aug-02 21:25
Roman Nurik1-Aug-02 21:25 
Questionhow can i do it? Pin
whelk1-Aug-02 20:54
whelk1-Aug-02 20:54 
AnswerRe: how can i do it? Pin
Hydralisk1-Aug-02 21:34
Hydralisk1-Aug-02 21:34 
GeneralCrash in Relese Build Pin
Ravi Jadhav1-Aug-02 20:50
Ravi Jadhav1-Aug-02 20:50 
GeneralRe: Crash in Relese Build Pin
Roman Nurik1-Aug-02 21:22
Roman Nurik1-Aug-02 21:22 
GeneralRe: Crash in Relese Build Pin
Ravi Jadhav1-Aug-02 21:52
Ravi Jadhav1-Aug-02 21:52 
GeneralRe: Crash in Relese Build Pin
[James Pullicino]1-Aug-02 23:40
[James Pullicino]1-Aug-02 23:40 

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.