Click here to Skip to main content
15,907,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to draw client's controls in WM_PRINTCLIENT Pin
BillTPE8-Mar-06 15:24
BillTPE8-Mar-06 15:24 
Questionwhere is __targv defined in a MFC app. Pin
derek71-Mar-06 15:32
derek71-Mar-06 15:32 
Questiongloabal conflict Pin
derek71-Mar-06 14:35
derek71-Mar-06 14:35 
AnswerRe: gloabal conflict Pin
Stephen Hewitt1-Mar-06 15:15
Stephen Hewitt1-Mar-06 15:15 
AnswerRe: gloabal conflict Pin
Bob Stanneveld1-Mar-06 20:41
Bob Stanneveld1-Mar-06 20:41 
QuestionShow different Pictures in a static box Pin
charass1-Mar-06 12:25
charass1-Mar-06 12:25 
AnswerRe: Show different Pictures in a static box Pin
Nibu babu thomas1-Mar-06 17:01
Nibu babu thomas1-Mar-06 17:01 
GeneralRe: Show different Pictures in a static box Pin
charass2-Mar-06 8:49
charass2-Mar-06 8:49 
I did it! But there is an error...

Name of Pic.: IDB_PIC1
Name of Global variable: Promille
Name of the static Picture Box: IDC_PIC_Moe

void CAlkoholmaschineDlg::OnB_Likoer(){

CString IDB_PIC1;
IDB_PIC1.Format(IDB_PIC1, Promille);
CBitmap bmp;
bmp.LoadBitmap(IDB_PIC1);
IDC_PIC_Moe.SetBitmap(bmp);
}

The error message:
error C2228: left of '.SetBitmap' must have class/struct/union type
GeneralRe: Show different Pictures in a static box Pin
Nibu babu thomas2-Mar-06 16:43
Nibu babu thomas2-Mar-06 16:43 
GeneralRe: Show different Pictures in a static box Pin
charass2-Mar-06 22:38
charass2-Mar-06 22:38 
GeneralRe: Show different Pictures in a static box Pin
Nibu babu thomas2-Mar-06 22:40
Nibu babu thomas2-Mar-06 22:40 
GeneralRe: Show different Pictures in a static box Pin
charass2-Mar-06 22:52
charass2-Mar-06 22:52 
GeneralRe: Show different Pictures in a static box Pin
Nibu babu thomas2-Mar-06 23:46
Nibu babu thomas2-Mar-06 23:46 
QuestionCAB and softreset Pin
Fernando A. Gomez F.1-Mar-06 12:13
Fernando A. Gomez F.1-Mar-06 12:13 
AnswerRe: CAB and softreset Pin
Ryan Binns1-Mar-06 17:11
Ryan Binns1-Mar-06 17:11 
GeneralRe: CAB and softreset Pin
Fernando A. Gomez F.2-Mar-06 3:56
Fernando A. Gomez F.2-Mar-06 3:56 
Questiondisable history Pin
gr8coaster3291-Mar-06 11:13
gr8coaster3291-Mar-06 11:13 
QuestionProblems with an ActiveX/com control Pin
BadKarma1-Mar-06 9:21
BadKarma1-Mar-06 9:21 
AnswerRe: Problems with an ActiveX/com control Pin
Stephen Hewitt1-Mar-06 11:26
Stephen Hewitt1-Mar-06 11:26 
GeneralRe: Problems with an ActiveX/com control Pin
BadKarma1-Mar-06 11:43
BadKarma1-Mar-06 11:43 
GeneralRe: Problems with an ActiveX/com control Pin
Stephen Hewitt1-Mar-06 11:55
Stephen Hewitt1-Mar-06 11:55 
GeneralRe: Problems with an ActiveX/com control Pin
BadKarma1-Mar-06 12:16
BadKarma1-Mar-06 12:16 
Question//lint !e740 Pin
russeller1-Mar-06 9:11
russeller1-Mar-06 9:11 
AnswerRe: //lint !e740 Pin
David Crow1-Mar-06 9:27
David Crow1-Mar-06 9:27 
GeneralRe: //lint !e740 Pin
russeller1-Mar-06 9:40
russeller1-Mar-06 9: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.