Click here to Skip to main content
15,888,243 members
Home / Discussions / C#
   

C#

 
QuestionCreating C# files Pin
tom groezer22-Jun-06 2:31
tom groezer22-Jun-06 2:31 
AnswerRe: Creating C# files Pin
Judah Gabriel Himango22-Jun-06 4:17
sponsorJudah Gabriel Himango22-Jun-06 4:17 
GeneralRe: Creating C# files Pin
tom groezer24-Jun-06 4:31
tom groezer24-Jun-06 4:31 
AnswerRe: Creating C# files Pin
atuldeore22-Jun-06 6:06
atuldeore22-Jun-06 6:06 
AnswerRe: Creating C# files Pin
BoneSoft22-Jun-06 6:36
BoneSoft22-Jun-06 6:36 
QuestionListBox and Sendmessage Pin
adamario22-Jun-06 2:29
adamario22-Jun-06 2:29 
AnswerRe: ListBox and Sendmessage Pin
Andrei Ungureanu22-Jun-06 2:51
Andrei Ungureanu22-Jun-06 2:51 
GeneralRe: ListBox and Sendmessage Pin
adamario22-Jun-06 3:13
adamario22-Jun-06 3:13 
that didnt help
here my test code:

int LB_ADDSTRING = 0x0180;
int LB_GETCOUNT = 0x018B;
int res = SendMessageString(listBox1.Handle, LB_ADDSTRING, 0, "test");
listBox1.Refresh();

int count = SendMessage(listBox1.Handle, LB_GETCOUNT, 0, 0);
int lcount = listBox1.Items.Count;

results are:
count = 1
lcount = 0

wonder why that is, why does the api say there is 1 item in listbox (which is actually correct), but the listbox itself says 0 items in it.
GeneralRe: ListBox and Sendmessage Pin
Judah Gabriel Himango22-Jun-06 4:54
sponsorJudah Gabriel Himango22-Jun-06 4:54 
QuestionDatabase Synchronisation Pin
Craig G Fraser22-Jun-06 2:18
Craig G Fraser22-Jun-06 2:18 
Questiondo's and dont's Pin
sund7wells22-Jun-06 2:18
sund7wells22-Jun-06 2:18 
AnswerRe: do's and dont's Pin
Paul Brower22-Jun-06 2:50
Paul Brower22-Jun-06 2:50 
GeneralRe: do's and dont's Pin
Not Active22-Jun-06 3:57
mentorNot Active22-Jun-06 3:57 
AnswerRe: do's and dont's Pin
Kevin McFarlane22-Jun-06 3:42
Kevin McFarlane22-Jun-06 3:42 
GeneralRe: do's and dont's Pin
sund7wells22-Jun-06 17:16
sund7wells22-Jun-06 17:16 
AnswerRe: do's and dont's Pin
Josh Smith22-Jun-06 4:19
Josh Smith22-Jun-06 4:19 
GeneralRe: do's and dont's Pin
Judah Gabriel Himango22-Jun-06 4:51
sponsorJudah Gabriel Himango22-Jun-06 4:51 
GeneralRe: do's and dont's Pin
Josh Smith22-Jun-06 4:56
Josh Smith22-Jun-06 4:56 
QuestionError in System.drawing.dll Pin
Reza Raad22-Jun-06 2:06
Reza Raad22-Jun-06 2:06 
AnswerRe: Error in System.drawing.dll Pin
Judah Gabriel Himango22-Jun-06 4:45
sponsorJudah Gabriel Himango22-Jun-06 4:45 
GeneralRe: Error in System.drawing.dll Pin
Reza Raad23-Jun-06 22:27
Reza Raad23-Jun-06 22:27 
AnswerRe: Error in System.drawing.dll Pin
bannapradeep22-Jun-06 23:02
bannapradeep22-Jun-06 23:02 
GeneralRe: Error in System.drawing.dll Pin
Reza Raad23-Jun-06 20:51
Reza Raad23-Jun-06 20:51 
AnswerRe: Error in System.drawing.dll Pin
Reza Raad25-Jun-06 0:08
Reza Raad25-Jun-06 0:08 
Questionhandling events fired by other threads Pin
Martin2322-Jun-06 2:05
Martin2322-Jun-06 2:05 

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.