Click here to Skip to main content
15,918,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: resize a CFormView programmatically Pin
KaЯl4-Apr-05 5:34
KaЯl4-Apr-05 5:34 
GeneralRe: resize a CFormView programmatically Pin
Harold Bamford4-Apr-05 5:36
Harold Bamford4-Apr-05 5:36 
GeneralRe: resize a CFormView programmatically Pin
Harold Bamford6-Apr-05 6:33
Harold Bamford6-Apr-05 6:33 
GeneralThe needle is right over here, under the hay. Pin
LordTygger3-Apr-05 14:57
LordTygger3-Apr-05 14:57 
GeneralRe: The needle is right over here, under the hay. Pin
Christian Graus3-Apr-05 15:24
protectorChristian Graus3-Apr-05 15:24 
GeneralRe: The needle is right over here, under the hay. Pin
LordTygger3-Apr-05 15:29
LordTygger3-Apr-05 15:29 
GeneralRe: The needle is right over here, under the hay. Pin
Christian Graus3-Apr-05 15:32
protectorChristian Graus3-Apr-05 15:32 
Questionhow to show the checkbox in the ListCtrl with ICON style? Pin
lowiq3-Apr-05 14:54
lowiq3-Apr-05 14:54 
I have to make a thumbnail List Ctrl with checkbox extended style, But I found that each item size in ICON style is different, if the file name is long the default size for the Item will be bigger.
For example: SetImageList(&myImageList,LVSIL_NORMAL), the size for myImageList is 100*100.
Then in the OnCustomDraw function, I use:
GetItemRect(nItemIndex,&rcBound,LVIR_BOUNDS);
if the file name's length is shorter than the 100,
the rcBound's width is 116, but if the file name is longer than 100, the rcBound's widht will increase automatic!!
When I set the checkbox extended style, the checkbox will be draw just beside the thumbnail, if the file name is not long enough, some part of the checkbox will out of the ListCtrl item area by default, in this condition, I can not draw the checkbox properly!!
So my question is:
Is there any way to change the ListCtrl Item size?
Or Is good solution to show both the thumbnail and checkbox?
Thanks a lot! Any comment is appreciate!!
Questionhow to use SendMessage for character at '\x080' position of current font. Pin
kristna3-Apr-05 14:08
kristna3-Apr-05 14:08 
QuestionCListCtrl with more than 260 characters? Pin
DanYELL3-Apr-05 10:35
DanYELL3-Apr-05 10:35 
GeneralSmart Tag for Rich Edit of Outlook email viewer Pin
Rajeev K Srivastava3-Apr-05 9:36
Rajeev K Srivastava3-Apr-05 9:36 
GeneralMFC Multithread question Pin
CNewbie3-Apr-05 9:30
CNewbie3-Apr-05 9:30 
GeneralRe: MFC Multithread question Pin
Paul Steane3-Apr-05 19:11
Paul Steane3-Apr-05 19:11 
GeneralPlease help me! Pin
dSolariuM3-Apr-05 9:04
dSolariuM3-Apr-05 9:04 
GeneralRe: Please help me! Pin
ThatsAlok3-Apr-05 18:51
ThatsAlok3-Apr-05 18:51 
GeneralC++ convert numbers to words Pin
supaman198813-Apr-05 8:44
supaman198813-Apr-05 8:44 
GeneralRe: C++ convert numbers to words Pin
David Crow4-Apr-05 3:09
David Crow4-Apr-05 3:09 
General.pch file wont copy over Pin
bonosa3-Apr-05 6:56
bonosa3-Apr-05 6:56 
GeneralRe: .pch file wont copy over Pin
Ravi Bhavnani3-Apr-05 7:52
professionalRavi Bhavnani3-Apr-05 7:52 
GeneralRe: .pch file wont copy over Pin
bonosa3-Apr-05 9:14
bonosa3-Apr-05 9:14 
GeneralLook into this code of floodfill. Running out of memory. Pin
awasthy3-Apr-05 6:14
awasthy3-Apr-05 6:14 
GeneralRe: Look into this code of floodfill. Running out of memory. Pin
Ravi Bhavnani3-Apr-05 7:53
professionalRavi Bhavnani3-Apr-05 7:53 
GeneralRe: Look into this code of floodfill. Running out of memory. Pin
squidev3-Apr-05 7:58
squidev3-Apr-05 7:58 
GeneralRe: Look into this code of floodfill. Running out of memory. Pin
Mike Dimmick3-Apr-05 8:41
Mike Dimmick3-Apr-05 8:41 
GeneralSet Visual Style for an application (and only for it) Pin
gabriel.fischer3-Apr-05 4:22
gabriel.fischer3-Apr-05 4:22 

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.