Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDesign Patterns Pin
geekfromindia18-Jan-08 4:39
geekfromindia18-Jan-08 4:39 
GeneralRe: Design Patterns Pin
geekfromindia18-Jan-08 4:40
geekfromindia18-Jan-08 4:40 
GeneralRe: Design Patterns Pin
CPallini18-Jan-08 4:45
mveCPallini18-Jan-08 4:45 
GeneralRe: Design Patterns Pin
geekfromindia18-Jan-08 4:58
geekfromindia18-Jan-08 4:58 
GeneralRe: Design Patterns Pin
CPallini18-Jan-08 5:50
mveCPallini18-Jan-08 5:50 
GeneralRe: Design Patterns Pin
geekfromindia18-Jan-08 6:25
geekfromindia18-Jan-08 6:25 
GeneralRe: Design Patterns Pin
geekfromindia18-Jan-08 6:33
geekfromindia18-Jan-08 6:33 
GeneralFillRect with a pattern brush, offset problem Pin
followait18-Jan-08 3:44
followait18-Jan-08 3:44 
CRect rc;
GetClientRect(&rc);
rc.top=rc.bottom-48;
CBitmap bmp;
bmp.LoadBitmap(IDB_48x48);
CBrush br(&bmp)
pDC->FillRect(&rc,&br);


The topleft point of the rectangle is not the topleft point of the bitmap.
How to solve the problem?
Thanks.
GeneralRe: FillRect with a pattern brush, offset problem Pin
bob1697218-Jan-08 4:02
bob1697218-Jan-08 4:02 
GeneralRe: FillRect with a pattern brush, offset problem Pin
followait18-Jan-08 4:17
followait18-Jan-08 4:17 
GeneralRe: FillRect with a pattern brush, offset problem Pin
bob1697218-Jan-08 5:18
bob1697218-Jan-08 5:18 
GeneralRe: FillRect with a pattern brush, offset problem Pin
bob1697218-Jan-08 5:36
bob1697218-Jan-08 5:36 
Generalproblem in CDialog Pin
Abhijit A18-Jan-08 2:39
Abhijit A18-Jan-08 2:39 
QuestionRe: problem in CDialog Pin
David Crow18-Jan-08 3:17
David Crow18-Jan-08 3:17 
GeneralRe: problem in CDialog Pin
Abhijit A18-Jan-08 3:25
Abhijit A18-Jan-08 3:25 
QuestionRe: problem in CDialog Pin
David Crow18-Jan-08 3:29
David Crow18-Jan-08 3:29 
GeneralRe: problem in CDialog Pin
Abhijit A18-Jan-08 4:02
Abhijit A18-Jan-08 4:02 
QuestionDrawing from different threads in OpenGL Pin
RichardS18-Jan-08 1:57
RichardS18-Jan-08 1:57 
GeneralRe: Drawing from different threads in OpenGL Pin
Dexterus18-Jan-08 3:36
Dexterus18-Jan-08 3:36 
GeneralExporting a variable an enum and a class to VB ! Pin
CrocodileBuck18-Jan-08 1:09
CrocodileBuck18-Jan-08 1:09 
GeneralRe: Exporting a variable an enum and a class to VB ! Pin
CPallini18-Jan-08 2:25
mveCPallini18-Jan-08 2:25 
QuestionDataexport from CListCtrl to lokal file? Pin
bosfan18-Jan-08 1:02
bosfan18-Jan-08 1:02 
AnswerRe: Dataexport from CListCtrl to lokal file? Pin
Cedric Moonen18-Jan-08 2:00
Cedric Moonen18-Jan-08 2:00 
GeneralRe: Dataexport from CListCtrl to lokal file? Pin
bosfan18-Jan-08 2:20
bosfan18-Jan-08 2:20 
GeneralRe: Dataexport from CListCtrl to lokal file? Pin
Cedric Moonen18-Jan-08 2:50
Cedric Moonen18-Jan-08 2:50 

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.