Click here to Skip to main content
15,915,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListBox string wrapping Pin
Iain Clarke, Warrior Programmer20-Jan-09 21:54
Iain Clarke, Warrior Programmer20-Jan-09 21:54 
QuestionLabel box in MFC Pin
bhanu_850920-Jan-09 2:48
bhanu_850920-Jan-09 2:48 
AnswerRe: Label box in MFC Pin
Cedric Moonen20-Jan-09 2:54
Cedric Moonen20-Jan-09 2:54 
GeneralRe: Label box in MFC Pin
bhanu_850920-Jan-09 3:01
bhanu_850920-Jan-09 3:01 
Questionfacing problem on Listing files in List box Control Pin
m_mun20-Jan-09 1:08
m_mun20-Jan-09 1:08 
AnswerRe: facing problem on Listing files in List box Control Pin
Nibu babu thomas20-Jan-09 1:16
Nibu babu thomas20-Jan-09 1:16 
GeneralRe: facing problem on Listing files in List box Control Pin
m_mun20-Jan-09 2:00
m_mun20-Jan-09 2:00 
AnswerRe: facing problem on Listing files in List box Control Pin
Code-o-mat20-Jan-09 1:21
Code-o-mat20-Jan-09 1:21 
Do you mean that you run a loop looking for the files, when you find one you add the path to the list, but the list only gets redrawn once your loop is done thus all your hits appear at once? If so, you have 3 options i can think of right now:
1. do the search in a different thread and send/post your hits towards the GUI thread
2. do your search with a timer
3. do your search in idle-time (when your GUI thread has no messages to process)

p.s: You could also try simply forcing your list to be redrawn in your loop with e.g. using RedrawWindow, but that would be an ugly solution.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <

GeneralRe: facing problem on Listing files in List box Control Pin
m_mun20-Jan-09 2:02
m_mun20-Jan-09 2:02 
GeneralRe: facing problem on Listing files in List box Control Pin
krmed20-Jan-09 2:03
krmed20-Jan-09 2:03 
QuestionProblem in ShellExecuteEx. Pin
SNI20-Jan-09 1:01
SNI20-Jan-09 1:01 
AnswerRe: Problem in ShellExecuteEx. Pin
Code-o-mat20-Jan-09 1:08
Code-o-mat20-Jan-09 1:08 
GeneralRe: Problem in ShellExecuteEx. Pin
SNI20-Jan-09 1:26
SNI20-Jan-09 1:26 
GeneralRe: Problem in ShellExecuteEx. Pin
Code-o-mat20-Jan-09 2:02
Code-o-mat20-Jan-09 2:02 
QuestionCustom cursor with Win32 Pin
Steve_20-Jan-09 0:59
Steve_20-Jan-09 0:59 
AnswerRe: Custom cursor with Win32 Pin
Code-o-mat20-Jan-09 1:11
Code-o-mat20-Jan-09 1:11 
AnswerRe: Custom cursor with Win32 Pin
Nibu babu thomas20-Jan-09 1:14
Nibu babu thomas20-Jan-09 1:14 
GeneralRe: Custom cursor with Win32 Pin
Steve_20-Jan-09 1:31
Steve_20-Jan-09 1:31 
GeneralRe: Custom cursor with Win32 Pin
Nibu babu thomas20-Jan-09 1:53
Nibu babu thomas20-Jan-09 1:53 
QuestionMaximum value of MTU size Pin
Vishal Kumar Soni19-Jan-09 23:46
Vishal Kumar Soni19-Jan-09 23:46 
QuestionRe: Maximum value of MTU size Pin
Maximilien20-Jan-09 0:46
Maximilien20-Jan-09 0:46 
AnswerRe: Maximum value of MTU size Pin
Vishal Kumar Soni20-Jan-09 0:50
Vishal Kumar Soni20-Jan-09 0:50 
GeneralRe: Maximum value of MTU size Pin
Code-o-mat20-Jan-09 2:15
Code-o-mat20-Jan-09 2:15 
GeneralRe: Maximum value of MTU size Pin
Vishal Kumar Soni20-Jan-09 2:41
Vishal Kumar Soni20-Jan-09 2:41 
GeneralRe: Maximum value of MTU size Pin
CPallini20-Jan-09 3:05
mveCPallini20-Jan-09 3: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.