Click here to Skip to main content
15,923,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionListCtrl Pin
vinod.sankuthodi21-May-06 19:22
vinod.sankuthodi21-May-06 19:22 
AnswerRe: ListCtrl Pin
Laxman Auti21-May-06 19:49
Laxman Auti21-May-06 19:49 
AnswerRe: ListCtrl Pin
Naveen21-May-06 20:19
Naveen21-May-06 20:19 
GeneralRe: ListCtrl Pin
ThatsAlok22-May-06 3:06
ThatsAlok22-May-06 3:06 
GeneralRe: ListCtrl Pin
Naveen22-May-06 17:10
Naveen22-May-06 17:10 
GeneralRe: ListCtrl Pin
ThatsAlok22-May-06 19:10
ThatsAlok22-May-06 19:10 
AnswerRe: ListCtrl Pin
ThatsAlok22-May-06 3:05
ThatsAlok22-May-06 3:05 
QuestionCreate a hatched bit pattern Pin
Sarath C21-May-06 19:04
Sarath C21-May-06 19:04 
the following is the code I found in MSDN.
Anybody can explain about the hatchbits? I didnt get anything from the code.

See the code below

// Create a hatched bit pattern.
WORD HatchBits[8] = { 0x11, 0x22, 0x44, 0x88, 0x11,
0x22, 0x44, 0x88 };


// Use the bit pattern to create a bitmap.
CBitmap bm;
bm.CreateBitmap(8,8,1,1, HatchBits);

// Create a pattern brush from the bitmap.
CBrush brush;
brush.CreatePatternBrush(&bm);

// Select the brush into a device context, and draw.
CBrush* pOldBrush = (CBrush*)pDC->SelectObject(&brush);
pDC->RoundRect(CRect(50, 50, 200, 200), CPoint(10,10));

// Restore the original brush.
pDC->SelectObject(pOldBrush);


SaRath
AnswerRe: Create a hatched bit pattern Pin
PJ Arends21-May-06 19:33
professionalPJ Arends21-May-06 19:33 
GeneralRe: Create a hatched bit pattern Pin
Sarath C21-May-06 20:31
Sarath C21-May-06 20:31 
QuestionAll the processing in OnInitDialog() Pin
zahid_ash21-May-06 18:37
zahid_ash21-May-06 18:37 
AnswerRe: All the processing in OnInitDialog() Pin
Laxman Auti21-May-06 18:49
Laxman Auti21-May-06 18:49 
GeneralRe: All the processing in OnInitDialog() Pin
zahid_ash21-May-06 18:54
zahid_ash21-May-06 18:54 
GeneralRe: All the processing in OnInitDialog() Pin
Laxman Auti21-May-06 19:20
Laxman Auti21-May-06 19:20 
GeneralRe: All the processing in OnInitDialog() Pin
zahid_ash21-May-06 19:25
zahid_ash21-May-06 19:25 
GeneralRe: All the processing in OnInitDialog() Pin
ThatsAlok22-May-06 0:54
ThatsAlok22-May-06 0:54 
AnswerRe: All the processing in OnInitDialog() Pin
Nibu babu thomas21-May-06 18:50
Nibu babu thomas21-May-06 18:50 
GeneralRe: All the processing in OnInitDialog() Pin
zahid_ash21-May-06 18:53
zahid_ash21-May-06 18:53 
GeneralRe: All the processing in OnInitDialog() Pin
Nibu babu thomas21-May-06 19:17
Nibu babu thomas21-May-06 19:17 
AnswerRe: All the processing in OnInitDialog() Pin
PJ Arends21-May-06 19:19
professionalPJ Arends21-May-06 19:19 
GeneralRe: All the processing in OnInitDialog() Pin
zahid_ash21-May-06 19:23
zahid_ash21-May-06 19:23 
GeneralRe: All the processing in OnInitDialog() Pin
ThatsAlok22-May-06 1:50
ThatsAlok22-May-06 1:50 
QuestionRetrieve system Details including RAM Size Pin
QuickDeveloper21-May-06 18:28
QuickDeveloper21-May-06 18:28 
AnswerRe: Retrieve system Details including RAM Size Pin
Nibu babu thomas21-May-06 18:37
Nibu babu thomas21-May-06 18:37 
GeneralRe: Retrieve system Details including RAM Size Pin
QuickDeveloper21-May-06 20:33
QuickDeveloper21-May-06 20:33 

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.