Click here to Skip to main content
15,916,601 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Allocating memory using calloc. Pin
jossion8-Jan-08 16:07
jossion8-Jan-08 16:07 
GeneralCMenu close notification Pin
Abyss2-Jan-08 23:14
Abyss2-Jan-08 23:14 
GeneralRe: CMenu close notification Pin
Naveen2-Jan-08 23:49
Naveen2-Jan-08 23:49 
GeneralRe: CMenu close notification Pin
Abyss3-Jan-08 0:05
Abyss3-Jan-08 0:05 
GeneralRe: CMenu close notification Pin
Naveen3-Jan-08 0:31
Naveen3-Jan-08 0:31 
GeneralRe: CMenu close notification Pin
Abyss3-Jan-08 0:44
Abyss3-Jan-08 0:44 
GeneralRe: CMenu close notification Pin
Nishad S3-Jan-08 1:56
Nishad S3-Jan-08 1:56 
GeneralList control's last column clipping while client area is managed for placing a custom scroll bar Pin
jijeeshkv2-Jan-08 22:33
jijeeshkv2-Jan-08 22:33 
The list control width is changed in OnNcCalcSize for placing a vertical scroll bar having larger width than normal scroll bar.Then the last column is clipped.
see the code portion below:

void CustomListCtrl::OnNcCalcSize( BOOL bCalcValidRects_i, NCCALCSIZE_PARAMS FAR* lpncsp_i )
{
CListCtrl::OnNcCalcSize( bCalcValidRects_i, lpncsp_i );
DWORD dwStyle = GetWindowLong( m_hWnd, GWL_STYLE );
bool bVScroll = ( WS_VSCROLL == ( dwStyle & WS_VSCROLL ));
if( bVScroll )
{
lpncsp_i->rgrc[0].right -= ( nScrollbarSize - GetSystemMetrics( SM_CXVSCROLL ));
}
}

Actually scroll bars are appearing at correct position but the contents of the last column is clipped.
please help me...
thanks in advance....
JKV
QuestionHow to convert pair of 8-bit codepoints to decimal value Pin
johnalek2-Jan-08 21:59
johnalek2-Jan-08 21:59 
AnswerIs becoming a quite annoying repost Pin
CPallini2-Jan-08 22:34
mveCPallini2-Jan-08 22:34 
QuestionIs it possible to develop a GraphicsPath object from a Region object? Pin
Md. Ali Naser Khan2-Jan-08 20:24
Md. Ali Naser Khan2-Jan-08 20:24 
GeneralVisual studio Pin
nitin32-Jan-08 19:57
nitin32-Jan-08 19:57 
GeneralRe: Visual studio Pin
Nishad S2-Jan-08 20:03
Nishad S2-Jan-08 20:03 
GeneralRe: Visual studio Pin
nitin32-Jan-08 20:33
nitin32-Jan-08 20:33 
GeneralRe: Visual studio Pin
Nishad S2-Jan-08 21:22
Nishad S2-Jan-08 21:22 
GeneralRe: Visual studio Pin
Maxwell Chen2-Jan-08 22:06
Maxwell Chen2-Jan-08 22:06 
GeneralRe: Visual studio Pin
Nishad S3-Jan-08 2:12
Nishad S3-Jan-08 2:12 
GeneralRe: Visual studio Pin
Maxwell Chen3-Jan-08 5:08
Maxwell Chen3-Jan-08 5:08 
GeneralRe: Visual studio Pin
Florin Crişan2-Jan-08 22:29
Florin Crişan2-Jan-08 22:29 
GeneralRe: Visual studio Pin
CPallini3-Jan-08 0:17
mveCPallini3-Jan-08 0:17 
GeneralRe: Visual studio Pin
Florin Crişan3-Jan-08 0:22
Florin Crişan3-Jan-08 0:22 
GeneralBuild date timestamp Pin
HenriH2-Jan-08 19:52
HenriH2-Jan-08 19:52 
GeneralRe: Build date timestamp Pin
CPallini2-Jan-08 21:22
mveCPallini2-Jan-08 21:22 
QuestionHow can disable Dialog Box when call SetupCommitFileQueue Pin
machoman_VC++2-Jan-08 19:38
machoman_VC++2-Jan-08 19:38 
QuestionHow to convert pair of 8bit codepoints to int value in vc++ Pin
johnalek2-Jan-08 19:37
johnalek2-Jan-08 19:37 

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.