Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vc++ Pin
Anthony_Yio2-Feb-05 23:03
Anthony_Yio2-Feb-05 23:03 
GeneralVisual C++ & SourceSafe Integration Pin
Frankie Deak2-Feb-05 22:25
Frankie Deak2-Feb-05 22:25 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Anthony_Yio2-Feb-05 22:47
Anthony_Yio2-Feb-05 22:47 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Frankie.Deak3-Feb-05 0:28
Frankie.Deak3-Feb-05 0:28 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Anonymous3-Feb-05 2:02
Anonymous3-Feb-05 2:02 
GeneralRe: Visual C++ & SourceSafe Integration Pin
Arjan Schouten3-Feb-05 2:47
Arjan Schouten3-Feb-05 2:47 
GeneralCompiler Switch in C/C++ command line Pin
Anonymous2-Feb-05 22:11
Anonymous2-Feb-05 22:11 
GeneralPromblems with CListCtrl Pin
Victor Serpentus2-Feb-05 21:58
Victor Serpentus2-Feb-05 21:58 
Hello!
I have 3 problems with CListCtrl in LVS_ICON mode.

1. I have 2 button click handlers:
CMyDlg::OnButton1()
{
m_ctrlList.InsertItem(0, "Item1", 0);
m_ctrlList.InsertItem(1, "Item2", 1);
m_ctrlList.InsertItem(0, "Item0", 3);
}

CMyDlg::OnButton2()
{
m_ctrlList.InsertItem(0, "NewItem1", 0);
m_ctrlList.InsertItem(1, "NewItem2", 1);
m_ctrlList.InsertItem(0, "NewItem0", 3);
}

After the first click the list is:
"Item0, Item1, Item2"
All right!
But after the second click the list is:
"Item0, Item1, Item2, NewItem0, NewItem1, NewItem2"
Why NewItem0 that was inserted in position 0 is actualy appears in position 3? Looks like session wrighting on CD-R Smile | :) Then how ListControl determines the begining of the new "session"?

2. I use SetIconSpacing function and ListControl sometimes draws selection incorrectly: a part of icon image is not painted by selection color. When selection is changing some other painting errors are happening.

3. Is there any way to force ListControl to paint all item label's text, not only first 2 lines and "..."?
GeneralRe: Promblems with CListCtrl Pin
David Crow3-Feb-05 2:57
David Crow3-Feb-05 2:57 
GeneralMost Recent Used FIles Pin
doctorpi2-Feb-05 21:43
doctorpi2-Feb-05 21:43 
GeneralRe: Most Recent Used FIles Pin
David Crow3-Feb-05 3:11
David Crow3-Feb-05 3:11 
QuestionHow to close form Pin
Member 15114712-Feb-05 21:30
Member 15114712-Feb-05 21:30 
AnswerRe: How to close form Pin
Geert van Horrik3-Feb-05 1:57
Geert van Horrik3-Feb-05 1:57 
GeneralRe: How to close form Pin
Anonymous6-Feb-05 0:35
Anonymous6-Feb-05 0:35 
GeneralImage flickers when Invalidate() is called. Pin
jazzkiller2-Feb-05 19:30
jazzkiller2-Feb-05 19:30 
GeneralRe: Image flickers when Invalidate() is called. Pin
Member 9009872-Feb-05 20:33
Member 9009872-Feb-05 20:33 
GeneralRe: Image flickers when Invalidate() is called. Pin
Christopher Lloyd3-Feb-05 1:16
Christopher Lloyd3-Feb-05 1:16 
GeneralRe: Image flickers when Invalidate() is called. Pin
jazzkiller3-Feb-05 6:11
jazzkiller3-Feb-05 6:11 
GeneralRe: Image flickers when Invalidate() is called. Pin
Christopher Lloyd3-Feb-05 7:14
Christopher Lloyd3-Feb-05 7:14 
GeneralRe: Image flickers when Invalidate() is called. Pin
jazzkiller3-Feb-05 10:05
jazzkiller3-Feb-05 10:05 
GeneralRe: Image flickers when Invalidate() is called. Pin
Christopher Lloyd3-Feb-05 10:29
Christopher Lloyd3-Feb-05 10:29 
GeneralGET BITMAP Pin
kedar.dave2-Feb-05 19:17
kedar.dave2-Feb-05 19:17 
QuestionHow to change the scan code while posting WM_KEYDOWN and WM_KEYUP messages? Pin
ledallam2-Feb-05 17:59
ledallam2-Feb-05 17:59 
AnswerRe: How to change the scan code while posting WM_KEYDOWN and WM_KEYUP messages? Pin
Christopher Lloyd3-Feb-05 1:23
Christopher Lloyd3-Feb-05 1:23 
GeneralRe: How to change the scan code while posting WM_KEYDOWN and WM_KEYUP messages? Pin
Blake Miller3-Feb-05 6:03
Blake Miller3-Feb-05 6:03 

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.